URL conversion

This example shows you how to setup TinyMCE to produce different results for it’s URLs in images and links. You can read more about these config options in the TinyMCE FAQ

cdl_capture_2011-10-04-04_ 000

 

tinyMCE.init({
        mode : "exact",
        elements : 'absurls',
        theme : "advanced",
        plugins : 'advlink,advimage',
        relative_urls : false
});

tinyMCE.init({
mode : "exact",
elements : 'abshosturls',
theme : "advanced",
plugins : 'advlink,advimage',
relative_urls : false,
remove_script_host : false
});

tinyMCE.init({
mode : "exact",
elements : 'relurls',
theme : "advanced",
plugins : 'advlink,advimage',
relative_urls : true // Default value
});

tinyMCE.init({
mode : "exact",
elements : 'relurlstopage',
theme : "advanced",
plugins : 'advlink,advimage',
relative_urls : true, // Default value
document_base_url : 'http://tinymce.moxiecode.com/'
});

tinyMCE.init({
mode : "exact",
elements : 'nourlconvert',
theme : "advanced",
plugins : 'advlink,advimage',
convert_urls : false
});

Leave a comment