From 68e68dceb173d76a1f23eea2629c3e9cb383e9a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 22 Feb 2025 01:10:05 -0500 Subject: [PATCH 1/4] Add CKEditor iFrame module #116 --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 649ee5b..328a4cd 100644 --- a/composer.json +++ b/composer.json @@ -32,6 +32,7 @@ "drupal/block_class": "^4", "drupal/bpmn_io": "^1", "drupal/cancel_button": "^1", + "drupal/ckeditor_iframe": "^3.0@beta", "drupal/ckeditorheight": "^1", "drupal/classitup": "^1", "drupal/comment_notify": "^1", From 1ba52f52504faa9c874fea8758e8626fd933828c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 22 Feb 2025 01:10:08 -0500 Subject: [PATCH 2/4] Update composer lock file --- composer.lock | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/composer.lock b/composer.lock index a9090f5..6247dbf 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "26fc6cdb610661cb88065c503d1489e1", + "content-hash": "ae01c821ebf1abdbf19af3e42da894be", "packages": [ { "name": "abraham/twitteroauth", @@ -3497,6 +3497,60 @@ "source": "https://git.drupalcode.org/project/ckeditor" } }, + { + "name": "drupal/ckeditor_iframe", + "version": "3.0.0-beta2", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/ckeditor_iframe.git", + "reference": "3.0.0-beta2" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/ckeditor_iframe-3.0.0-beta2.zip", + "reference": "3.0.0-beta2", + "shasum": "c553c65393c7f05fb563281b70b8763547e7db1a" + }, + "require": { + "drupal/core": "^9 || ^10" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "3.0.0-beta2", + "datestamp": "1727983211", + "security-coverage": { + "status": "not-covered", + "message": "Beta releases are not covered by Drupal security advisories." + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "Kevin Quillen (kevinquillen)", + "homepage": "https://www.drupal.org/u/kevinquillen", + "role": "Maintainer" + }, + { + "name": "Brian Osborne (bkosborne)", + "homepage": "https://www.drupal.org/u/bkosborne", + "role": "Maintainer" + } + ], + "description": "Adds the iFrame dialog plugin to CKEditor.", + "homepage": "http://drupal.org/project/ckeditor_iframe", + "keywords": [ + "Drupal" + ], + "support": { + "source": "https://git.drupalcode.org/project/ckeditor_iframe", + "issues": "https://drupal.org/project/issues/ckeditor_iframe" + } + }, { "name": "drupal/ckeditorheight", "version": "1.9.0", @@ -27188,6 +27242,7 @@ ], "minimum-stability": "dev", "stability-flags": { + "drupal/ckeditor_iframe": 10, "drupal/drutopia_collection": 20, "drupal/drutopia_core": 20, "drupal/drutopia_organization": 20, From d818b6782fd88f2c7d7ab8d78870bf1169eff3ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 22 Feb 2025 01:13:15 -0500 Subject: [PATCH 3/4] 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: From 0853ec84afab69738d88e7213746cc731259fef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 22 Feb 2025 01:13:26 -0500 Subject: [PATCH 4/4] Commit config snapshot --- ....snapshot.config_sync.module.footnotes.yml | 55 ++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/config/sync/config_snapshot.snapshot.config_sync.module.footnotes.yml b/config/sync/config_snapshot.snapshot.config_sync.module.footnotes.yml index becad0e..2caa2f9 100644 --- a/config/sync/config_snapshot.snapshot.config_sync.module.footnotes.yml +++ b/config/sync/config_snapshot.snapshot.config_sync.module.footnotes.yml @@ -8,4 +8,57 @@ id: config_sync.module.footnotes snapshotSet: config_sync extensionType: module extensionName: footnotes -items: { } +items: + - + collection: '' + name: editor.editor.footnote + data: + status: true + dependencies: + config: + - filter.format.footnote + module: + - ckeditor5 + format: footnote + editor: ckeditor5 + settings: + toolbar: + items: + - bold + - italic + - link + image_upload: { } + _core: + default_config_hash: SyHxfjreOgdyYXaIXOlKvLazJjPl6X-6ywdJeSruOzg + - + collection: '' + name: filter.format.footnote + data: + status: true + dependencies: + module: + - footnotes + name: Footnote + format: footnote + filters: + filter_html: + id: filter_html + provider: filter + status: true + weight: -10 + settings: + allowed_html: '

' + filter_html_help: true + filter_html_nofollow: false + filter_footnotes: + id: filter_footnotes + provider: footnotes + status: false + weight: 0 + settings: + footnotes_collapse: false + footnotes_css: true + footnotes_dialog: false + footnotes_footer_disable: false + _core: + default_config_hash: SYAah-i4HbJnc3ZnKC9NmY4M0UAFYpfobYzxg0eMunM