TinyMCE rewriting image src urls
TinyMCE will screw up image urls if you’re not careful. There are two init options of interest here:
convert_urls : false, //relative_urls: false,
Setting convert_urls to false will help keep your browser from rewriting URLs automatically (the rewrite comes from the browser, not TinyMCE). However, if relative_urls is set to false, it overrides the behavior of convert_urls.
Personally, where possible I always use relative urls. It makes it possible to transfer websites between servers, especially development websites with a different domain name to the actual site with the correct domain name.
0 comments
Kick things off by filling out the form below.
Leave a Comment