Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 23, 2010 @ 02:30
    Tom Fulton
    0

    TinyMCE in Firefox moving closing tags

    Hi All,

    I'm running into a strange TinyMCE issue in Firefox.  When pasting the following HTML and saving the page, the first </strong> is moved next to the second </strong>.

    <p>
    <em style="font-style:normal; font-size:14px;">
    Local: <strong style="color:#990000;">904-645-7880</strong>
    Toll Free: <strong style="color:#990000;">800-339-0846</strong>
    </em>
    </p>

    On save/load, changes to:

    <p>
    <em style="font-style:normal; font-size:14px;">
    Local: <strong style="color: #990000;">904-555-5555
    Toll Free: <strong style="color: #990000;">800-555-5555</strong></strong>
    </em>
    </p>

    This happens in Firefox, works fine in IE8.  In Chrome it actually strips all the ID and Class tags from all the elements, for whatever reason..

    Any thoughts on this?  Not a big deal, we worked around it by adding classes & using the Styles dropdown (probably should have been done from the start) - our designer had just tried pasting this code there from an existing page.  Just curious as to why this might happen so I can be ready for next time!

    Have tried changing the strong validelements entry to #strong, strong, +strong, etc..

    Umbraco 4.0.3 / ASP.NET 3.5 / Firefox 3.6.3, have tried on several Umbraco installs and computers

    Thanks,
    Tom

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies