TinyMCE Removes site base url

WEBProject picture WEBProject · Jul 29, 2010 · Viewed 7.9k times · Source

im using TinyMCE Wysiwyg editor, and when i enter a link, or an image from the same website, it removes the base url

for example, if i enter: http://www.domain.com/somelink.php - i'll get - somelink.php

any ideas how to solve it?

thanks!

Answer

Epharion picture Epharion · Aug 3, 2010

Add this few lines in your tinyMCE.init function :

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