-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Bug: composition breaks when replacing selection starting with formatted text #8119
Copy link
Copy link
Closed
Labels
compositionRelating to IME inputsRelating to IME inputs
Description
Lexical version: 0.40.0
Environment:
- macOS(Chrome) works incorrectly
- window(Chrome) works correctly
- macOS(Safari) works correctly
- macOS(firefox) works correctly
Steps To Reproduce
- Type "hello world" in the editor
- Apply a format only to the first word
- Select the entire string
- Start typing a composition character(e.g. Korean '가' by typing 'ㄱ' then 'ㅏ')
The current behavior
issue.mov
The first composition input disappears, characters don't combine correctly.
The expected behavior
The entire selection should be replaced by the first stroke of the composition, and the state should remain active to complete the character
Impact of fix
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
compositionRelating to IME inputsRelating to IME inputs