Symfony 4 - Easyadmin和全套CKEditor

问题描述 投票:0回答:1

我正在尝试从CKEditor 4安装完整的软件包以便与easyadmin一起使用,但即使我手动安装CKEditor,我也会将基本软件包保存在easyadmin上。

Actual CKeditor interface

在我的fos_ckeditor中,我只有:

fos_ck_editor:
 base_path: "ckeditor"
  js_path:   "ckeditor/ckeditor.js"


twig:
 form_themes:
    - '@FOSCKEditor/Form/ckeditor_widget.html.twig'

我在FOSCkeditor的symfony文档中找到了这个。但我没有发现easyadmin和自定义CKEditor版本。

请问有人帮我吗?

非常感谢

symfony symfony4 ckeditor4.x easyadmin symfony-4.2
1个回答
0
投票

在Symfony项目中安装CKEditor后,如果希望拥有完整的编辑器,则必须编辑设置:

配置/包/ fos_ck_editor.yaml

fos_ck_editor:
    configs:
        my_config:
            toolbar: full //other values are 'standard' and 'basic'

您可以在Symfony documentation中找到有关这些设置的更多信息。

© www.soinside.com 2019 - 2024. All rights reserved.