Error on handlePaste on chrome
jordyvanderpoel opened this issue · 2 comments
jordyvanderpoel commented
Using quill-image-uploader@1.2.2
, when pasting an image from clipboard using Google Chrome, I get an error:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'index')
at e.value (quill.imageUploader.min.js:1:5838)
at quill.imageUploader.min.js:1:5464
which seems to be this.range
being null
at insertToEditor
.
This issue appears with different users, but only seems to appear in the browser Google Chrome.
tmKnight01 commented
Hi,
I also meet this problem, how do you resolve it ?
jordyvanderpoel commented
The issue seemed to have been resolved in release 1.2.4, updating to that version worked for me.