It's impossible to undo creating a list item while retaining the list marker when there is already some content in the editable #16240
Closed
Description
📝 Provide detailed reproduction steps (if any)
- Type anything into the editor (or create an empty paragraph) and create a new line
- Type
1.
or*
and hit Space to insert a list item via block autoformatting - Press backspace
✔️ Expected result
The creation of the list should be undone but the marker used to create it should remain in the editable. This is the case when the newly created list item is the only piece of content:
Screen.Recording.2024-04-18.at.09.57.52.mov
❌ Actual result
When content is already present in the editable, deleting the list item will also remove the marker:
Screen.Recording.2024-04-18.at.10.00.14.mov
❓ Possible solution
This report comes from a customer. You can find their insight into the cause of the issue in the linked ticket.
📃 Other details
- Browser: cross-browser
- OS: cross-OS
- First affected CKEditor version: N/A
- Installed CKEditor plugins: Autoformat
If you'd like to see this fixed sooner, add a 👍 reaction to this post.