Backspace on parent items in nested lists does not work
See original GitHub issueWhat’s the bug you are facing?
TipTap/Prosemirror behaves a bit UX-unfriendly out of the box when one attempts to delete foo or bar alone in a nested bullet structure like
- foo
- bar
- baz
- bar
How can we reproduce the bug on our side?
- Go to https://tiptap.dev/ or https://prosemirror.net/
- create the above nested structure
- set the cursor at the beginning of
bar
and press backspace.foo
disappears, but nothing else happens
Can you provide a CodeSandbox?
No response
What did you expect to happen?
Lines joining, e.g. behavior similar to https://h9xxi.csb.app/, https://remirror.io/, or https://app.bangle.io/
Anything to add? (optional)
Maybe related https://discuss.prosemirror.net/t/joinbackward-behavior/3296/8
Did you update your dependencies?
- Yes, I’ve updated my dependencies to use the latest version of all packages.
Are you sponsoring us?
- Yes, I’m a sponsor. 💖
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:14 (10 by maintainers)
Top Results From Across the Web
Using Backspace or Delete on nested list, causes a parent list item ...
When adding nested list elements in the content, the user is able to go to parent element, press enter and add a sibling...
Read more >Backspace will not work on bullet lists - Microsoft Community
When I'm in Word on the desktop version and creating a list, the backspace no longer works when trying to delete a particular...
Read more >T63863 VisualEditor: Pressing backspace when cursor is in the first ...
VisualEditor: Pressing backspace when cursor is in the first position in a nested list item should unindent, not merge it with the previous...
Read more >Backspace and Enter (and Delete, I guess) - Discuss
One option would be to do nothing, another would be to create that ... To get a new list item, you have to...
Read more >Nested Divs backspace issue - html - Stack Overflow
If you do not want the parent div to move, then you need to either A) Specify a set width for the child...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ll look into that! Moved this ticket into the 2.0.0 Milestone too as I think the editor behavior should be fixed when we go stable.
I’m sure it’s fine…
😁