I've noticed the "protected source" issues with earlier versions of CKEditor 3 seems to have mostly gone away with the release of 3.4, but I still get it in these types of situations:
Original Code:
Saved and reloaded Code:
Do I need to modify the following line in my cke config to fix this:
Was there a config change in 3.4 that I am not seeing that fixes this?
Original Code:
?><form action="[b]<? echo $_SERVER['REQUEST_URI'] ?>[/b]" id="contact_form" method="post" name="contact_form"><?
Saved and reloaded Code:
?><form action="[b]<!--{cke_protected}%3C%3F%20echo%20%24_SERVER%5B'REQUEST_URI'%5D%3B%20%3F%3E-->[/b]" id="contact_form" method="post" name="contact_form"><?
Do I need to modify the following line in my cke config to fix this:
config.protectedSource.push( /<\?[\s\S]*?\?>/g ); // PHP Code
Was there a config change in 3.4 that I am not seeing that fixes this?
Re: small protected source issue in 3.4
This one is really ugly.
Original:
CKEditorified:
Re: protectedSource not fully working in 3.4.1
Try not wrapping your code in short tags. Use :