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 #4468 Preserv elemement text align format on new paragraph creation #5878

Closed Sahejkm closed 2 weeks ago

Sahejkm commented 2 weeks ago

Before

https://github.com/facebook/lexical/assets/163521239/6e2ae748-acb1-4108-bbee-0f33560a7d04

After

https://github.com/facebook/lexical/assets/163521239/7bfee8e1-f2e7-4ba2-b4c1-4c11a3e6d8e9

closes #4468

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 2:47am
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 12, 2024 2:47am
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.03% 🔺) 540 ms (+0.03% 🔺) 73 ms (+257.06% 🔺) 613 ms
packages/lexical-rich-text/dist/LexicalRichText.js 39.38 KB (+0.03% 🔺) 788 ms (+0.03% 🔺) 124 ms (+111.32% 🔺) 912 ms
packages/lexical-plain-text/dist/LexicalPlainText.js 39.35 KB (+0.03% 🔺) 788 ms (+0.03% 🔺) 111 ms (+65.32% 🔺) 898 ms