7940 Posts in 1543 Topics by 946 members
|Go to End|
9 March 2012 at 1:32pm
When using the link editor (ie, the button with the chain link icon) in a SimpleTinyMCEField with the DataObjectManager, I discovered that SimpleTinyMCEField rewrites all root relative links to be page relative to the location of the SimpleTinyMCE source code. For example, if I enter the url /glossary/abscess and click Save, the link is converted to ../../../../../glossary/abscess.
3 August 2012 at 12:22pm
To answer your question, add the following line anywhere in your _config.php;
SimpleTinyMCEField::set_default_extra_options('convert_urls: 0, relative_urls: 0');
|Go to Top|