Я решил проблему, как написано здесь: http://tinymce.moxiecode.com/forum/viewtopic.php?pid=23065#p23065
Мой скрипт для динамической загрузки tinyMCE через jQuery теперь:
// JS_FOLDER = "http://mydomain.com/js"
function initTinyMCE(JS_FOLDER, selector)
{
var path = JS_FOLDER + '/GlobalUI/tinymce';
if (selector == undefined) selector = 'mceEditor';
var initFunct = function() {
tinyMCE.baseURL = path + '/jscripts/tiny_mce/'; // THE IMPORTANT LINE
tinyMCE.init({
mode: "specific_textareas",
editor_selector: selector,
width : "700px",
theme: "advanced",
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,undo,redo,|,bullist,numlist,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect,forecolor,backcolor",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_buttons4 : "",
theme_advanced_resizing : true,
// Example content CSS (should be your site CSS)
content_css : path + "/css/custom_css.css"
});
}
if(typeof tinyMCE == "undefined") {
$.getScript(path + '/jscripts/tiny_mce/tiny_mce_src.js', function() {
initFunct();
});
} else {
initFunct();
}