quill-image-uploader | Quill rich text editor to allow images | Text Editor library
kandi X-RAY | quill-image-uploader Summary
kandi X-RAY | quill-image-uploader Summary
A module for Quill rich text editor to allow images to be uploaded to a server instead of being base64 encoded
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of quill-image-uploader
quill-image-uploader Key Features
quill-image-uploader Examples and Code Snippets
Community Discussions
Trending Discussions on quill-image-uploader
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-uploader
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