rich-voice-editor
Rich Voice Editor: Quill Rich Text Editor Enhancements to support SSML
With this module you can enhance the Quill Rich Text Editor https://quilljs.com/ to support SSML tags.
The following SSML tags / functions are supported: SSML Tags and Functions The current functionality is optimized for AWS Polly with special Amazon SSML Tags
Live Demo: https://fabiancelik.github.io/rich-voice-editor/
Try on jsfiddle: https://jsfiddle.net/fabiancelik/opa6cbj4/16/
Installation
Use the CDN link https://cdn.jsdelivr.net/npm/quill-rich-voice-editor@0.4.0/dist/richVoiceEditor.min.js
Or use the package manager npm to install rich-voice-editor.
npm install quill-rich-voice-editor
URL to npm package: https://www.npmjs.com/package/quill-rich-voice-editor
Usage
-
Please check the official Quill documentation for the basics first: https://quilljs.com/docs/quickstart/
-
Include the richVoiceEditor.min.js via CDN or NPM in a script-tag.
-
Add containters and handlers for every tag/function you want to use.
-
Register the module to the Quill Editor.
-
Set 'rich-voice-editor' in modules to true.
Rich Voice Editor - Example
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
To create the production build after changes in /src/index.js please use the following commands:
npm i npm run-script build
Please see the Wiki to learn more how to add more SSML Tags. I would especially appreciate a better Amazon Alexa support.