2011-08-05, 01:12:22
Don,
I think this is part of the editor configuration
If you use the HTML-Editor (I am sure), you have the chance to define options that the editor will not comment out that code
unfortunately I am just on the hop to travel back to Hamburg, so I can't fiddle out which setting it is
the optionslist is somewhere here: http://docs.cksource.com/ckeditor_api/sy...onfig.html
and in our wiki you find how to configure the editor
here is something:
http://docs.cksource.com/ckeditor_api/sy...ctedSource
when you add this line to a configuration file,
PHP-code will be protected
I think this is part of the editor configuration
If you use the HTML-Editor (I am sure), you have the chance to define options that the editor will not comment out that code
unfortunately I am just on the hop to travel back to Hamburg, so I can't fiddle out which setting it is
the optionslist is somewhere here: http://docs.cksource.com/ckeditor_api/sy...onfig.html
and in our wiki you find how to configure the editor
here is something:
http://docs.cksource.com/ckeditor_api/sy...ctedSource
when you add this line to a configuration file,
Code:
config.protectedSource.push( /<\?[\s\S]*?\?>/g ); // PHP code
PHP-code will be protected
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18