You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 27, 2026. It is now read-only.
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 Delete moves caret to other empty item, this behavior repeats if Delete is 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 Delete is 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.