Copied to clipboard

Flag this post as spam?

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


  • Arjan H. 226 posts 463 karma points c-trib
    Nov 02, 2012 @ 14:56
    Arjan H.
    0

    TinyMCE treating P-tags as TABLE in IE9!?

    Our client complained about the TinyMCE editor. I didn't experience any issues because I was using Chrome and/or Firefox. But in IE9 there's some very weird going on. It looks as if the editor is treating P-tags as if they were a TABLE:

    Also, the editor nests P-tags inside of LI's which causes the above result. This makes it nearly impossible to use the editor in IE9. The first UL was edited in Firefox, the P and UL below that were edited in IE9. Here's the generated HTML for the content above:

    <ul>
      <li>Dit is een test</li>
      <li>dsjgf;odihjs</li>
      <li>dsaiofj;adsf</li>
    </ul>
    <p>sdafasdf</p>
    <ul>
      <li><p>sdkljfhdslf</p></li>
      <li><p>s;aldfhjadslf;</p></li>
    </ul>

    Has anyone else ever seen this issue?

  • Arjan H. 226 posts 463 karma points c-trib
    Nov 02, 2012 @ 15:08
    Arjan H.
    0

    Ok, found the culprit.

    I set "overflow:hidden;" for the P-tag in my editor stylesheet.
    For some reason the TinyMCE doesn't like this very much.

Please Sign in or register to post replies

Write your reply to:

Draft