Lexical version: commit `67cfec5a27108bb865a309db3d0ba5d660ed885c` ## Steps To Reproduce 1. Type a macOS text replacement and press backspace. Link to code example: https://github.com/user-attachments/assets/3c38b86b-fead-45c0-8332-a4f1e0882bb9 ## The current behavior Backspace accepts the text replacement, and the caret sometimes ends up somewhere in the middle of the inserted text. ## The expected behavior Backspace deletes a character. ## Impact of fix This happens for every macOS text replacement. This only happens on Chrome. Related: https://github.com/electron/electron/issues/50432
Lexical version: commit
67cfec5a27108bb865a309db3d0ba5d660ed885cSteps To Reproduce
Link to code example:
Screen.Recording.2026-04-28.at.16.02.05.mov
The current behavior
Backspace accepts the text replacement, and the caret sometimes ends up somewhere in the middle of the inserted text.
The expected behavior
Backspace deletes a character.
Impact of fix
This happens for every macOS text replacement. This only happens on Chrome.
Related: electron/electron#50432