Availability: >= 3.0.1

Type: Object Property

Description: Sets the format for URLs


$editor->urlFormat String $format;

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

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

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.

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 /

No URL processing will be performed.