ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

[Document lists] Escaping list item (by Backspace) is tricky

Open Reinmar opened this issue 1 year ago • 0 comments

📝 Provide a description of the improvement

Considering this initial content, how do I insert directly in the root, between the list and the table? How do I escape the list for any other reason?

If I press Enter (which works if I'm in a single-block item) I get this:

If I press Backspace instead:

The way to escape the list is by pressing Enter twice, which isn't too intuitive.

Google Docs works a bit differently. The Backspace pressed on an empty block within a list works as outdent (even 2+ levels at once):

If I press Backspace, I'll escape the list completely. Using Backspace to escape something is more intuitive.

There's probably a reason why we decided that Backspace should remove the block instead of outdenting the entire list, but I don't understand now why. Especially that pressing Backspace for the 2nd time will actually result in Google Docs in what we currently get after the first press.

1st:

2nd:

Which is essentially the same as on the 3rd screenshot in this ticket.


If you'd like to see this improvement implemented, add a 👍 reaction to this post.

Reinmar avatar Aug 07 '24 14:08 Reinmar