开发者

tinymce: how to edit php pages without stripping php?

I need to give my client the ability to change his pages through tinyMCE. Trouble is these pages contain s开发者_开发百科ome php script and tineyMCE strips the php script : infact it adds some HTML comment to disable it.

How can I pass through ?


TinyMCE is not a text editor: it is more akin to a word processor. You could (perhaps) technically use the "HTML source editor" (the button labeled HTML in this example) but I don't think that would be a pleasant experience and it might not even work at all.

If you're looking for a code editor, may I suggest Ace? It is a code editor and seems suited to what your needs are.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜