Aside from the fact that you can't put SCRIPT or STYLE tags in the editor when XHTML mode is enabled, simple HTML can break it completely.
For example, take this content:
http://www.giftplanning.duke.edu/custom/breaks_fck.html
Take the html source, which btw validates perfectly when you add the html, head, and body tags and the doctype....
Anyway, take the source, and put it in the demo editor on fckeditor.net
Switch to source view and back a couple times and note the javascript errors.
Use IE to do this.
This same code works fine when XHTML mode is disabled.
Mon, 12/20/2004 - 05:53
#1
RE: XHTML mode easy to break
Hi rick..
https://sourceforge.net/tracker/index.p ... tid=543653
Could this be related ?
FckTeam did produce a fix for this bug, which doesnt seem to work on my computer however.
Maybe you can try the new .js file and report here if the bug persists.
(and yes... disabling xhtml in source code stops the javascript errors)