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

Fix list merging #4386

Merged
merged 5 commits into from
Apr 24, 2023
Merged

Fix list merging #4386

merged 5 commits into from
Apr 24, 2023

Conversation

acywatson
Copy link
Contributor

@acywatson acywatson commented Apr 21, 2023

Previously, we wouldn't merge lists of different types when inserted after one another, which happens most frequently in copy+paste situations. This led to a couple of issues where we could violate invariants around list structure.

@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 Apr 21, 2023
@vercel
Copy link

vercel bot commented Apr 21, 2023

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 Apr 21, 2023 10:13pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2023 10:13pm

@github-actions
Copy link

github-actions bot commented Apr 21, 2023

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 26.94 KB (0%) 539 ms (0%) 259 ms (+29.72% 🔺) 798 ms
packages/lexical-rich-text/dist/LexicalRichText.js 37.8 KB (0%) 757 ms (0%) 220 ms (-32.68% 🔽) 977 ms
packages/lexical-plain-text/dist/LexicalPlainText.js 37.78 KB (0%) 756 ms (0%) 303 ms (+30.14% 🔺) 1.1 s

@acywatson acywatson merged commit bf8537a into main Apr 24, 2023
@acywatson acywatson deleted the lists-merge-fix branch April 24, 2023 14:43
This was referenced May 23, 2023
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants