ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.48k stars 3.7k forks source link

Text created with speech-to-text software doesn't appear in the editable #15585

Open mabryl opened 9 months ago

mabryl commented 9 months ago

📝 Provide detailed reproduction steps (if any)

  1. Open the editor in v35.3.0 or later
  2. Try to input some text into the editable with a speech-to-text tool. I used this Chrome extension for my testing.

✔️ Expected result

The text that was converted from speech should appear in the editable, as is the case in v35.2.1:

https://github.com/ckeditor/ckeditor5/assets/72079603/8cf6dc31-4efd-4843-916c-d8c535bdaec1

❌ Actual result

No text appears in the editable:

https://github.com/ckeditor/ckeditor5/assets/72079603/4f09aea1-e2d3-4da2-af0e-f974c31ff823

❓ Possible solution

It's possible that the issue is related to the beforeInput change introduced in v35.3.0.

📃 Other details


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

Witoso commented 9 months ago

It would be extremely challenging to improve this for every STT tool. Was there a specific extension mentioned, or does it not work for multiple tools?

mabryl commented 9 months ago

@Witoso I did my testing by using this extension for Chrome: https://chromewebstore.google.com/detail/voice-in-speech-to-text-d/pjnefijmagpdjfhhkpljicbbpicelgko

But I also know (from a client that reached out to us via Zendesk) that a speech-to-text software called Dragon also suffers from this issue, so it's probable that the issue is more widespread. This Dragon software also worked correctly in older versions of the editor.

Let me know if you'd like me to do some more testing.

kierendev commented 7 months ago

Is there any workaround to this? @mabryl

We use medical software that utilises CKEditor and we are trying to bring in Dragon STT for accessibility reasons. However, this same issue appears still in the latest version of CK.

Happy to help with testing.

mabryl commented 6 months ago

Thanks for the reply @kierendev and for your interest in CKEditor.

Unfortunately, at this time, we can't provide any workaround. Having said that, we'll surely update this ticket when any developments are made regarding this case.