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.
精彩评论