Copied to clipboard

Flag this post as spam?

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


  • Oliiii 3 posts 23 karma points
    Feb 23, 2012 @ 12:38
    Oliiii
    0

    Umbraco/TinyMCE deleting <span> tags

    I'm trying to insert some HTML into the tinyMCE editor that contains <span> tags, but they keep getting deleted.

    I've tried...

    Setting <TidyEditorContent>False</TidyEditorContent> in umbracoSettings.config

    ...and also...

    Setting <validElements><![CDATA[*[*]]]></validElements> in tinyMceConfig.config

    ...but none of this has had any effect. Is there any way to get Umbraco to keep my span tags, as they're vital for the page layout.

     

    Thanks for any suggestions!

  • MartinB 411 posts 512 karma points
    Feb 23, 2012 @ 12:44
    MartinB
    0

    Did you 'touch' the webconfig after making the changes?

     

  • kristian schneider 187 posts 327 karma points
    Feb 23, 2012 @ 12:44
    kristian schneider
    0

    Have you restarted the app pool by touching the web.config?

  • Oliiii 3 posts 23 karma points
    Feb 23, 2012 @ 12:47
    Oliiii
    0

    Yep!

  • MartinB 411 posts 512 karma points
    Feb 23, 2012 @ 12:57
    MartinB
    0

    Just did it on the installation i'm working on atm, and after loggin out and in again, i can add all the span tags i want in the tinyEditor.

    Sure everything is inserted correctly, without closing tag errors etc?

     

  • 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