I need to give my client the ability to change his pages through tinyMCE.
Trouble is these pages contain some php script and tineyMCE strips the php script : infact it adds some HTML comment to disable it.
How can I pass through ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.