prevent tinymce / JCE editor from stripping code 3 Years, 1 Month ago
Karma: 0
Everytime i use a wysiwyg it alters the code in between the geshi tags, so what this means is the first time you save the article will look corrct and then the second time you edit, it further changes the code. By this time it is no longer what you type in.
please can you tell me if there is a way to tell JCE / editor or tinymce (same thing i think) to ignore code in between your geshibot tags.
just as a thought, you could use the < ! - -- > tags. this seems to stop stripping in tinymce. but what you could do then is have the javascript remove these on the fly.
Re:prevent tinymce / JCE editor from stripping code 3 Years, 1 Month ago
Karma: 10
QUOTE: just as a thought, you could use the < ! - -- > tags. this seems to stop stripping in tinymce. but what you could do then is have the javascript remove these on the fly.
Re:prevent tinymce / JCE editor from stripping code 3 Years, 1 Month ago
Karma: 10
You'd have to get in touch with the creators of the editor for that.
However, geshibot can be coded to automatically add stuff around the { geshibot } tags. Problem is that it would have to be able to do that before the editor does its stuff, which I'm not sure is possible or not.