Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Bug in TinyMCE2


Go to End
Reply


9 Posts   4602 Views

Avatar
Markus

Google Summer of Code Hacker, 152 Posts

14 August 2007 at 4:01am

Edited: 14/08/2007 4:02am

Since I have to wait for Haydens code/instructions to continue my work I looked at this bug and I could isolate it.

It resides in the function isDirty (line 2747 in tiny_mce_src.js). The reason is that TinyMCE doesn't clean up the generated HTML code before comparing it with the initial content.
To fix a IE-DOM bug (see [url=http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/fix_content_duplication]here[/url] TinyMCE adds to all tags an attribute mce_serialized with an serialization ID.

An easy workaround for this bug is to change line 162 in tiny_mce_src.js to

   this._def("fix_content_duplication", false);

It seems to work fine for me in IE7 but this potentially disables a bugfix for older(?) IE versions.. could someone please test this out?

Nevertheless I'll try to find another solution for this bug.

Go to Top