From 4ce3aa9833bce911c63975c8be675d25d9b29580 Mon Sep 17 00:00:00 2001 From: bach Date: Thu, 26 Sep 2024 21:36:39 +0200 Subject: [PATCH] editor_adbanced_link --- composer.json | 1 + composer.lock | 54 ++++++++++++++++++++++++++- config/sync/core.extension.yml | 1 + config/sync/editor.editor.wysiwyg.yml | 3 ++ 4 files changed, 58 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index df1b95f..0b5c4e1 100644 --- a/composer.json +++ b/composer.json @@ -20,6 +20,7 @@ "drupal/core-composer-scaffold": "^10.2", "drupal/core-project-message": "^10.2", "drupal/core-recommended": "^10.2", + "drupal/editor_advanced_link": "^2.2", "drupal/geofield": "^1.60", "drupal/image_delta_formatter": "^1.2", "drupal/image_field_caption": "^2.0", diff --git a/composer.lock b/composer.lock index 52dddad..86a3600 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": "410874c298658217f9eccd480c10c4e6", + "content-hash": "365559febcbdf4e52ca276eed5a58fe5", "packages": [ { "name": "asm89/stack-cors", @@ -3470,6 +3470,58 @@ "chat": "irc://irc.freenode.org/drupal-contribute" } }, + { + "name": "drupal/editor_advanced_link", + "version": "2.2.6", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/editor_advanced_link.git", + "reference": "2.2.6" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/editor_advanced_link-2.2.6.zip", + "reference": "2.2.6", + "shasum": "f6d7c437900f288b1e735b4faf2decc99bdd30e8" + }, + "require": { + "drupal/core": "^10.2 || ^11.0" + }, + "require-dev": { + "drupal/ckeditor": "*", + "phpro/grumphp": "^2.0" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "2.2.6", + "datestamp": "1723183019", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "DuaelFr", + "homepage": "https://www.drupal.org/user/931394" + }, + { + "name": "VladimirAus", + "homepage": "https://www.drupal.org/user/673120" + } + ], + "description": "Editor Advanced link", + "homepage": "https://www.drupal.org/project/editor_advanced_link", + "support": { + "source": "https://git.drupalcode.org/project/editor_advanced_link" + } + }, { "name": "drupal/email_registration", "version": "1.4.0", diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index c1d0a82..b57c7eb 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -40,6 +40,7 @@ module: devel_generate: 0 dynamic_page_cache: 0 editor: 0 + editor_advanced_link: 0 email_registration: 0 embed: 0 entity_browser: 0 diff --git a/config/sync/editor.editor.wysiwyg.yml b/config/sync/editor.editor.wysiwyg.yml index e52f3c4..b696f59 100644 --- a/config/sync/editor.editor.wysiwyg.yml +++ b/config/sync/editor.editor.wysiwyg.yml @@ -39,6 +39,9 @@ settings: multiBlock: true ckeditor5_sourceEditing: allowed_tags: { } + editor_advanced_link_link: + enabled_attributes: + - target linkit_extension: linkit_enabled: true linkit_profile: default