Image with external URL (Google Maps Static API) in RichText Editor
I've got an image from the Google Maps Static API that I would like to insert in the RTE. When I paste the HTML and "update", the image looks fine, but as soon as I save, the src-attribute of the img-element is replaced by "/".
I've looked at the "validElements"-element in the tinyMceConfig.config, but I can't find the reason why the img-element's src-attribute would be invalid.
Image with external URL (Google Maps Static API) in RichText Editor
I've got an image from the Google Maps Static API that I would like to insert in the RTE. When I paste the HTML and "update", the image looks fine, but as soon as I save, the src-attribute of the img-element is replaced by "/".
Specifically, this is what I try to insert:
Which, after I save, is turned into:
I've looked at the "validElements"-element in the tinyMceConfig.config, but I can't find the reason why the img-element's src-attribute would be invalid.
Can anyone shed any light on this behaviour?
I think it's because TinyMCE uses relative URLs by default. You may want to have a look at this: http://www.tinymce.com/wiki.php/TinyMCE_FAQ#Paths.2FURLs_are_incorrect.2C_I_want_absolute.2Frelative_URLs.3F
Have you tried to change the valid elements to this to see if that might work?
Also in umbracoSettings.config you could try this:
Jeroen
is working on a reply...