Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
IME not working on mobile #3137
I upgraded to version 5.0 several days ago.
BTW, if I force to use "textarea" mode in inputStyle config.
Thanks for any support, CodeMirror is awesome!
That's interesting. Do you see the same problem on desktop CodeMirror when you explicitly enable the
One possibility is that
I unfortunately know very little about both Chinese writing and Chinese IME. For me to debug this you'd have to walk me through the procedure of enabling it on the mobile platform you are using, and explain what you are doing and what the expected outcome is. (If the problem also manifests itself on the desktop, that would help. I have a Japanese IME installed, but a quick test didn't show any problem using that with contenteditable mode.)
No, desktop version using
The good new is, I found I can debug on mobile via Safari, which my iPhone connected to my Mac.
Let's talk about
Then, I checked the
In Bopomofo(it's Tradition Chinese), if you type
Hope these tests will help you, it's so confusing why mobile browser behave so strange.
I have the same problem.
referenced this issue
Jun 20, 2016
As for the mod at https://github.com/zhusee2/codemirror-composition-mod , that looks like it'll cause more problems than it solves (it resets the DOM during composition, which will often force the composition to end, and it blindly trusts the data in the composition events, which is inaccurate on many platforms).
Just for clarity, this is something @marijnh would like to see happening, but currently neither has time nor funding to do so afaik.
referenced this issue
Sep 16, 2017
added a commit
May 12, 2018
This is a issue that's difficult if not impossible to solve with the fundamental approach currently taken by CodeMirror.
We are working on a rewrite (CodeMirror 6) that will address this issue, and we are currently raising money for this work: See the announcement for more information about the rewrite and a demo.
Note that CodeMirror 6 is by no means stable or usable in production, yet. It's highly unlikely that we pick up this issue for CodeMirror 5, though.