BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Clicking DEL on empty line should remove block & lift blocks below it

Open davehuang-tw opened this issue 9 months ago • 3 comments

What’s broken?

When there's multiple Blocks, pressing DEL key on an empty line/block should lift the adjacent block.

What did you expect to happen?

Image

Steps to reproduce

  1. On official site demo page editor (macOS, Chrome)
  2. Create two blocks, first block empty, second block any content
  3. Focus cursor on first block and hit DEL key

BlockNote version

latest

Environment

Chrome, macOS

Additional context

No response

Contribution

  • [ ] I'd be interested in contributing a fix for this issue

Sponsor

  • [ ] I'm a sponsor and would appreciate if you could look into this sooner than later 💖

davehuang-tw avatar Feb 16 '26 14:02 davehuang-tw

Hi! I am interested in working on this!

miadnguyen avatar Feb 16 '26 21:02 miadnguyen

Always happy to have contributors, feel free @miadnguyen

nperez0111 avatar Feb 17 '26 08:02 nperez0111

duplicate of https://github.com/TypeCellOS/BlockNote/issues/2452

YousefED avatar Feb 22 '26 19:02 YousefED