Branch
https://github.com/RTAndrew/quill-react-commercial/tree/rtandrew/modify_video_module_to_return_iframe
Issue
Not possible to embed videos from Youtube and Vimeo as iframe. The lib always shows it as an anchor
Description
I checked that the Quill supports embedding videos from YouTube and Vimeo.
The current library, however, adds videos as anchors <a>.
Although extending the video handler to inject iframe works, whenever the content is saved, the Video module from the Quill keeps returning it as an anchor. The solution I found was modifying the lib's Video Module to always return the iframe
Branch
https://github.com/RTAndrew/quill-react-commercial/tree/rtandrew/modify_video_module_to_return_iframe
Issue
Not possible to embed videos from Youtube and Vimeo as iframe. The lib always shows it as an anchor
Description
I checked that the Quill supports embedding videos from YouTube and Vimeo.
The current library, however, adds videos as anchors
<a>.Although extending the video handler to inject
iframeworks, whenever the content is saved, the Video module from the Quill keeps returning it as an anchor. The solution I found was modifying the lib's Video Module to always return theiframe