TinyMCE,响应文件管理器不显示?

时间:2015-12-29 17:05:48

标签: laravel tinymce file-manager

我正在学习Laravel。通常我的代码适用于PHP,但它不适用于Laravel。

{{Html::script('assets/js/tinymce/tinymce.min.js')}}
<script type="text/javascript">
    tinymce.init({
        selector: "#tinymce",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:"{{URL::to('/')}}/filemanager/dialog.php",
        filemanager_title:"Responsive Filemanager" ,
        external_plugins: { "filemanager" : "{{URL::to('/')}}/filemanager/plugin.min.js"}
    });
</script>

当我删除插件中的responsivefilemanager插件时,它可以正常工作。我怎样才能解决这个问题? 我解决了这个问题 responsivefilemanager [plugin]添加到tinymce&gt;插件:)我真的很蠢

0 个答案:

没有答案