Hi Guys,
This issue affects anyone trying to make PHP Smarty templates editable. We have added the following code to the config.js file:
config.protectedSource.push( /\{[\s\S]*?\}/g );
This works great but it doesn't render in WYSIWYG mode only source mode. I've soured the documentation and can't see a way to make it render. I appreciate that protectedSource is actually meant to stop it rendering and ignore the code all together. I just wonder if anyone can think of a way around this. We want to be able to cut and past Smarty macros within HTML source view.
Huge thanks for any advice you can give us.
Friendly *bump*. :)
Friendly *bump*. :)
No one?
No one?
Use "Show Protected" plugin
http://ckeditor.com/addon/showprotected, it works for me.