Copied to clipboard

Flag this post as spam?

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


  • Rik Helsen 670 posts 873 karma points
    Dec 09, 2011 @ 09:53
    Rik Helsen
    0

    TinyMCE keeps removing extra breaks and empty spans

    We have a customer who wants to be able to add extra <p> tags to create whitespace in an article...

    Tinymce keeps removing them (when the node is saved, and the node is manually reloaded in the content editor), and directly on the view of the page.

    I've read these:

    but i still can't get it to allow any markup in the richttext editor ?

    I have a Umbraco 4.5.2 install, with the latest tinymce3 from 4.7.1 (as recommented by Tim G. as a test)

    In my UmbracoSettings.config i have:

        <TidyEditorContent>False</TidyEditorContent>

    in my tinymceConfig.config:

      <validElements>
    <![CDATA[*[*]]]>
      </validElements>

    Still when I save the page content, empty P & spans are removed.

    Any idea on what i can do to keep the empty span/p tags in the tinymce editor?

    Thanks!
    Rik

  • Rik Helsen 670 posts 873 karma points
    Dec 12, 2011 @ 10:51
    Rik Helsen
    0

    This is rather emberracing, but i'm going to come clean anyway :) It was caused by a DLL in the bin called TinyMCEoverride, that removes automatically added empty <p> tags before a macro in tinymce...

     

     

  • 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