Open ITJesse opened 7 years ago
@ITJesse This seems to be in Ghost, right? Can you reproduce the same bug on the mobiledoc-kit demo (https://bustle.github.io/mobiledoc-kit/demo/)? If so, we know that the bug is in mobiledoc-kit itself. If not, it will be in the integration of mobiledoc-kit in Ghost.
Yes, I can reproduce it.
I did some testing, and found that the keypress event was not triggered when I press keys with input method on.
Maybe using this event to deal with these input method is not a good idea.
It's worth noting Ghost is not using mobiledoc-kit
at this time, the Ghost examples provided above are using CodeMirror.
The input method does not show the candidate box at all, so I can not enter Chinese and Japanese.
Expected behavior:
It works prefectly in the title box, but was broken in the content box:
It just types the letter into the box without a candidate box.
Step to reproduce:
https://github.com/TryGhost/Ghost/issues/9017