我使用tinymce插件在textarea中格式化文本。我也在使用圖像插入/編輯圖像按鈕(用於內嵌圖像),但瀏覽文件按鈕似乎沒有出現在點擊它後打開的對話框中,所以我現在無法選擇文件。tinymce - 瀏覽圖像按鈕不可見插入/編輯彈出
下面是插件的init和我希望的一些圖片,看看
tinymce.init({
selector: "textarea",
theme: "modern",
plugins: [
"advlist autolink lists link image charmap print preview hr anchor pagebreak",
"searchreplace wordcount visualblocks visualchars code fullscreen",
"insertdatetime media nonbreaking save table contextmenu directionality",
"emoticons template paste textcolor moxiemanager"
],
toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link code image | forecolor backcolor emoticons",
image_advtab: true,
statusbar : false,
menubar : false,
force_p_newlines : false,
force_br_newlines : true,
convert_newlines_to_brs : true,
forced_root_block : false,
paste_text_linebreaktype : "br",
width : 730,
height : 300,
templates: [
{title: 'Test template 1', content: 'Test 1'},
{title: 'Test template 2', content: 'Test 2'}
]
});
你filebrowser? – Bora
什麼是文件瀏覽器 – Archer
關於文件瀏覽器[Doc1](http://www.tinymce.com/wiki.php/TinyMCE3x:How-to_implement_a_custom_file_browser)[Doc2](http://www.tinymce.com/wiki.php/Configuration3x:file_browser_callback) – Bora