Tinymce editor plugin not referencing core tinymce files correctly
Tinymce editor plugin not referencing core tinymce files correctly
I am including the editor.tinymce.js
under the same 'parent' folder as the other editor and datatables files. But when I try to open the editor modal where the tinymce field type is used, I see that core tinymce files are being referenced relative to the editor files.
Failed to load: http://andrew.cbtat.com/plugins/editor-tinymce/themes/modern/theme.js
your plugin file for tinymce is inluded here: /plugins/editor-tinymce/editor.tinymce.js
but my core tinymce files are here: /bower_components/tinymce/...
My problem is, when it is looking for themes or skins, etc, it is referencing them relative to your plugin file? Any ides?
This question has an accepted answers - jump to answer
Answers
I would have thought it would resolve them relative to the load where it is loaded from. My local example loads TinyMCE from
//tinymce.cachefly.net/4.0/tinymce.min.js
for example and the theme it loaded from that CDN.Allan