diff --git a/composer.json b/composer.json index 6897a64..649ee5b 100644 --- a/composer.json +++ b/composer.json @@ -64,6 +64,7 @@ "drupal/eva": "^3", "drupal/exif_orientation": "^1", "drupal/facets": "dev-3.0.x as 2.0.x-dev", + "drupal/fakeobjects": "^2", "drupal/field_defaults": "^2", "drupal/field_formatter_class": "^1", "drupal/field_token_value": "^3", diff --git a/composer.lock b/composer.lock index e5c3a89..a9090f5 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": "34d6202edb771e9e286c99dc6d208fa1", + "content-hash": "26fc6cdb610661cb88065c503d1489e1", "packages": [ { "name": "abraham/twitteroauth", @@ -1973,6 +1973,40 @@ ], "time": "2024-10-09T13:47:03+00:00" }, + { + "name": "drupal-ckeditor-libraries-group/fakeobjects", + "version": "4.22.1", + "source": { + "type": "git", + "url": "https://github.com/drupal-ckeditor-libraries-group/fakeobjects.git", + "reference": "a1de732aa3dbc63349f8b4653b1c7788c93ae25c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/drupal-ckeditor-libraries-group/fakeobjects/zipball/a1de732aa3dbc63349f8b4653b1c7788c93ae25c", + "reference": "a1de732aa3dbc63349f8b4653b1c7788c93ae25c", + "shasum": "" + }, + "type": "drupal-library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0-or-later", + "LGPL-2.1-or-later", + "MPL-1.1" + ], + "description": "CKEditor 4 fakeobjects plugin", + "homepage": "https://ckeditor.com/cke4/addon/fakeobjects", + "keywords": [ + "CKEditor", + "fakeobjects", + "plugin" + ], + "support": { + "issues": "https://github.com/ckeditor/ckeditor4/issues", + "source": "https://github.com/ckeditor/ckeditor4/tree/master/plugins/fakeobjects" + }, + "time": "2023-02-08T14:53:49+00:00" + }, { "name": "drupal/address", "version": "2.0.3", @@ -8832,6 +8866,64 @@ "irc": "irc://irc.freenode.org/drupal-search-api" } }, + { + "name": "drupal/fakeobjects", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/fakeobjects.git", + "reference": "2.0.1" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/fakeobjects-2.0.1.zip", + "reference": "2.0.1", + "shasum": "a11cac7fa7fd2d511048ba0ff3d18321e767b296" + }, + "require": { + "drupal-ckeditor-libraries-group/fakeobjects": "^4.5.11", + "drupal/core": "^8 || ^9 || ^10 || ^11" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "2.0.1", + "datestamp": "1740094419", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "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": "kevinquillen", + "homepage": "https://www.drupal.org/user/317279" + }, + { + "name": "xmacinfo", + "homepage": "https://www.drupal.org/user/12131" + } + ], + "description": "Adds the FakeObjects plugin to CKEditor. This plugin is a utility plugin that is required by certain user-facing CKEditor plugins.", + "homepage": "http://drupal.org/project/fakeobjects", + "keywords": [ + "Drupal" + ], + "support": { + "source": "http://cgit.drupalcode.org/fakeobjects", + "issues": "http://drupal.org/project/issues/fakeobjects" + } + }, { "name": "drupal/faqfield", "version": "7.1.0", diff --git a/config/sync/editor.editor.basic_html.yml b/config/sync/editor.editor.basic_html.yml index dc8262c..9717ba8 100644 --- a/config/sync/editor.editor.basic_html.yml +++ b/config/sync/editor.editor.basic_html.yml @@ -62,6 +62,8 @@ settings: enabled_attributes: { } linkit_extension: linkit_enabled: false + wysiwyg_linebreaks_extension: + method: force image_upload: status: true scheme: public diff --git a/config/sync/editor.editor.footnote.yml b/config/sync/editor.editor.footnote.yml new file mode 100644 index 0000000..c94cb82 --- /dev/null +++ b/config/sync/editor.editor.footnote.yml @@ -0,0 +1,15 @@ +status: true +dependencies: + config: + - filter.format.footnote + module: + - ckeditor5 +format: footnote +editor: ckeditor5 +settings: + toolbar: + items: + - bold + - italic + - link +image_upload: { } diff --git a/config/sync/editor.editor.full_html.yml b/config/sync/editor.editor.full_html.yml index b1674ed..2bc15e4 100644 --- a/config/sync/editor.editor.full_html.yml +++ b/config/sync/editor.editor.full_html.yml @@ -18,7 +18,7 @@ settings: - superscript - subscript - removeFormat - - Footnotes + - footnotes - link - bulletedList - numberedList @@ -50,5 +50,7 @@ settings: linkit_profile: default media_media: allow_view_mode_override: false + wysiwyg_linebreaks_extension: + method: force image_upload: status: false diff --git a/config/sync/editor.editor.minimalhtml.yml b/config/sync/editor.editor.minimalhtml.yml index 275e9e1..1806fd5 100644 --- a/config/sync/editor.editor.minimalhtml.yml +++ b/config/sync/editor.editor.minimalhtml.yml @@ -1,44 +1,51 @@ -uuid: c627e429-1f81-4d6d-87a1-402d40f43c6b +uuid: 544510b1-f241-4456-83a3-f602c111c46e langcode: en status: true dependencies: config: - filter.format.minimalhtml module: - - ckeditor -_core: - default_config_hash: kP3r4Ns9C1XIg5vFA9a0mteIKThq8E_eL43z7VIZUTY + - ckeditor5 format: minimalhtml -editor: ckeditor +editor: ckeditor5 settings: toolbar: - rows: - - - - - name: Formatting - items: - - Bold - - Italic - - - name: Links - items: - - DrupalLink - - DrupalUnlink - - - name: Lists - items: - - BulletedList - - NumberedList - - - name: Media - items: - - Blockquote - - - name: Tools - items: - - Source + items: + - bold + - italic + - '|' + - link + - '|' + - bulletedList + - numberedList + - '|' + - blockQuote + - '|' + - sourceEditing + - '|' + - code plugins: - linebreaks: + ckeditor5_list: + properties: + reversed: false + startIndex: true + multiBlock: true + ckeditor5_sourceEditing: + allowed_tags: + - '' + - '
' + - '
' + - '
' + - '' + - '' + - '
' + - '