Closed (outdated)
Project:
CKEditor Anchor Link
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2023 at 05:26 UTC
Updated:
5 Jul 2025 at 15:14 UTC
Jump to comment: Most recent
Comments
Comment #2
dylan donkersgoed commented@matthiasm Are you using the latest version of the module and library? A PR from ok-steve that fixed this issue was merged in at the start of this month.
Some users have reported the node package not being updated on composer update in some situations. Please double check you have the 0.3.0 version of the JS package (or newer, I'll likely tag another version soon).
Comment #3
dylan donkersgoed commentedComment #4
klidifia commentedSorry thought I could repro after a node save, but cannot on a fresh install.
Comment #5
klidifia commentedCan reproduce when class is added to the a tag within: CKEditor 5 plugin settings -- Source editing -- Manually editable HTML tags
I'm not sure if it's this exact issue "anchor shifting to the end", but see what happens after a page is saved and subsequently edited with an anchor link:
- Anchor and markup appear normal, e.g.
<a class="ck-anchor" id="test">test</a>- (After a save/edit) -- clicking at either the start or the end of anchor link will visually insert another anchor symbol
- -- clicking within the anchor and clicking the remove anchor button visually removes it at the start, but then clicking anywhere within the pre-existing anchor adds it visually back -- markup remains:
<a class="ck-anchor">test</a>Comment #6
rajab natshah