[Bug]: Deleting at end of bullet list causes a new bullet point to spawn #5137
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Affected Packages
StarterKit, BulletList, ListItem
Version(s)
latest
Bug Description
Create a bullet list as normal, enter the first bullet point. Press enter -> new empty
listItem
spawns below. Press enter, secondlistItem
is deleted, cursor goes to start of line, press delete -> second bullet point comes back,Reproduction can be seen here
Browser Used
Chrome
Code Example URL
https://tiptap.dev/docs/editor/examples/default
Expected Behavior
I would expect pressing delete returns my cursor to the first
listItem
, rather than creating a newlistItem
; intuitively, its quite odd that pressing delete actually creates the new bullet pointAdditional Context (Optional)
Video of a reproduction with context is here
Dependency Updates
The text was updated successfully, but these errors were encountered: