From d818b6782fd88f2c7d7ab8d78870bf1169eff3ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?benjamin=20melan=C3=A7on?= <ben@agaric.coop>
Date: Sat, 22 Feb 2025 01:13:15 -0500
Subject: [PATCH] Enable and configure CKEditor iFrame #116

---
 config/sync/core.extension.yml          | 1 +
 config/sync/editor.editor.full_html.yml | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml
index 348a41a..a3d5d66 100644
--- a/config/sync/core.extension.yml
+++ b/config/sync/core.extension.yml
@@ -17,6 +17,7 @@ module:
   charts_chartjs: 0
   checklistapi: 0
   ckeditor5: 0
+  ckeditor_iframe: 0
   classitup: 0
   comment: 0
   components: 0
diff --git a/config/sync/editor.editor.full_html.yml b/config/sync/editor.editor.full_html.yml
index f78098b..28c7e34 100644
--- a/config/sync/editor.editor.full_html.yml
+++ b/config/sync/editor.editor.full_html.yml
@@ -26,6 +26,7 @@ settings:
       - blockQuote
       - drupalMedia
       - insertTable
+      - iframeEmbed
       - horizontalLine
       - showBlocks
       - sourceEditing
@@ -49,6 +50,14 @@ settings:
       multiBlock: true
     ckeditor5_sourceEditing:
       allowed_tags: {  }
+    ckeditor_iframe_embed_iframeembed:
+      enabled_optional_attributes:
+        - height
+        - width
+        - name
+        - tabindex
+        - title
+        - allowfullscreen
     editor_advanced_link_link:
       enabled_attributes: {  }
     linkit_extension: