ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.33k stars 3.68k forks source link

GHS: Handle attributes on links that wrap an element #14380

Open Mgsy opened 1 year ago

Mgsy commented 1 year ago

📝 Provide detailed reproduction steps (if any)

  1. Open a sample with GHS + LinkImage + Source editing.
  2. Allow classes on links via GHS: { name: 'a', classes: true }
  3. Insert an image and add a link to it.
  4. Go to the source editing and add a class to the link that wraps the image.
  5. Go back to the editing.
  6. View the source again.

✔️ Expected result

The class is preserved.

❌ Actual result

The class is lost.


If you'd like to see this fixed sooner, add a 👍 reaction to this post.

jrivero-70r63 commented 1 year ago

Does this keep happening ?