Symfony2 + tinyMCE Bundle - JustBoil.me没有显示

时间:2014-11-19 20:21:46

标签: symfony tinymce justboil.me

我安装了TinyMCE Bundle的Symfony2项目。当我尝试安装justboil.me图片上传器(http://justboil.me/)时插件无法在TinyMCE中显示,我没有收到任何错误,其他一切都正常。这是我的配置

stfalcon_tinymce:
    tinymce_jquery: false # set to TRUE after fixing the issue with loading queue
    language: %locale%
    external_plugins:
            justboil:
                url: "asset[/js/tinymce-plugins/justboil/editor_plugin.js]"
    theme:
        simple: 
            plugins:
                - "justboil 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"
            toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image justboil"
            toolbar2: "print preview media | forecolor backcolor emoticons | stfalcon | example"
            image_advtab: true
        advanced:
            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"
            toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"
            toolbar2: "print preview media | forecolor backcolor emoticons | stfalcon | example"
            image_advtab: true
        bbcode:
            toolbar1: "bold,italic,underline,undo,redo,link,unlink,removeformat,cleanup,code,preview"

我做错了什么?这是我第一次使用TinyMCE Bundle和justboil.me。

1 个答案:

答案 0 :(得分:2)

您需要将justboil.me插件复制到tinymce plugins文件夹。
重命名 justboil文件夹为jbimages

这里是如何在工具栏中包含插件和配置按钮的示例 plugins : "preview,jbimages", toolbar: "jbimages | bold italic underline | fontsizeselect",

希望这可以帮助你