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 insertNodes when anchor point is blank TextNode #5179

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Conversation

zurfyx
Copy link
Member

@zurfyx zurfyx commented Oct 31, 2023

TextNodes are usually not empty but they can be as a result of non-reconciled updates (& plugin logic) or custom TextNodes (that won't be consolidated). Either of these are valid states.

@vercel
Copy link

vercel bot commented Oct 31, 2023

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

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview Oct 31, 2023 0:09am
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2023 0:09am

@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 Oct 31, 2023
@github-actions
Copy link

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 37.14 KB (+0.03% 🔺) 743 ms (+0.03% 🔺) 107 ms (+1.5% 🔺) 850 ms
packages/lexical-rich-text/dist/LexicalRichText.js 39.97 KB (+0.03% 🔺) 800 ms (+0.03% 🔺) 142 ms (-3.19% 🔽) 942 ms
packages/lexical-plain-text/dist/LexicalPlainText.js 39.94 KB (+0.03% 🔺) 799 ms (+0.03% 🔺) 182 ms (+36.43% 🔺) 981 ms

@zurfyx zurfyx merged commit 4ea3df2 into main Oct 31, 2023
40 of 45 checks passed
@zurfyx zurfyx deleted the fix-isnertnode2 branch October 31, 2023 12:33
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.

3 participants