Bug: Crash when resize a table cell in a table with merged cells
Lexical version: 0.10.0
Steps To Reproduce
- Create a 5x5 table (not the experimental) in the Lexical Playground.
- Merge two cells
- move this mouse cursor to the end cell line of the table
- try to resize this last column of the table
it will caught error, then a blue line will always follow this mouse cursor, it can't disappeared. after, unable to input anything in the editor.
caught error:
caught Error: Expected table cell to be inside of table row. at main.0714caa5.js:21:1223100 at eh (main.0714caa5.js:21:189954) at th (main.0714caa5.js:21:192095) at Dh.update (main.0714caa5.js:21:213339) at main.0714caa5.js:21:1222815 at main.0714caa5.js:21:1223660 at Object.Ct (main.0714caa5.js:21:16658) at Ot (main.0714caa5.js:21:16812) at main.0714caa5.js:21:36721 at To (main.0714caa5.js:21:36815)
The current behavior

Link to code example:
The expected behavior
after merged cells, can resize table column and input something normally.
With landed commit above, issue should be resolved now.