-
-
Notifications
You must be signed in to change notification settings - Fork 362
Open
Description
Bug Description
When selecting multiple lines of text in the ProseMirror editor and attempting to input Japanese characters using IME, the following issues occur:
- Japanese input becomes impossible.
- Only the first line of the selected text is deleted, while the second and subsequent lines remain unchanged.
Steps to Reproduce:
- Open the ProseMirror editor.
- Enter two lines of text:
- First line: Katakana characters (e.g., "テスト")
- Second line: One Hiragana character (e.g., "あ")
- Select both lines of text.
- Attempt to input the same Hiragana character as in the second line.
- Observe that the first line disappears, but the second line remains unchanged, and further Japanese input is impossible.
Browser Used
Chrome
Code Example URL
https://prosemirror.net/examples/basic/
Expected Behavior
When selecting multiple lines and inputting Japanese characters, all selected text should be replaced with the new input, and Japanese input should continue to function normally.
Additional Context (Optional)
- This issue does not occur if all lines contain only Katakana or Hiragana.
- The issue does not occur if the editor loses focus and regains it after the initial text input.
- This bug appears to be ProseMirror-specific, as it can be reproduced in other online ProseMirror demos.
Metadata
Metadata
Assignees
Labels
No labels