Duplicate anchors created

Created on 22 February 2024, 4 months ago
Updated 26 February 2024, 4 months ago

Problem/Motivation

When saving a node the anchor is duplicated. After first creating the anchor <a class="ck-anchor" id="newfilearea" name="newfilearea"> appears in the markup. After saving the node, and then editing again, the anchor has been copied, but with fewer attributes. <a name="newfilearea"></a><a name="newfilearea"></a><a class="ck-anchor" id="newfilearea" name="newfilearea"></a>

This continues each time the node is saved. With paragraphs, this occurs when the paragraph is edited and collapsed.

Using Drupal 10.2.3 with CKeditor 5

Steps to reproduce

Add and anchor and save. Inspect the markup.

πŸ› Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States awolfey

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

Comments & Activities

Production build 0.69.0 2024