如何解决此问题无法加载插件:来自url /filemanager/plugin.min.js的filemanager

时间:2017-05-16 03:34:01

标签: javascript php jquery html css

$(document).ready(function(e) {
   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 code"],
      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: "myPHPnotes",
      external_plugins: {
         "filemanager": "/filemanager/plugin.min.js"
      },
      visualblocks_default_state: true,
   });
});

1 个答案:

答案 0 :(得分:0)

external_filemanager_path: "filemanager/",
"filemanager": "filemanager/plugin.min.js"

不加斜杠