2012-09-21 49 views
2

當我在插入/編輯圖像上單擊插入圖像時,我沒有「從文件夾中選擇」按鈕。這裏是我的代碼:tinymce ad image無法選擇文件夾

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

我需要做什麼?

回答

1

您必須將的ImageManager和/或文件管理器的插件集成。

請參閱the tinymce forum中的這個啓發性線程。

0

添加此

theme_advanced_buttons4 : "insertfile,insertimage", 
+1

這是文件管理器,我不想購買它 –