2

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

    $('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",
    });

我需要做什么?

4

2 回答 2

1

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

请参阅tinymce 论坛中的这个启发性主题。

于 2012-09-24T07:08:47.583 回答
0

添加这个

theme_advanced_buttons4 : "insertfile,insertimage",
于 2012-09-21T15:32:23.537 回答