Skip to content

Custom Link Styles creating multiple links after editing displayed text #469

@steve-p96

Description

@steve-p96

Description

I’m experiencing strange behavior when using links in CKEditor with custom styles, as shown in the video below:

CKEditor.bug.mp4

As you can see, it generates multiple tags. I can fix it by reapplying the style, but that shouldn’t be the normal way to edit links—it’s very confusing for editors.

Here are the configs:

ckeditor_custom_styles.txt
ckeditor_config.txt

Steps to reproduce

  1. Insert a link (via paste or the link button)
  2. Apply a custom style
  3. Change the displayed text

Additional info

  • Craft version: 5.8.15
  • PHP version: 8.3
  • CKEditor: 4.10.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions