Whenever a user adds a link to the same site that link will be made into a relative one. http://www.whatever.com/mylink will be /mylink.
To disable that feature I think one has to add a setting for tinyMCE init.
"Go into your /modules directory and access the /TinyMCE directory where you have installed the TinyMCE module. There edit the file tinyconfig.php, search for the line that reads relative_urls : "true" (line 101 in version 2.2.5 of the TinyMCE basic module) and set it to “false”. That should be it."
I saw the core team had added a nice feature in /settings/tinyMceSettings.config so that one can add a custom config key, but this does not seem to do the trick:
I also cannot get rid of this "feature", I added converturls -> false, I added relativeurls -> false, I modified the web.config to force a restart, nothing ...
Add tinyMCE configuration (disable relative urls)
Hi!
Whenever a user adds a link to the same site that link will be made into a relative one. http://www.whatever.com/mylink will be /mylink.
To disable that feature I think one has to add a setting for tinyMCE init.
"Go into your /modules directory and access the /TinyMCE directory where you have installed the TinyMCE module. There edit the file tinyconfig.php, search for the line that reads relative_urls : "true" (line 101 in version 2.2.5 of the TinyMCE basic module) and set it to “false”. That should be it."
http://www.google.se/search?rlz=1C1GGLS_svSE366SE367&sourceid=chrome&ie=UTF-8&q=tinymce+strip+domain+name
I saw the core team had added a nice feature in /settings/tinyMceSettings.config so that one can add a custom config key, but this does not seem to do the trick:
<customConfig> <!-- <config key="myKey">mySetting</config>--> <config key="relative_urls">false</config> </customConfig>
(I changed it and restarted the app-pool, but tinyMce still change the urls)
Regards
Jonas Eriksson
http://wiki.moxiecode.com/index.php/TinyMCE:FAQ (the ref for TinyMce config)
Hi Jonas et all
Adding convert_urls = false to the customConfig section of tinyMceConfig.config fixed this issue for me.
<customConfig>
<config key="convert_urls">false</config>
Regards
Craig
That seems to be broken in 4.7, nothing and I mean nothing will stop that damn editor from messing with my Urls.
I can confirm that it worked for me when having trouble with using '../whatever' relative links.
<config key="convert_urls">false</config>
#h5yr
@Anders Brohall
What version are you using?
I found this bug: http://issues.umbraco.org/issue/U4-374
Exactly the same issue I'm seeing ... running 4.9.1
mvh
Hi,
I also cannot get rid of this "feature", I added converturls -> false, I added relativeurls -> false, I modified the web.config to force a restart, nothing ...
I tested this with ver.6.0.0 and 6.1.3.
is working on a reply...