Copied to clipboard

Flag this post as spam?

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


  • Magnus Olsson 25 posts 71 karma points
    Feb 14, 2014 @ 15:55
    Magnus Olsson
    0

    TinyMCE, data-attributes stripped from img tags

    I have a problem with TinyMCE stripping data-attributes from img-tags using Umbraco 6.1.6. I have

     <TidyEditorContent>false</TidyEditorContent> 

    in umbracoSettings.config and

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

    in the tinyMceConfig.config.

    Testing with div, span and H-tags with data-attributes and they are left untouched but the img tags get stripped. Any help on this issue would be great. Thanks.

    //Magnus

Please Sign in or register to post replies

Write your reply to:

Draft