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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Bug in TinyMCE2

Go to End

9 Posts   5030 Views


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 here 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