Open honoka-anraku opened 3 weeks ago
It seems the browser deletes all paragraph nodes and starts composing in a naked text node at the top level of the editor in this situation. That confused ProseMirror's composition handling. Could you see if attached patch helps for you?
Bug Description When selecting multiple lines of text in the ProseMirror editor and attempting to input Japanese characters using IME, the following issues occur:
Steps to Reproduce:
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)