lexical
lexical copied to clipboard
Bug: _cell gets lost on child table cell nodes when parent table is resized in the playground
Lexical version: 0.17.0
Steps To Reproduce
- Open the Playground
- Remove all contents, insert table (5x5 but doesn't matter)
- In the first cell, insert another table (5x5 but doesn't matter)
- Resize the parent cell containing the child table
Screencast from 2024-08-06 12-49-19.webm
Link to code example: https://playground.lexical.dev/
The current behavior
You can now no longer resize the child table (because the _cell property of it is gone, so getDOMCellFromTarget returns null)
The expected behavior
You can continue resizing the child table
Impact of fix
Anyone using the table cell resizer plugin