Browse Source

restored ckeditor5

bach 1 year ago
parent
commit
2eecc15c17
2 changed files with 25 additions and 0 deletions
  1. 24 0
      config/install/editor.editor.wysiwyg.yml
  2. 1 0
      figli_starter_kit.info.yml

+ 24 - 0
config/install/editor.editor.wysiwyg.yml

@@ -0,0 +1,24 @@
+langcode: fr
+status: true
+dependencies:
+  config:
+    - filter.format.wysiwyg
+  module:
+    - ckeditor5
+format: wysiwyg
+editor: ckeditor5
+settings:
+  toolbar:
+    items:
+      - heading
+      - bold
+      - italic
+  plugins:
+    ckeditor5_heading:
+      enabled_headings:
+        - heading2
+        - heading3
+        - heading4
+        - heading5
+        - heading6
+image_upload: {  }

+ 1 - 0
figli_starter_kit.info.yml

@@ -8,6 +8,7 @@ dependencies:
   - 'ban'
   - 'block'
   - 'breakpoint'
+  - 'ckeditor5'
   - 'config'
   - 'contact'
   - 'contextual'