I need to add
When I do add as
What does the in-page CKEDITOR.replace command look like with the config.protectedSource.push) ?
Thanks.
config.protectedSource.push( /<\?[\s\S]*?\?>/g ); // PHP Codeto my
CKEDITOR.replace('contents');script.
When I do add as
CKEDITOR.replace('contents',{ protectedSource : '/<\?[\s\S]*?\?>/g' });it does not work.
What does the in-page CKEDITOR.replace command look like with the config.protectedSource.push) ?
Thanks.
Re: How to add a config option in-page
How do I take this
and implement it into my CKEDITOR.replace command?
Re: How to add a config option in-page
Here is a fully working demo :
http://heydojo.co.cc/ckeditor-codemirror/index.html
Ignore the bulk of the demo, it's mainly just the stuff relating to conf.js you want to look at.
Thanks,
Zanpakutō