facebook / lexical

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

Revert "Fix #5720 update the resolvedOffset correctly on image selection and drag" #5952

Closed thegreatercurve closed 3 weeks ago

thegreatercurve commented 3 weeks ago

Reverts facebook/lexical#5795

This fixes #5950 which seems like the more serious issue.

Test plan

Validated that mentions can be split in half correctly.

image
vercel[bot] commented 3 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 💬 Add feedback Apr 24, 2024 1:11pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 1:11pm
github-actions[bot] commented 3 weeks ago

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 23.64 KB (0%) 473 ms (0%) 306 ms (+440.91% 🔺) 779 ms
packages/lexical-rich-text/dist/LexicalRichText.js 33.83 KB (+0.21% 🔺) 677 ms (+0.21% 🔺) 198 ms (+47.74% 🔺) 875 ms
packages/lexical-plain-text/dist/LexicalPlainText.js 33.76 KB (-0.13% 🔽) 676 ms (-0.13% 🔽) 295 ms (+122.79% 🔺) 970 ms