Copied to clipboard

Flag this post as spam?

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


  • Mark 8 posts 110 karma points
    Sep 20, 2016 @ 09:17
    Mark
    0

    I know this is probably something really simple that I'm missing, but I'm just trying to get RTE to allow me to add <meta> content into it (for itemprop data etc).

    What i've done so far is add "meta[*]" into the <validElements> tag in tinyMCEConfig.config. This didn't work. I also tried naming the tags rather than wildcarding, this didn't work either.

    I have added the <TidyEditorContent>False</TidyEditorContent> into the umbracoSettings.config file (though I understand this is the default setting anyway?) but that doesn't appear to have helped.

    I then added a <config key="extended_valid_elements">meta[*]</config> to tinyMCEConfig.config. This didn't work and had the added bonus of stripping out anything that had been added to any <div> tag (such as id, class etc).

    If I add <config key="extended_valid_elements">meta[*],span[*],div[*]</config> then it strips everything out bar the <span> tags, but does allow <span itemprop> etc

    Currently driving me crazy trying to figure out what's going on!

Please Sign in or register to post replies

Write your reply to:

Draft