tinymce extension relative urls


Yesterday I tried to setup this extension to produce relative urls for all paths, but I did not succeed.

For all links and pictures I want to tinymce to generate relative links. For example:

I want to have <img src="/images/1.jpg" /> but tinymce always generate <img src="http://mydomain.com/images/1.jpg" />

What is the right way for this to be achieved?

Maybe I should use: ‘remove_script_host’ => true, ‘relative_urls’ => false,