TinyMce和Responsive Filemanager设置

时间:2014-11-26 09:32:46

标签: javascript tinymce file-management responsive-filemanager

好的,我正在尝试在TinyMce中设置Responsive Filemanager,但我无法让它工作。 我的目录设置是:C:\ wamp \ www \ tinymce \ webbsite

webbsite
-filemanager
--config
---config.php
--plugin.min.js
-js
--tinymce
---plugins
---tinymce.min.jc
-source
-thumbs
-tinymce

javascript脚本:

    tinymce.init({
        selector: "textarea",theme: "modern",width: 680,height: 300,
        plugins: [
             "advlist autolink link image lists charmap print preview hr anchor pagebreak",
             "searchreplace wordcount visualblocks visualchars insertdatetime media nonbreaking",
             "table contextmenu directionality emoticons paste textcolor responsivefilemanager"
        ],
        toolbar1: "undo redo | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | styleselect",
        toolbar2: "| responsivefilemanager | link unlink anchor | image media | forecolor backcolor  | print preview code ",

image_advtab: true,
external_filemanager_path:"C:/wamp/www/tinymce/webbsite/filemanager/",
filemanager_title:"Responsive Penisemanager" ,
external_plugins: { "filemanager" : "C:/wamp/www/tinymce/webbsite/filemanager/plugin.min.js"}
 });

1 个答案:

答案 0 :(得分:0)

试试这个:

tinymce.init({
    selector: "textarea",theme: "modern",width: 680,height: 300,
    plugins: [
         "advlist autolink link image lists charmap print preview hr anchor pagebreak",
         "searchreplace wordcount visualblocks visualchars insertdatetime media nonbreaking",
         "table contextmenu directionality emoticons paste textcolor responsivefilemanager"
    ],
    toolbar1: "undo redo | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | styleselect",
    toolbar2: "| responsivefilemanager | link unlink anchor | image media | forecolor backcolor  | print preview code ",

    image_advtab: true,
    external_filemanager_path:"/filemanager/",
    filemanager_title:"Responsive Penisemanager",
    external_plugins: { "filemanager" : "/filemanager/plugin.min.js"}
});

在您的目录中:

webbsite
-filemanager
--config
---config.php
--plugin.min.js
-js
-source
-thumbs
-tinymce
--plugins
---responsivefilemanager
----plugin.min.js
--tinymce.min.jc