Empty editable regions created with Restricted Editing inside of a table get dropped when reloading the editor's data
📝 Provide detailed reproduction steps (if any)
- In a table, create an editable region that will contain just empty spaces
- Execute
editor.setData( editor.getData() )
✔️ Expected result
The previously created editable region should be retained in the table after reloading the data.
❌ Actual result
The empty editable region will get dropped. Notice that it doesn't affect paragraphs with empty editable regions or regions inside of the table that have some content:
https://github.com/ckeditor/ckeditor5/assets/72079603/99a1750c-3c12-417c-8553-b2b478712b1f
📃 Other details
- Browser: cross-browser
- OS: cross-OS
- First affected CKEditor version: N/A
- Installed CKEditor plugins: Table, RestrictedEditingMode
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
@mabryl do you know if this is a regression? We changed a few things in recent versions in the restricted editing.
@Witoso looks like it's not a regression. I just retested this and I went back all the way to v35.2.1 and the issue is still reproducible in that version.