quill-image-resize-module icon indicating copy to clipboard operation
quill-image-resize-module copied to clipboard

Delete Image

Open navaneethr opened this issue 4 years ago • 9 comments

When I select Image and try to delete using the "delete key", it doesn't delete and throws an error in the console Screen Shot 2020-08-03 at 11 03 23 PM

Know anything about this ? I'm using the same config as shown in the plunker example

navaneethr avatar Aug 03 '20 17:08 navaneethr

same issue know anyone?

masayomitan avatar Jan 15 '22 06:01 masayomitan

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

mohammad5305 avatar Jan 31 '22 10:01 mohammad5305

Same thing happening to me

hayatnoor avatar Feb 08 '22 14:02 hayatnoor

set quill on window object: window.Quill = Quill

hswimmer avatar Mar 10 '22 13:03 hswimmer

window.Quill = Quill

Thanks, that worked!

hayatnoor avatar Mar 10 '22 14:03 hayatnoor

set quill on window object: window.Quill = Quill

I'm still getting Quill.find not Uncaught nothing changed image

mohammad5305 avatar Mar 15 '22 17:03 mohammad5305

@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

hswimmer avatar Mar 15 '22 18:03 hswimmer

Instend of 'window.Quill = Quill;' It might be an another choise:

  if (!window?.Quill?.find) {    
    window.Quill = {};
    windowQuill.find = Quill.find;
  }

okjack365 avatar Apr 11 '23 12:04 okjack365

I'm getting a similar error:

TypeError: Cannot read properties of null (reading 'deleteAt')

Screenshot 2024-07-29 at 17 51 15

manuelmeindl avatar Jul 29 '24 15:07 manuelmeindl