lexical icon indicating copy to clipboard operation
lexical copied to clipboard

Bug: only a table gets deleted on backspace

Open mrdivyansh opened this issue 1 year ago • 1 comments

Lexical version: 0.16.1

Steps To Reproduce

  1. Visit https://playground.lexical.dev/
  2. Insert a table of any dimension
  3. Add paragraphs or images.
  4. Select all by pressing Cmd+A
  5. Press Backspace to delete the selected content.

The current behavior

Only the table gets deleted

https://github.com/user-attachments/assets/5a7f4358-44dc-492f-97ca-32bf031d502f

The expected behavior

All node/content should be deleted.

mrdivyansh avatar Jul 22 '24 05:07 mrdivyansh

Only one table get deleted at a time.

https://github.com/user-attachments/assets/20400cfc-ca6e-4032-bdf1-82ac790ade53

mrdivyansh avatar Jul 22 '24 05:07 mrdivyansh

This should be fixed in 0.17.0, can not reproduce at https://playground.lexical.dev/

etrepum avatar Aug 02 '24 19:08 etrepum