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

Invalid char is inserted with Mention plugin in Japanese environment #6700

Open
higty opened this issue Apr 29, 2020 · 6 comments
Open

Invalid char is inserted with Mention plugin in Japanese environment #6700

higty opened this issue Apr 29, 2020 · 6 comments
Labels
domain:typing/ime This issue reports a problem with standard typing & IME (typing method for CJK languages). support:2 An issue reported by a commercially licensed client. type:bug This issue reports a buggy (incorrect) behavior.

Comments

@higty
Copy link

higty commented Apr 29, 2020

📝 Provide detailed reproduction steps (if any)

Hi. I use CKEditor with mention plugin. CKEditor Language setting is English.
editor.create(document.getElementById("RichTextbox"), { language: "en", //other property... }

When I input Japanese character, it show below.
CKEditorInputIssue
After mention inserted, I stroked keyboard like this.
T A N A K A Space Enter

In Japanese, space key is a trigger to translate KANA to Kanji.

✔️ Expected result

田中
"T" is not inserted before "田中".

❌ Actual result

t田中
"T" is inserted before "田中".

📃 Other details

  • Browser: …chrome latest
  • OS: …Windows 10
  • CKEditor version: …18.0.0
  • Installed CKEditor plugins: …Mention
@higty higty added the type:bug This issue reports a buggy (incorrect) behavior. label Apr 29, 2020
@Reinmar Reinmar added the domain:typing/ime This issue reports a problem with standard typing & IME (typing method for CJK languages). label May 1, 2020
@Reinmar
Copy link
Member

Reinmar commented May 18, 2020

The way I test it:

  1. I have my default keyboard layout (PL) first.
  2. I insert a mention.
  3. I switch to Japanese (e.g. Katakana).
  4. I type "tanaka".
  5. The first letter of that word ("t") is excluded from IME.

If you try that without the steps 1-2. then "t" is included.

@higty, did I get this right?

@Reinmar Reinmar added this to the nice-to-have milestone May 18, 2020
@higty
Copy link
Author

higty commented May 18, 2020

If I input 3-5 then 田中 is inserted without problem.
The actual key stroke is below with empty CKEditor.
"@" --Mention list show in my setting
"Up" --selecting mention
"Enter" --mention selected
"Change IME"
"t"
"a"

t is inserted.

@higty
Copy link
Author

higty commented May 18, 2020

Another investigation of this is here.

"@" --Mention list show in my setting
"Up" --selecting mention
"Enter" --mention selected
"Backspace" --delete space just after mention.
"Space" --insert space after mention
"Change IME"
"t"
"a"

This will not insert t after mention. The space automatically inserted after selecting mention may cause problem.

@higty
Copy link
Author

higty commented Sep 6, 2020

Hi.

Does this issue have any progress?

@higty
Copy link
Author

higty commented Oct 17, 2020

Hi. @Reinmar
Does this issue have any progress?

@higty
Copy link
Author

higty commented Sep 16, 2021

@Reinmar
Is there any pregress??

@Reinmar Reinmar added squad:platform Issue to be handled by the Platform team. and removed squad:platform Issue to be handled by the Platform team. labels Oct 28, 2021
@pomek pomek removed this from the nice-to-have milestone Feb 21, 2022
@lslowikowska lslowikowska added the support:2 An issue reported by a commercially licensed client. label Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:typing/ime This issue reports a problem with standard typing & IME (typing method for CJK languages). support:2 An issue reported by a commercially licensed client. type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

4 participants