If you select a Node for which canInsertTextBefore is False from the beginning and enter an Asian language that sets node.isComposing() to True, the text will not be displayed and the selection will not be able to be changed.
The expected behavior
Even if you select a Node for which canInsertTextBefore is False from the beginning and enter an Asian language that sets node.isComposing() to True, act as same with English input.
Lexical version: V0.12.2
Steps To Reproduce
Create a Node that inherits TextNode and canInsertTextBefore is false. (ex. HashtagNode)
Select text from the beginning of the corresponding node
Type Asian language such as Japanese and Chinese. (Languages that trigger node.isComposing() to be true)
In addition to not displaying text input, it becomes impossible to change the selection using mouse clicks, etc.
You can return Selection to selectable by pressing enter, but the design will collapse and the entered text will not be reflected.
Link to code example: https://playground.lexical.dev/
The current behavior
If you select a Node for which canInsertTextBefore is False from the beginning and enter an Asian language that sets node.isComposing() to True, the text will not be displayed and the selection will not be able to be changed.
The expected behavior
Even if you select a Node for which canInsertTextBefore is False from the beginning and enter an Asian language that sets node.isComposing() to True, act as same with English input.