quill-image-resize-module
quill-image-resize-module copied to clipboard
Delete Image
When I select Image and try to delete using the "delete key", it doesn't delete and throws an error in the console
Know anything about this ? I'm using the same config as shown in the plunker example
same issue know anyone?
same to me
Uncaught TypeError: window.Quill.find is not a function
checkImage http://localhost:5000/static/js/node_modules/quill-image-resize-module/image-resize.min.js:1
Same thing happening to me
set quill on window object:
window.Quill = Quill
window.Quill = Quill
Thanks, that worked!
set quill on window object:
window.Quill = Quill
I'm still getting Quill.find not Uncaught nothing changed
@mohammad5305 , it looks you have another issue on same line.
When I debug the problematic code, I notice that we have two type of quill object : window.Quill
and this.quill
and they are not the same object. I still don't understand the difference between them. but when I try to use this.quill.find
I get your error.
In my project, I set window.Quill to object I import from 'react-quill':
import ReactQuill, {Quill} from 'react-quill'
window.Quill = Quill
Instend of 'window.Quill = Quill;' It might be an another choise:
if (!window?.Quill?.find) {
window.Quill = {};
windowQuill.find = Quill.find;
}
I'm getting a similar error:
TypeError: Cannot read properties of null (reading 'deleteAt')