Get TinyMCE to use the full image URL instead of relative (Umbraco 4.0.3)

I know that this question was asked (and answered) earlier, but none of the proposed solutions worked for me.

I installed the following in tinyMceConfig.config:

<config key="relative_urls">false</config> <config key="convert_urls">false</config> <config key="remove_script_host">false</config> 

And I included the following in my tinyMCE.init script:

 relative_urls : false, remove_script_host : false, convert_urls : false, 

But still, when I try to insert an image, it uses only the relative url, and when I type the full URL, it trims it.

This is for the newsletter, so I need to have absolute links. Any other suggestions, anyone?

I am using Umbraco v4.0.3 and Tiny MCE 3

+4
source share
1 answer

You should also disable remove_script_host . The complete configurations that work for me are as follows:

relative_urls: false,

convert_urls: false,

remove_script_host : false,

+2
source

Source: https://habr.com/ru/post/1437533/


All Articles