tinymce广告图片无法选择文件夹

时间:2012-09-21 15:19:12

标签: jquery tinymce

当我点击插入/编辑图像上的插入图像时,我没有“从文件夹中选择”按钮。这是我的代码:

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

        // General options
        language : "he",
        mode: "textareas",
        directionality : "rtl",
        theme : "advanced",
        plugins : "autolink,lists,table,advimage,advhr,inlinepopups,insertdatetime,preview,searchreplace,contextmenu,paste,directionality,noneditable,visualchars,xhtmlxtras,advlist,advimage,",

        // Theme options
        theme_advanced_buttons1 : "undo,redo,|,preview,|,search,replace,|,forecolor,backcolor,fontsizeselect,fontselect,|,strikethrough,underline,italic,bold",
        theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,bullist,numlist,|,cleanup,code,|,removeformat,sub,sup,styleprops,|,cite,link,unlink,image,charmap,iespell,hr,insertdate,inserttime,",
        theme_advanced_buttons3 : "tablecontrols,|,ltr,rtl,|,outdent,indent,|,justifyleft,justifycenter,justifyright,justifyfull,",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "right",
        theme_advanced_statusbar_location : "bottom",
    });

我需要做什么?

2 个答案:

答案 0 :(得分:1)

您必须集成imagemanager和/或filemanager插件。

请参阅the tinymce forum中的这个有启发性的话题。

答案 1 :(得分:0)

添加此

theme_advanced_buttons4 : "insertfile,insertimage",