选项:remove_script_host

如果打开选项, MCFileManager 返回的URL中的协议和主题部分会被去除。只有当 relative_urls 选项为 false 时才用它。默认为 true。

URL 会以这样的格式返回:"/somedir/somefile.htm" 而不是原始的:"http://www.somesite.com/somedir/somefile.htm"。

remove_script_host 选项的使用示例:

tinyMCE.init({
	...
	remove_script_host : false
});