Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: There may be exceptions when merging tables #5853

Closed
chaihan opened this issue Apr 9, 2024 · 2 comments · Fixed by #6607
Closed

Bug: There may be exceptions when merging tables #5853

chaihan opened this issue Apr 9, 2024 · 2 comments · Fixed by #6607
Labels
tables Relates to Lexical Tables

Comments

@chaihan
Copy link

chaihan commented Apr 9, 2024

Lexical version:0.14.3

Steps To Reproduce

1.Create a 5x5 table (not the experimental) in the Lexical Playground.
2.Merge two cells
3.After merging, merge the two cells below
4.Merge two merged cells again

Link to code example:

main.d4bb59e0.js:21 Uncaught Error: Internal Lexical error: invariant() is meant to be replaced at compile time. There is no runtime version. Error: updateEditor: selection has been lost because the previously selected nodes have been removed and selection wasn't moved to another node. Ensure selection changes after removing/replacing a selected node.
-->

The current behavior

1
2.
2
3.
3

The expected behavior

Can merge normally

@ivailop7 ivailop7 added the tables Relates to Lexical Tables label Jun 9, 2024
@chaihan
Copy link
Author

chaihan commented Jun 17, 2024

Will this issue be fixed later

@ivailop7
Copy link
Collaborator

Duplicate of #4470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tables Relates to Lexical Tables
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants