Copied to clipboard

Flag this post as spam?

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


  • Scott 69 posts 146 karma points
    Aug 26, 2011 @ 14:42
    Scott
    0

    HTML getting stripped from html editor

    I'm using the HTML button from the tinymce toolbar to add some html tags to a page. The html is not truely valid because I'm using some jquery and I'm surrounding some html formatting tags with an anchor, as such:

    <a href="#" class="jqclass"><h4><strong>my link</strong></h4></a>

    When I press "update" to return to the RTF editor and then click the html button again, my new formatting has been stripped. 

    1. I'm running Umbraco 4.7 (.net 4)

    2. I have tidyeditorcontent set to false in my umbraco config

    3. In my tinymce config I have my valid elements set to 

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

    Is there anything I can do to keep it from validating this html and just have it leave what I want??

  • Sean 64 posts 116 karma points
    Aug 26, 2011 @ 15:20
  • Scott 69 posts 146 karma points
    Aug 26, 2011 @ 17:17
    Scott
    0

    That just seems to mention the same two items I had already changed. Thanks though.

  • Scott 69 posts 146 karma points
    Sep 26, 2011 @ 20:39
    Scott
    0

    Anyone else have any thoughts? I came across this earlier:

    http://our.umbraco.org/forum/using/ui-questions/8114-How-to-insert-raw-html-in-RTE

    And the next to last comment is leaving me with little confidence. Might have to go with some of the other suggestions in that post.

Please Sign in or register to post replies

Write your reply to:

Draft