lexical icon indicating copy to clipboard operation
lexical copied to clipboard

Bug: _cell gets lost on child table cell nodes when parent table is resized in the playground

Open OriginalEXE opened this issue 1 year ago • 0 comments

Lexical version: 0.17.0

Steps To Reproduce

  1. Open the Playground
  2. Remove all contents, insert table (5x5 but doesn't matter)
  3. In the first cell, insert another table (5x5 but doesn't matter)
  4. 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

OriginalEXE avatar Aug 06 '24 10:08 OriginalEXE