Open
Description
Lexical version: 0.13.1
Steps To Reproduce
- Use an AOSP-based keyboard like OpenBoard or FlorisBoard. Even happens with old versions of Gboard.
- Type a few words and make one in the middle formatted differently so that the text node is split into multiple text nodes.
- Press around different places
Link to code example:
Happens on the Playground https://playground.lexical.dev
The current behavior
lexical-aosp-keyboards.mp4
You'll notice a space being added wherever you press inside the formatted word, and at the end of the non-formatted word if you press inside those. Occasionally it will also duplicate the word you previously had the cursor in to wherever you press next.
The expected behavior
No extra spaces should be added anywhere and no words should be duplicated.