Copied to clipboard

Flag this post as spam?

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

  • Manish 3 posts 23 karma points
    Apr 23, 2012 @ 09:32

    stop richtexteditor to remove anchor tag


    i am new to umbraco.

    i would  write code like

    <a href="#">
            <div class="control_third">
                    <div class="text">
                                  ISO 14001 and
                                   <br />
                                   9001 Assessment
                                   <br />
                                   &amp; Compliance
                                   <br />




  • Dan 1272 posts 3863 karma points c-trib
    Apr 23, 2012 @ 20:19

    Hi Manish,

    The problem you're going to face with this is that your syntax isn't valid - you're trying to nest block level elements (divs and paragraphs) inside inline elements, which isn't good HTML.

    The WYSIWYG editor tries (as best it can) to ensure that the code it produces is valid, so doing something like the above will cause it to strip out tags in an effort to make your HTML conform to standards.

    There are ways to make TinyMCE (the system behind the WYSIWYG editor) less strict e.g. see but you're really best trying to tackle this properly and re-format your HTML.

    Hope this helps.

  • Ed Salwin 8 posts 72 karma points
    Dec 13, 2016 @ 17:38
    Ed Salwin

    Add the following line to tinyMceConfig.config in the <customConfig> section:

    <config key="valid_children">+a[div|p]</config>

    More information:

Please Sign in or register to post replies

Write your reply to: