How to make CKEDITOR ignore some characters? For example, in the text I have {VARNAME}, but the editor deletes it, inserting instead

<p>&nbsp;</p> 


    1 answer 1

    According to the htmlEncodeOutput documentation:

    HTML editor when it comes to the editor.

    config.htmlEncodeOutput = true;

    Maybe not a ride, unsubscribe.

    • not that. = / This is an escap of all entities, as far as I understood from the description. And it is necessary that he retains only certain constructions, and without encoding in the entity. That is, playtext - knes
    • You know, I now downloaded the latest version of the editor, tried to add text with your constructions of the form {...} and you know: they don’t delete them and turn into mnemonics. Here is an example: pastebin.com/wEkC773N you can download the editor itself on the official website. - lampa