首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Symfony2 + tinyMCE束- JustBoil.me不显示

Symfony2 + tinyMCE束- JustBoil.me不显示
EN

Stack Overflow用户
提问于 2014-11-19 20:21:45
回答 1查看 1.3K关注 0票数 1

我已经安装了Symfony2项目,安装了TinyMCE包。当我试图安装justboil.me图像上传器(http://justboil.me/)时,插件没有显示在TinyMCE中,我没有发现任何错误,其他的都正常工作。这是我的配置

代码语言:javascript
复制
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。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-02-06 10:48:55

您需要将justboil.me插件复制到tinymce plugins文件夹。

justboil文件夹重命名为jbimages

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

希望这对你有帮助

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27026257

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档