Module Description
The Drupal Core CKEditor is missing some very important options.



Anchor Link!!!!


This plugin module adds the anchor related features to CKEditor in Drupal 9/10.

Features


* Dialog to insert links and anchors with some properties.
* Context menu option to edit or remove links and anchors.
* Ability to insert a link with the URL using multiple protocols, including an external file if a file manager is integrated.

Requirements OPTION #1: Use "drupal/anchor_link": "~1.0": Needed libraries are in the module.

They had been listed in the Drupal.org Library Packaging Allowlist


* #2888309: CKEditor Anchor link
* #2940014: CKEditor Fake Objects

Issue #3262074: Removed the Double Click event from the Anchor Link plugin, not to conflict the double click event with Drupal Core Link or the Linkit module

OPTION #2: Use "drupal/anchor_link": "~2.0": Manage libraries in your project. Anchor Link CKEditor plugin and Fake Objects CKEditor plugin


* CKEditor
* CKEditor FakeObjects module.
* CKEditor Anchor link plugin library. locate it in /libraries/link directory
* CKEditor Fake Objects plugin library. locate it in /libraries/fakeobjects directory, which managed by the CKEditor fakeobjects module.

Installation

Install with Composer: Using Composer to manage Drupal site dependencies

Go to Installing CKEditor Anchor Link on Drupal 8 and 9

Most text formats limit HTML tags. If this is the case, it will be necessary to whitelist the "name" attribute on the "a" element.

E.g. <a name href hreflang>



CKEditor addon http://ckeditor.com/addon/link

☉ Issues ☰ File an issue This module is sponsored and developed by Vardot.


Project Usage
30096
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module solves the missing anchor related features in Drupal Core CKEditor by adding options to insert, edit, and remove links and anchors with various properties.
Data Name
anchor_link

OPENAI CHATBOT

OPENAI CHATBOT

12:24:45
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.