Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Bug in TinyMCE2

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

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

Page: 1 2
Go to End
Author Topic: 4509 Views
  • Markus
    Google Summer of Code Hacker
    152 Posts

    Re: Bug in TinyMCE2 Link to this post

    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.

Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.