shipmnts / editor-hub

Powerful and customizable rich text editor component for React applications
10 stars 5 forks source link

Add Speech-to-Text Module to Toolbar #10

Open devcodes9 opened 3 days ago

devcodes9 commented 3 days ago

Is your feature request related to a problem? Please describe.

Currently, the Editor Hub doesn't support voice input, which can be a barrier for users who prefer or need to use speech-to-text functionality. Adding this feature would improve accessibility and provide an alternative input method for content creation.

Describe the solution you'd like

Implement a speech-to-text module that can be added to the toolbar. This module should:

  1. Allow users to input text by speaking
  2. Integrate seamlessly with the existing editor functionality
  3. Be customizable and easy to enable/disable

Implementation details

  1. Create a new speech-to-text module.
  2. Add a new toolbar button for activating speech input.
  3. Implement the necessary logic to convert speech to text and insert it into the editor at the current cursor position.
  4. Ensure proper error handling and fallbacks for browsers that don't support speech recognition.

Additional context

Adding speech-to-text functionality would significantly enhance the accessibility and usability of the Editor Hub. It would benefit users with mobility impairments, those who prefer voice input, and could potentially increase productivity for all users.

Some considerations for implementation:

Possible challenges

  1. Browser compatibility: Not all browsers support the Web Speech API

Acceptance Criteria

Vaishali785 commented 1 day ago

Hi @devcodes9, I'd like to give it a try. Could you please assign this to me?

devdcodes9 commented 1 day ago

Sure! Assigned to you...Happy Coding! @Vaishali785

Hi @devcodes9, I'd like to give it a try. Could you please assign this to me?