在symfony3.2中将上载图像插件与ivoryckeditor集成

时间:2018-10-09 14:27:37

标签: ckeditor symfony-3.2

这是我对ckeditor的配置,

ivory_ck_editor:
    input_sync: true
    default_config: base_config
    plugins:
        uploadimage:
            path:     "/bundles/ckeditor/plugins/uploadimage"   # note the path
            filename: "plugin.js"
    configs:
        base_config:
            extraPlugins: 'uploadimage'

            toolbarGroups:
                - { name: 'basicstyles', groups: [ 'basicstyles'] }
                - { name: "paragraph", groups: [ 'align' ] }
                - { name: "styles", groups: ['styles'] }
                - { name: "insert", groups: ['insert'] }     
            removeButtons:'Source,Save,NewPage,Print,Preview,Templates,Cut,Undo,Find'

我有uploadimage插件可以拖放图像,但是我无法集成该插件,需要一些帮助才能在ckeditorbundle中配置此插件。

上传图像插件位置:/ web // bundles / ivoryckeditor / plugins / uploadimage

0 个答案:

没有答案