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
Pathsis opened this issue Jul 1, 2021 · 4 comments
Open

A serious bug with Chinese typing #489

Pathsis opened this issue Jul 1, 2021 · 4 comments
Labels
bug dependencies Pull requests that update a dependency file help wanted

Comments

@Pathsis
Copy link

Pathsis 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 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!

@thebaer thebaer added bug dependencies Pull requests that update a dependency file help wanted labels Jul 5, 2021
@Pathsis
Copy link
Author

Pathsis 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. 😊

@Pathsis
Copy link
Author

Pathsis 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.

@snullp
Copy link
Contributor

snullp commented Feb 9, 2024

I think it is also related to your OS and IME implementation. It works for my Chinese typing just fine using Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dependencies Pull requests that update a dependency file help wanted
Development

No branches or pull requests

3 participants