I am trying to edit an html doc in the CKEditor (ver 3.3.1). My html doc contains both mark-up and PHP.
I first tried the following:
I then tried:
Both render the html tags in the editor, but neither provide me with the PHP syntax in the editor. The include() actually parsed the PHP which, in hindsight, makes sense -- although that is not what I am trying to achieve.
Is there a config setting I need to set? Or is there a different way to get the raw html/php file into the editor? I searched the community and can't locate an answer.
I first tried the following:
<textarea name="editor1"><?php include('my_doc.html'); ?></textarea>I then tried:
<textarea name="editor1"><?php file_get_contents('my_doc.html')?></textarea>Both render the html tags in the editor, but neither provide me with the PHP syntax in the editor. The include() actually parsed the PHP which, in hindsight, makes sense -- although that is not what I am trying to achieve.
Is there a config setting I need to set? Or is there a different way to get the raw html/php file into the editor? I searched the community and can't locate an answer.

Re: Disable PHP Parsing
Do you know if this tool is capable of that or is it merely a simple text editor? Has anyone tried any other tools out there that can handle this feature (like tiny mce, etc.)
Thanks for helping out.
Re: Disable PHP Parsing
Re: Disable PHP Parsing
config.protectedSource.push( /<\?php[\s\S]*?\/\?>/gi ) ; // <php> tags.
Note that I just made this up, and I'm pretty sure some of the escapes on the regex are wrong. But basically this array will not process anything inside the matching regex, so everything inside your php tags would only exist in source view.