setData with RestrictedEditingException produces incorrect blanks #16721
Closed
Description
opened on Jul 12, 2024
📝 Provide detailed reproduction steps (if any)
The issue is detailed in #9646.
When calling editor.setData() on an editor with RestrictedEditingException plugin, produces incorrect text (blank blocks).
- Go to https://ckeditor.com/docs/ckeditor5/latest/features/restricted-editing.html
- Switch to restricted mode
- Do editor.setData(editor.getData()) few times
✔️ Expected result
New data visualized correctly.
❌ Actual result
New data is visualized with extra <span class="restricted-editing-exception"></span>
.
❓ Possible solution
Described in #9646.
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
Activity