tags:

views:

33

answers:

1

Our site is using tags like <# TAGNAME #> but CKEditor converts < and > to &lt and &gt which breaks these tags for use in our software.

I've discovered this option: config.protectedSource.push( /<#[\s\S]*##>/g ); which seems to stop the conversion if the data is saved from Source mode, but in WYSIWYG mode I can't find a way to stop the conversion. I've tried many options in their API but none of them seem to have helped, how can I fix this problem?

A: 

If you type < or > in any WYSIWYG editor, they will be converted to their HTML entities in source mode.

AlfonsoML
I've stopped the HTML entities from converting in source mode, I want it so when the data is saved outside of source mode it won't convert the entities. We used to use EDITLET and it did not convert went posted in WYSIWYG mode.
Sam