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

[lexical] Fix TabNode deserialization regression #7031

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

etrepum
Copy link
Collaborator

@etrepum etrepum commented Jan 8, 2025

Description

Fixes TabNode serialization regression in the #6970 refactor. The invariant condition was inverted.

Closes #7030

Test plan

Before

No test coverage of TabNode serialization, so this failure went undetected.

After

Fixed invariant and added test coverage

Copy link

vercel bot commented Jan 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 8, 2025 9:23pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 8, 2025 9:23pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 8, 2025
@etrepum etrepum added the extended-tests Run extended e2e tests on a PR label Jan 8, 2025
Copy link

github-actions bot commented Jan 8, 2025

size-limit report 📦

Path Size
lexical - cjs 31.39 KB (0%)
lexical - esm 31.19 KB (0%)
@lexical/rich-text - cjs 40.47 KB (0%)
@lexical/rich-text - esm 33.12 KB (0%)
@lexical/plain-text - cjs 39.04 KB (0%)
@lexical/plain-text - esm 30.37 KB (0%)
@lexical/react - cjs 42.3 KB (0%)
@lexical/react - esm 34.42 KB (0%)

@etrepum etrepum added this pull request to the merge queue Jan 9, 2025
Merged via the queue into main with commit 6add515 Jan 9, 2025
43 of 44 checks passed
@etrepum etrepum mentioned this pull request Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: TabNode does not support setMode when parsing state
3 participants