TinyMCE:API/tinymce.Editor/baseURI
From Moxiecode Documentation Wiki
[edit]
Property: baseURI
[edit]
Summary
This property is an instance of the tinymce.util.URI class pointing to the location of the tiny_mce.js file.
[edit]
Examples
// Get relative URL from the location of the API
tinyMCE.activeEditor.baseURI.toRelative('/somedir/somefile.htm');
// Get absolute URL from the location of the API
tinyMCE.activeEditor.baseURI.toAbsolute('somefile.htm');
