-
-
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
[iOS] Dictation is not working ("new line" breaks the editor) #2045
Comments
Hi! Thanks for the bug report. Unfortunately, it's extremely tricky to support normal typing due to lack of reasonable APIs in the browser, so I expect that fixing this issue may be hard if not impossible. In fact, the only option that could work is |
There was a lot of work recently done in IME realm. It's not done yet but there has been major progress. We should check if this problem is still reproducible there. Otherwise this sounds indeed like a very challenging issue, we should do a research on how the dictation feature works (what events it fires) and why is this issue happening. |
The branch to test new IME support |
FYI: tracking this at https://www.drupal.org/project/drupal/issues/3283802 π |
Is this an existing Siri/Dictation bug in the iOS operating system or is this something that can be replicated on a Mac? I don't have an iPhone or iPad to test this with. |
This happens because of a |
While dictating "new paragraph" a double new-line char is provided in the |
While trying to resolve this issue (by splitting a single |
Does it lock after we do something or on a plain contenteditable with no additional JS too? |
Plain contenteditable. After you stop dictation (by touching anywhere or by disabling dictation, the content is inserted but it duplicates the first line. |
And the above locking is not happening every time. If I start with "new-line" and then dictate text it works (but there are some text replications still to resolve). |
So this missed the #12565 deadline, right? Is it still on track for the next iteration/release? π€ |
Unfortunately, this looks like an issue with Safari or iOS because it fails the same way in CKEditor4 and Tiny: RPReplay_Final1666969724.MP4RPReplay_Final1666969202.MP4It stops updating content (and firing |
The prior comment is not consistent with my experience. The one issue I've encountered with "new line" is Voice Control + Chrome + CKEditor 4. In this situation "new paragraph" still works. Ck4 + Safari + Voice Control (New Line|Paragraph) work fine for me on OSX and iOS Safari. CK5 + Voice Control (New Line|Paragraph) does not currently work in any browser/OS I try it in I just re-evaluated this with the editors from https://ckeditor.com/ckeditor-4/demo/ https://ckeditor.com/ckeditor-5/demo/ |
I tested dictation in iOS 16 on my iPhone. I have similar results to what @niegowski got in CKEditor 4 in TinyMCE. After saying "insert new line" the new text stops being inserted. I need click somewhere for it to appear. But parts of it are duplicated (like Safari loses a track of what was already inserted and where and keeps inserting it). I can record some screencasts later on, but I guess it makes little sense here. |
We retested this on macOS+Voce Control on https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/examples/builds/classic-editor.html and It works reasonably well on the nightly docs already, so that's good. On the We'll record some screencasts later on. |
We did a bit more testing together with @bbenjamin and @wimleers.Β On macOS + Voice Control everything works fine on We confirmed that on iOS dictation doesn't work very well β CKE4, Tiny, CKE5. It's an iOS issue. We could report it to Webkit issue tracker. However, @bbenjamin pointed out that he's using Voice Control on iOS (different thing than the dictation mode available on the keyboard). It has to be enabled in the Settings and it works for English only (or at least it's not available in some languages). But from my tests, based on |
Is this a bug report or feature request? (choose one)
π Bug report
π Steps to reproduce
β Expected result
The following text in the editor:
Test text
Test text
β Actual result
Test text
π Other details that might be useful
It seems like after I say "new line" the dictation is not working anymore.
The text was updated successfully, but these errors were encountered: