quill-image-upload | Quill rich text editor to upload images | Editor library
kandi X-RAY | quill-image-upload Summary
kandi X-RAY | quill-image-upload Summary
A module for Quill rich text editor to upload images to be selected from toolbar editor.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Set properties on an object
- Call a function
quill-image-upload Key Features
quill-image-upload Examples and Code Snippets
Community Discussions
Trending Discussions on quill-image-upload
QUESTION
I have encountered an issue while trying to upload an image to quil-react via quil-image-uploader. For some reason if you use the editor with a controlled react component and update the value via onChange function of react-quill, something brakes.
From console.logs I figured that the image gets stuck on base64 representation and then does not reach the next step of being deleted, and re-inserted as an img tag.
Here is a forked version of code sandbox
If you try to upload the image it will not work.
Thanks so much for your help! If I am totally missing something obvious please point this poor soul towards it, haha :)
...ANSWER
Answered 2020-Jul-09 at 05:40You are placing a div inside ReactQuill which is causing problem. Do it like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install quill-image-upload
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page