ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

IME not working with Japanese (Romaji) on Safari on research branch

Open dufipl opened this issue 3 years ago • 2 comments

📝 Provide detailed reproduction steps (if any)

  1. Switch to ck/11438-beforeinput-ime-research-vol1.1
  2. Set your device language to Japanese (Romaji)
  3. Open http://localhost:8125/ckeditor5-typing/tests/manual/beforeinput.html on Safari.
  4. Type on the keyboard anna and select the first version of the word from the composition.

✔️ Expected result

IME typing does work with Japanese.

❌ Actual result

Typing disappears after approving one of the versions of the compositions.

ime japanese issue

📃 Other details

This is a regression. Such a situation does not take place in pure editable or docs.

  • Browser: Safari (desktop or iOS)
  • OS: Mac OS Monterey or iOS 15.4.1

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

dufipl avatar May 06 '22 13:05 dufipl

Small note: the selection needs to be done with a mouse. Using the keyboard to select an option from the composition dropdown works correctly.

LukaszGudel avatar May 09 '22 06:05 LukaszGudel

It's really odd, but for me, setting my language input to this:

And typing anything doesn't trigger IME at all. It works like normal typing.

Reinmar avatar Aug 03 '22 09:08 Reinmar

@Reinmar romaji itself is a latin transcription of Japanese words. It should work like normal typing. @dufipl could you share which input mode you're using? (kinda looks like hiragana to me but please confirm ;>)

Acrophost avatar Sep 01 '22 07:09 Acrophost

@Acrophost Yup, it is Hiragana. :)

dufipl avatar Sep 01 '22 09:09 dufipl

The issue still persists on the ck/11438-beforeinput-ime-research-vol1.1-android branch on Safari. It is a regression from master and looks pretty ugly though: japanese safari issue cc @niegowski

dufipl avatar Oct 06 '22 12:10 dufipl

This is happening because the composition wasn't committed. Safari fires a compositionend event with an empty string as data. Chrome fires with the data to be inserted.

niegowski avatar Oct 06 '22 15:10 niegowski

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot avatar Oct 15 '23 05:10 CKEditorBot

We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

CKEditorBot avatar Nov 15 '23 05:11 CKEditorBot