question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Backspace on parent items in nested lists does not work

See original GitHub issue

What’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

How can we reproduce the bug on our side?

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:open
  • Created 2 years ago
  • Reactions:5
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
bdbchcommented, Sep 14, 2022

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.

1reaction
rfgamaralcommented, Sep 14, 2022

@YousefED you mind if we look into your solution for this issue?

I’m sure it’s fine…

image

😁

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found