CKEditor 5 strips out unordered list tags if field contains multiple UL classes #17694
Labels
resolution:resolved
This issue was already resolved (e.g. by another ticket).
type:bug
This issue reports a buggy (incorrect) behavior.
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
That all ul tags are retained as coded
❌ Actual result
CKEditor5 strips out all but the first class, so items that should be styled as class2, class3, etc. are now styled as class1. See attached.
❓ Possible solution
Only solution is to disable CKEditor for fields that contain consecutive unordered lists. This is what I have done, so it's not a critical issue, but it would be nice to get a WYSIWYG preview of the field.
📃 Other details
I'm using CKEditor5 in Backdrop CMS, which is a fork of Drupal 7.
I've attached two code samples, one showing the expected result and the other showing the actual result.
expected-result.txt
actual-result.txt
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: