Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A serious bug with Chinese typing #489

Open
mkyos opened this issue Jul 1, 2021 · 3 comments
Open

A serious bug with Chinese typing #489

mkyos opened this issue Jul 1, 2021 · 3 comments

Comments

@mkyos
Copy link

@mkyos mkyos commented Jul 1, 2021

Describe the bug

Automatically type the first letter of pinyin. For example, in order to enter the Chinese character "你的"(means 'yours' in English), I had to type the pinyin lettes "nide"(just like the ordinary input of English letters, but in the "Pinyin" input method state) , but the editor always failed to type "你的" by typing the first pinyin letter "n" directly, leaving the "ide".

2021-07-01_21-16-03.mp4

Steps to reproduce (if necessary)

Steps to reproduce the behavior:

  1. switch the input method to "Pinyin"
  2. randomly enter some Chinese pinyin letter ,such as "nide", will successfully enter the Chinese character "你的" in the fist time;
  3. delete all of the Chinese characters;
  4. type again, then the problem appears.

Expected behavior

  1. Try to drop the line and enter another line, and this problem will not occur. However, if you delete the Chinese characters you just typed in the second line, it will reappear again.
  2. This means that the first input in any single line will not have this problem.
  3. Only Classic editor has this issue.

B.T.W. I also found this problem on the Ghost's editor.

Application configuration

  • Single mode
  • Database? [sqlite]
  • Open registration? [yes]
  • Federation enabled? [yes]

Version or last commit: 0.13.1

@thebaer
Copy link
Member

@thebaer thebaer commented Jul 5, 2021

Thanks, @mkyos. That editor is powered entirely by ProseMirror, so we'll need to look into this issue in their codebase. Maybe someone else has also mentioned this to them before?

If anyone wants to help research, that would be much appreciated!

@mkyos
Copy link
Author

@mkyos mkyos commented Jul 6, 2021

Thanks, @mkyos. That editor is powered entirely by ProseMirror, so we'll need to look into this issue in their codebase. Maybe someone else has also mentioned this to them before?

If anyone wants to help research, that would be much appreciated!

Thank you for your reply. I remember Ghost having this problem for a long time, and specifically any non-ASCII character, such as Slavic. However, the Ghost is said to have solved this problem, but I'm not sure. Maybe you can communicate with them. 😊

@mkyos
Copy link
Author

@mkyos mkyos commented Jul 6, 2021

Thanks, @mkyos. That editor is powered entirely by ProseMirror, so we'll need to look into this issue in their codebase. Maybe someone else has also mentioned this to them before?

If anyone wants to help research, that would be much appreciated!

I tested the demo on ProseMirror's official website and didn't find this problem. At least for Chinese input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants