urlFormat

Availability: >= 3.0.1

Type: Object Property

Description: Sets the format for URLs

Syntax:

$editor->urlFormat String $format;

The property should be set to one of the following values:

absolute
All URLs will be converted to absolute URLs. Choose this option if you are editing email content.

nodomain
This is the default setting. WysiwygPro will remove the domain name from all local URLs so that the content could be moved to a different domain in the future.

relative
All local URLs will be forced relative to the baseURL setting. This option will only function if a valid baseURL has been set. If you have not set a baseURL it will behave the same as nodomain.

Note: for best results the baseURL should always end in a /

preserve
No URL processing will be performed.