-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List: Hitting delete at the beginning of the last list item doesn't exit the block #53195
Comments
Not sure about this one. |
Oh, I think we can ignore the tab that Google Docs adds. We can simply take the last list item to a paragraph block. |
well, first of all we need to fix the way this block is generating Lists/Sublists, because it mess it up, to make it far more robust. |
I'm also not sure about this one. Pressing Backspace would be a bit jarring if a list item in the middle splits the list in two with a paragraph in between, which also adds margins. |
My concern is that users less familiar with blocks would end up with multiple |
Just checked in Apple notes, and it behaves the same as Gutenberg. Google Docs' concept of list items is very different, it is similar to MS Word: each list item is just a "styled" paragraph and internally there's no concept of nesting. Sure the list items are indented, but they are not nested. They don't need to handle having to break out of a list grouping. |
Oh, here you can see how Docs/Word represent lists internally by the garbage HTML we get handed on paste: #46832. |
When I hit delete on the beginning of the last list item in Google Docs, it breaks out of the list:
However, when I do the same in the Block Editor, it moves the last list item to the end of the prior list item:
I would expect the Block Editor to behave like Google Docs.
The text was updated successfully, but these errors were encountered: