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.
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.
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?
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
I had the same problem going from 4.8 to 4.11.9 turned out to be a tinyMceConfig issue.
is working on a reply...