symfony - fosckeditor bundle - 无法配置额外的插件
问题描述
我下载了friendsofsymfony/ckeditor-bundle,添加了 extraPlugins 并且他们的配置没有被应用。我的配置:
# config/packages/fos_ck_editor.yaml
fos_ck_editor:
default_config: my_config
configs:
my_config:
toolbar: [ ['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'Outdent', 'Indent'] ]
extraPlugins: 'wordcount,notification'
wordcount:
showWordCount: false # disable this
showCharCount: true # enable this
plugins:
wordcount:
path: '/bundles/fosckeditor/plugins/wordcount/'
filename: 'plugin.js'
notification:
path: '/bundles/fosckeditor/plugins/notification/'
filename: 'plugin.js'
解决方案
推荐阅读
- svg - svg 2.0 需要哪些 css 函数
- blazor-webassembly - 单击后退按钮后未调用 Javascript
- rust - 类型别名 `Point2` 在 Rust 中是私有的
- angular - 用于角业力测试的自定义 webpack 配置不能解析组件但适用于指令
- c# - 使用反射从类对象中获取属性,其中属性应该是公共的,并且具有 get 或 get 和 set 两者
- apache-kafka - 不能将单个消费者组的超过 3 个 kafka 消费者放入单个进程中
- amazon-web-services - 我的用户数据脚本没有从 ssm 获取参数
- c - 如何为 printf 设置条件以仅从文件中打印特定项目的数据
- c# - 当我尝试创建迁移时缺少 .dll
- c++ - 类初始化没有匹配的构造函数