facebook / lexical

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

fix: bug-6851 #6854

Open emsurezhang opened 1 day ago

emsurezhang commented 1 day ago

https://github.com/facebook/lexical/issues/6851

update: in LexicalSelection.ts file, change the native selection move mode from "extend" to "move", cause isCollapsed is true. at line 1781: this.modify('extend', isBackward, 'character'); => this.modify('move', isBackward, 'character');

vercel[bot] commented 1 day 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 Nov 21, 2024 3:17pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 3:17pm
github-actions[bot] commented 1 day ago

size-limit report 📦

Path Size
lexical - cjs 30.94 KB (0%)
lexical - esm 30.8 KB (0%)
@lexical/rich-text - cjs 39.6 KB (0%)
@lexical/rich-text - esm 32.66 KB (0%)
@lexical/plain-text - cjs 38.2 KB (0%)
@lexical/plain-text - esm 29.92 KB (0%)
@lexical/react - cjs 41.37 KB (0%)
@lexical/react - esm 34 KB (0%)