Bug: Delete key does not delete empty line before a table
Open
tables
- Dominant language
- TypeScript
- Stars
- 23.9k
- Forks
- 2.2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 57
Description
Delete key does not delete empty line before a table
Lexical version: 0.39.0
## Steps To Reproduce
1. Create a content where the first line is empty, followed by a table
2. Place the cursor on the empty first line
3. Press the `Delete` key
Link to code example:
https://playground.lexical.dev
Video:
https://github.com/user-attachments/assets/c1f44ea9-0f94-46f1-bd81-b0d470106943
## The current behavior
The empty line remains unchanged
## The expected behavior
The empty line should be deleted and the table should move up to become the first element in the editor
Contributor guide
Assessment
This issue has not been assessed yet.