DrupalLink plugin for CKEditor is not consistent with CKEditor approach when unlinking and converting links from source

Created on 7 June 2019, over 5 years ago
Updated 13 July 2023, over 1 year ago

Problem/Motivation

When pasting code using the source button, there is an inconsistency between DrupalLink and the way CKeditor handles anchors without href.

CKEDITOR version

This is how CKeditor handles this types of links.

Drupal version

And this is how Drupal works

The main problem is that the second image shows that this type of links cannot be removed. The unlink button is grayed.

Proposed resolution

Remove link html if they don't include any href.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇦🇷Argentina dagmar Argentina

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024