-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[beforeInput] Bring back basic typing support in Android #12058
Comments
Let's try to approach this in 3 stages:
|
The main differences for Android IME (typing with an English keyboard):
Emulate desktop IME behavior (the first attempt to solve those issues)Trying to keep as much of the original IME handling as possible and try to work around the issues mentioned above. Note: Renderer and selection observer were disabled while in the composition state (from the editor's point of view).
This approach caused problems with DOM - View position mapping because of the disabled renderer and the fact that the browser is wrapping some text with links or bold etc. There were some other problems that I can't recall now but maybe we should try to check it again. Trying to ignore composition and just use the
|
After expanding The idea to solve the above problem:
|
PoC branch: ck/epic/11438-migrate-to-beforeinput...ck/11438-beforeinput-ime-research-vol1.1-android Some problems with partial solutions:
|
That sounds like #11906. |
@ckeditor/qa-team I think it's worth retesting the whole thing on Android. The branch to test is ck/11438-beforeinput-ime-research-vol1.1-android. Keyboards to cover:
Languages:
Note: Make sure to test on the newest Chrome as something changed recently. Also, we had problems setting up a simulator with all 3 keyboards. Together with @niegowski we were following this guide: https://www.notion.so/Setting-up-Android-Emulator-9708664ec48e429686ab587bb1167c8a but at different moments and I ended up having 3 keyboards to choose from while Kuba just 2. We didn't figure this out and each of us tested what we could. One additional favor I'd like to ask you: Could you also review (and close if not reproducible anymore) the issues reported specifically for the previous attempt to resolve Android issues? The list: https://github.com/ckeditor/ckeditor5/issues?q=is%3Aissue+is%3Aopen+ck%2F11438-beforeinput-ime-research-vol1.2-android |
Remaining issues to cover now:
|
…arch-vol1.1-android Internal (engine, typing, enter, widget): Support for IME on Android. Closes #12058.
Closed in #12446. |
In a course of action in #11438 we wrote a composition support for non-Android browsers (see #12024).
Unfortunately, while it works really well on every other system and browser and every language (including CJK), it does not work on Android at all.
We need to implement a completely custom handling for Android browsers.
Keyboards that we'll try to support from day one:
ToC
The text was updated successfully, but these errors were encountered: