CKEditor5 rendering is stripping nested HTML content, providing data loss for user #16450
Labels
package:list
support:1
An issue reported by a commercially licensed client.
type:bug
This issue reports a buggy (incorrect) behavior.
Milestone
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
What is the expected result of the above steps?
CKEditor5 rendering engine should not strip invalid
<ul>
content without<li>
elements. If data absolutely has to be stripped, user should be notified.❌ Actual result
What is the actual result of the above steps?
CKEditor5 rendering engine removes the entire
<ul>
content. This presents a data loss for the user, and is a regression compared to CKEditor4, which did not do this.❓ Possible solution
Do not strip
<ul>
content that does not have<li>
child elements (same applies to additional nesting elements like tables too). CKEditor4 did not have this behavior.📃 Other details
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: