I'm using CKEditor, and all works well when getting data from it and setting data to it except form some of the HTML tags. When a comment is saved from the editor all the HTML for the styling of the comment comes through and is saved to the database intact. when I then load that same comment back into the editor, some of the style does not load, although it is in the HTML being set to the editor.
Example: From the editor on getdata() for the save
<p>This is a test with the new editor <strong><span style="background-color:#FF0000">This is a test edit with teh new editor</span></strong><br />
That's all good, now when I load that same data back in to the editor, it shows the effect of the tags but not the background color tags. With no editing at all, if I do a getdata() at this point I now get:
<p>This is a test with the new editor <strong>This is a test edit with teh new editor</strong><br />
as you can see the color has been removed completely! It seems to be stripped out on the setdata(). Is this a bug or am I missing something, I obviously can't be the 1st person to try to load styled text into the editor that the editor created.
EDIT: Data coming from server to load into the editor:
<p>This is a test with the new editor <strong><span style="background-color:#FF0000">This is a test edit with teh new editor</span></strong><br />