In the client of Electron, opening the ProseMirror webpage may cause issues such as in GIF images, which may be due to the Chinese Pinyin not being in the editor during combined input. How can this be resolved.
Browser kernel and electron version: Chrome/126.0.6478.234 Electron/31.6.0
I suspect this isn’t specific to Electron, as there appear to be several IME-related issues circulating. Unfortunately, I don’t currently have an IME available to reproduce and debug the problem, I may need to set up an environment to reproduce it.
Thank you for your reply. The issue I reproduced mainly occurs when using composed input, where the editor replaces the pinyin selection with Chinese text. However, some input methods do not display pinyin within the editor, which might be environment-related. Has ProseMirror considered replacing the original selection replacement with an alternative approach.
I reproduced this issue in the latest Electron version 31. I haven’t found a way to reproduce it in a regular browser yet. Below is the Electron code. After installing the dependencies, run it, and using the Sogou input method will trigger this behavior.
It looks like 31 is over a year old and the current version is 40. That’s why I’m asking if upgrading Electron helps.
I only work on bugs that show up in major browsers, not platforms like Electron or various custom webviews. So setting up a self-contained reproduction example that runs in plain Chrome would be useful.