CKEditor 配置 "micro" 不存在
The CKEditor config "micro" does not exist
当我 运行 我的项目时,我遇到了这个错误,
我尝试了这些解决方案,但效果不佳,
php bin/console ckeditor:install
我也试过纱线:
$ npm install --save ckeditor4@^4.13.0
AND
$ yarn add ckeditor4@^4.13.0
micro 是一个 ckeditor 工具栏配置,定义了可用的按钮(如粗体、斜体等),更新您的
config/packages/fos_ckeditor.yaml
:
twig:
form_themes:
- '@FOSCKEditor/Form/ckeditor_widget.html.twig'
fos_ck_editor:
default_config: standard
configs:
standard:
toolbar: standard
full:
toolbar: full
micro:
toolbar:
- [Bold, Italic, Underline, Link, Unlink, Source]
bodyClass: 'columns'
contentsCss: null
enterMode: 2 #CKEDITOR.ENTER_BR
shiftEnterMode: 2
coreStyles_bold: { element: 'b', overrides: 'strong' }
height: 90px
removePlugins: elementspath
resize_enabled: false
当我 运行 我的项目时,我遇到了这个错误, 我尝试了这些解决方案,但效果不佳,
php bin/console ckeditor:install
我也试过纱线:
$ npm install --save ckeditor4@^4.13.0 AND $ yarn add ckeditor4@^4.13.0
micro 是一个 ckeditor 工具栏配置,定义了可用的按钮(如粗体、斜体等),更新您的
config/packages/fos_ckeditor.yaml
:
twig:
form_themes:
- '@FOSCKEditor/Form/ckeditor_widget.html.twig'
fos_ck_editor:
default_config: standard
configs:
standard:
toolbar: standard
full:
toolbar: full
micro:
toolbar:
- [Bold, Italic, Underline, Link, Unlink, Source]
bodyClass: 'columns'
contentsCss: null
enterMode: 2 #CKEDITOR.ENTER_BR
shiftEnterMode: 2
coreStyles_bold: { element: 'b', overrides: 'strong' }
height: 90px
removePlugins: elementspath
resize_enabled: false