Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 932 Bytes

File metadata and controls

18 lines (13 loc) · 932 Bytes

document_base_url

This option specifies the base URL for all relative URLs in the document. The default value is the directory of the current document. If a value is provided, it must specify a directory (not a document) and must end with a /.

This option also interacts with the relative_urls, remove_script_host, and convert_urls options to determine whether {productname} returns relative or absolute URLs. The URL handling options page contains a thorough description and examples of working with relative and absolute URLs.

Type: String

Example: using document_base_url

tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  document_base_url: 'http://www.example.com/path1/'
});