Tinymce错误无法调用undeI的uniqueId

时间:2012-05-28 09:16:02

标签: javascript tinymce

我正在使用jquery版本的tinymce 我之前使用它并且工作正常,但现在它不再起作用了

我的代码是:

$('textarea.tinymce').tinymce({
        // Location of TinyMCE script
        script_url : '../js/tiny_mce/tiny_mce.js',

        // General options
        theme : "advanced",
        plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist",

        // Theme options
        theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,fontselect,fontsizeselect,forecolor,|,bullist,numlist,|,hr,|,link,unlink,image,|,code",
        theme_advanced_buttons2 : "",
        theme_advanced_buttons3 : "",
        theme_advanced_buttons4 : "",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_resizing : false,


        // Drop lists for link/image/media/template dialogs
        template_external_list_url : "lists/template_list.js",
        external_link_list_url : "lists/link_list.js",
        external_image_list_url : "lists/image_list.js",
        media_external_list_url : "lists/media_list.js",

    });

并显示错误:


未捕获的TypeError:无法调用未定义的方法'uniqueId'

任何想法,如何解决?

0 个答案:

没有答案