I'm trying to implant the FCKEditor in a DOJO / AJAX environement. So I'm geting content from a servlet and after this setting it by the oFCKeditor.SetHTML( data, true) (I've also try --> oFCKeditor.EditorDocument.body.innerHTML = data;) and it's telling me (1 time on 2) that my data is dirty even if I didn't change anything. I do call a oFCKeditor.ResetIsDirty(); after I've set my new data.
I don't really know what to do and I didn't even test if I'll really get the good information if my data is really dirty.
What could be the problem and what are my option ?
Thansk in advance
I don't really know what to do and I didn't even test if I'll really get the good information if my data is really dirty.
What could be the problem and what are my option ?
Thansk in advance
RE: Not really dirty (update)
I did call the editor.ResetIsDirty() just ajet the editor.SetHTML(hmlt) instead of registering the event "OnAfterSetHTML" and I use the ResetIsDirty() there, everythings fine except for one thing... it's also call when we switch the source to the WYSIWYG and I dont' know what have been done exactly ! Is there a official solution or I'll have to manage one my self ?
If everybody know a solution it will be helpful
Thanks in advance.
Martin