quill-image-uploader
quill-image-uploader copied to clipboard
Image keep loading, image paste twice with react-quill
Hi everyone, currently I am facing a problem with our library; it seems that all the images haven't finished uploading yet I using react-quill: 2.0.0 and latest version of quill-image-uploader
Let's take the official demo as the bug reproduction: CodeSandbox First problem:
- If the image hasn't finished uploading, then if I press the enter key, the image will keep showing loading forever
Second problem: If the image hasn't finished uploading, and then I press a random key, for example, 'abc', the image will be duplicated: one will have the URL returned from the server, and the other will be in base64 format
Has anyone encountered the same issue and found a solution they can share with me? It would be very helpful
I too am experiencing images pasting twice, although upload time isn't a factor and the images appear both as the uploaded URL and base64 without the further user interaction you mentioned vis a vis keypresses.
I have the same problem here. Don't know how to correct that. Drag and drop works fine (with only one image) if I remove imageBlot from the formats but then I lose the benefit of the upload button in the toolbar.