
當我運行我的專案時,我遇到了這個錯誤,我嘗試了這些解決方案,但效果不佳,
php bin/console ckeditor:install
我也試過紗線:
$ npm install --save ckeditor4@^4.13.0 AND $ yarn add ckeditor4@^4.13.0
uj5u.com熱心網友回復:
micro 是 ckeditor 工具列配置,定義可用的按鈕(如粗體、斜體等),更新您的
配置/包/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
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/444183.html
