Copied to clipboard

Flag this post as spam?

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


  • Fraser Skea 10 posts 30 karma points
    Jun 20, 2013 @ 12:56
    Fraser Skea
    0

    Tinymce strips 'src' attribute from images on upgrade to 4.11.8

    Hi,

    I recently upgraded a site from version from version 4.11.5 to 4.11.8. I am inserting images in the form below into the rich text editor.  These were displaying correctly in version 4.11.5 but on upgrading these are now stripped down to <img /> on saving.

    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEU.." alt="data plot"/>


    I have the following settings in my config files:

    umbracoSettings.config

    <allowedAttributes>src,alt,border,class,style,align,id,name,onclick,usemap</allowedAttributes>

    <TidyEditorContent>False</TidyEditorContent>

     

    tinyMceConfig.config

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

     

    Does anyone have any ideas what I can do to prevent this stripping of attributes?

     

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jun 20, 2013 @ 20:01
    Jan Skovgaard
    0

    Hi Fraser

    Have you checked the section in tinyMceConfig.config where you can see if the src attribute on the <img> tag is allowed? I know there was a bug with this in a previous release but I think that was introdced before 4.11 though.

    Perhaps it's easier to grab a copy of a fresh tinyMceConfig.config file and use a tool like winmerge to compare the two files to see if something is missing.

    Hope this helps.

    /Jan

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jul 02, 2013 @ 10:20
    Martin Griffiths
    0

    I had the same problem going from 4.8 to 4.11.9 turned out to be a tinyMceConfig issue.

Please Sign in or register to post replies

Write your reply to:

Draft