- Issue created by @ducviethaboo
- 🇨🇭Switzerland wengerk Lausanne
Thanks for openning an issue with a concret steps to reproduce !
Can I ask you which version of CKEditor ? 4 or 5 ?
Thanks
- 🇻🇳Vietnam ducviethaboo Ha Noi
@wengerk
Sorry for the late response and poor description !
I am using CKEditor5. - 🇻🇳Vietnam ducviethaboo Ha Noi
ducviethaboo → changed the visibility of the branch 3512964-editor-advanced-image to hidden.
- 🇻🇳Vietnam ducviethaboo Ha Noi
ducviethaboo → changed the visibility of the branch 3512964-editor-advanced-image to active.
- 🇨🇭Switzerland wengerk Lausanne
Problem 1
I can reproduce this error and will works on it.
https://www.drupal.org/files/issues/2025-04-11/Problem%201%20-%20Reprodu... →
- Step 1: Upload image, set class "class-a" for image and save content.
- Step 2: Edit content, edit image set class to blank, save dialog and save content
- => The Image class remains "class-a".
Problem 2
I cannot reproduce this error, please see the video below.
https://www.drupal.org/files/issues/2025-04-11/Probleme%202%20-%20Cannot... →
- Step 1: Upload image, set class "class-b" for image and save content.
- Step 2: Edit content, change the image class from "class-b" to "class-c", save dialog and save content.
- => The image class is changed to "class-b class-c".
Can you please update the issue Summary with a working reproducer for Problem 2 ? In the meanwhile I will fix the Probleme 1. Removing a class.
- 🇨🇭Switzerland wengerk Lausanne
- 🇨🇭Switzerland wengerk Lausanne
MR Merged - Problem 1 is solved.
As Problem 2 is another issue, I let you open another issue when a reproductible step is founded.Close this issue for now.
Automatically closed - issue fixed for 2 weeks with no activity.