Skip to content

Conversation

@i-just
Copy link
Contributor

@i-just i-just commented Apr 23, 2025

Description

Updated CKEditor to version 45.

Resolved breaking changes around the icon paths.

Switched from the 3rd-party Anchor plugin to the Bookmark CKE feature.

  • The switch is necessary as the Anchor plugin was affected by the breaking changes around icon paths.
  • If you have the anchor item in your CKEditor’s toolbar, it’s now rewritten to the bookmark item.
  • Any anchors you have in the field’s content continue to work as before.
  • The anchor plugin applied class="ck-anchor" to the anchors, but the bookmark feature doesn’t do that. The class will continue to be rendered in the front-end until the content is first saved after the update.
  • The anchor plugin allows anchors to wrap text, and the bookmark converts it to an anchor tag without the text and places it before the previously wrapped text. (explanation: Bookmarks: part 1 ckeditor/ckeditor5#17063 => Scope > Functional requirements > 3rd bullet point)

Before:
Screenshot 2025-04-23 at 08 50 46

After:
Screenshot 2025-04-23 at 08 51 06

Related issues

n/a

@i-just i-just requested a review from brandonkelly as a code owner April 23, 2025 08:21
@i-just i-just changed the title update to cke v45 update to cke v45 for v3 Apr 23, 2025
@i-just i-just mentioned this pull request Apr 25, 2025
@brandonkelly brandonkelly merged commit 070bcee into 3.x Apr 25, 2025
6 checks passed
@brandonkelly brandonkelly deleted the feature/update-to-cke-v45 branch April 25, 2025 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants