facebook / lexical

Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
https://lexical.dev
MIT License
17.37k stars 1.43k forks source link

Fix #5812 copy paste cell crashes if it has no paragraph #5879

Closed Sahejkm closed 2 weeks ago

Sahejkm commented 2 weeks ago

Before:

5812

After:

https://github.com/facebook/lexical/assets/163521239/53f2e13c-060f-43cb-8897-cd90255c3fd7

vercel[bot] commented 2 weeks ago

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

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview Apr 12, 2024 4:09am
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 12, 2024 4:09am
github-actions[bot] commented 2 weeks ago

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 26.96 KB (0%) 540 ms (0%) 293 ms (+52.73% 🔺) 832 ms
packages/lexical-rich-text/dist/LexicalRichText.js 39.38 KB (0%) 788 ms (0%) 523 ms (-7.76% 🔽) 1.4 s
packages/lexical-plain-text/dist/LexicalPlainText.js 39.35 KB (0%) 788 ms (0%) 513 ms (-11.18% 🔽) 1.3 s
Sahejkm commented 2 weeks ago

closing this as it will be resolved in #5857