-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
By current I mean the list item where caret is located when Delete is pressed.
I should also note that depth doesn't play any role with Delete, next or previous list items are literally visually next and previous, even if different depth (I don't have a problem with that).
Good cases:
- If current and next item have content, next item is deleted and its content is appended to current's
- If current has content and next is empty, next list item is just deleted
- If current is last item in list and has content, nothing happens after
Delete
Bad cases:
Why bad? I personally don't care about Delete functionality at all but it would be nice if it worked properly if it's already there. From list documentation:
Delete or Backspace at the start of an item: remove the item
- If two empty list items are next to each other, pressing
Deletemoves caret to other empty item, this behavior repeats ifDeleteis pressed again, nothing gets removed - If current is last and empty item in list, caret is moved to previous list item, last empty item only gets removed when
Deleteis pressed again (when caret is in previous item) - If current is first and empty item in list, caret is moved off the list (previous block) and I get two list bullets side-by-side situation, few frames later, I get the following error:
These descriptions might get pretty cryptic, my apologies.
