When the image icon is clicked and the "Image" popup window starts, JS works, but CSS ( dialog.css) does not load, and exists 404due to the incorrect URL used by TinyMCE JS.
I download tinyMCE with an extended theme from a path:
"/local/scripts/admin/tiny_mce/tiny_mce.js"
The editor works fine, but when I try to load a pop-up image, the dialog does not load, and Firebug reports 404.
The popup code attempts to load dialog.css relative to the page on which tinyMCE is loaded (in this case "/ school"), so the final URL caused by the popup image code that returns 404is:
https://[domain name]/schools/themes/advanced/skins/default/dialog.css
instead
https://[domain name]/local/scripts/admin/tiny_mce/themes/advanced/skins/default/dialog.css
I do init()with tinyMCE.baseURL='/local/scripts/admin/tiny_mce';and tried permutations, including the fully qualified host name and path, trailing slashes, etc., but did not succeed. Also tried some of the configuration properties document_base_urland relative_urls.
Any ideas why dialog.cssnot loading?
Thank you very much for your help.
TinyMCE 3.4.9(non-jQuery version)
source
share