SyliusCmsPlugin icon indicating copy to clipboard operation
SyliusCmsPlugin copied to clipboard

Duplicated CKEditor toolbar

Open olimination opened this issue 2 years ago • 2 comments

To Reproduce:

  • Install BitBag SyliusCmsPlugin according the official installation guide using CKEditor v4.22.1
  • Open Sylius Admin and navigate for example to the "Blocks" section and create a new block
  • You will see the CKEditor is loaded with duplicated toolbars

BitBag SyliusCmsPlugin: 4.0.6 FOSCKEditorBundle: 2.4.0 CKEditor: 4.22.1

Screenshot:

image

Workaround solution If I add the following config in some config file like config/packages/fos_ckeditor.yaml:

fos_ck_editor:
  ...
  configs:
    bitbag_sylius_cms_plugin:
      toolbar: false

it works.

Does anybody face the same issue? Did the FOSCKEditorBundle change something regarding config handling? It seems so that the default_config is loaded but also some more CKEditor config.

Thanks for your feedback.

olimination avatar Aug 30 '23 19:08 olimination

@olimination I can confirm that the same thing is happening to me and your solution resolves the issue.

Gorkyman avatar Sep 15 '23 19:09 Gorkyman