views:

24

answers:

1

Every time I enter < or > in a CKEditor window, save, and then come back to it, CKEditor replaces them with whatever was typed within the brackets and the accompanying end tag. For example: if I type <configuration details>, CKEditor will assume it is an HTML tag and put <configuration details></configuration details> in the html source, thus stripping it out altogether from the text. Argh!

Any ideas?

A: 

Try surrounding with <![CDATA[ ]]> as in:

<![CDATA[
    <stuff I do not want interpreted>
]]>
Wade
2 problems with this:1) Users on my Web site who use the editor won't know to do this. They'll blindly type `<stuff>` and expect it to look like `<stuff>`.2) I switched to Source view and surrounded the tag, as you suggested. It came back with replacing the whole thing with `<stuff do="" i="" interpreted="" not="" want=""> ]]></stuff>`. Eeew.
My misunderstanding, I though you were the one trying to use the editor to create content, not your users. Hope you do get an answer.
Wade