quill-image-drop-and-paste
quill-image-drop-and-paste copied to clipboard
A quill editor module for drop and paste image, with a callback hook before insert image into the editor
`quill-image-drop-and-paste` version `1.2.11` `quill` version `1.3.7` When Im inserting a new URL from any website on my quill editor the plugin recognized it as image an then inserting this URL...
The plugin doesn't work on Firefox. `handler` doesn't call at all For testing just run [this example](https://github.com/chenjuneking/quill-image-drop-and-paste/tree/master/example/script-demo) on latest Firefox. I've tested it on Firefox on Debian, and Firefox on...
I have defined a custom image handler and that does trigger a modal to upload an image and that does work. I also replaced it with a function that only...
When I dropped a first pic, it is fine. But when I want to drop a second pic after the first one, it was always dropped before the first pic...
Constructor type definition for the ImageData class required.
Trying to implement the toolbar image handler to compress images with this package but I keep getting the error “Failed to construct ImageData:the provided value is not of type ImageDataSettings...
https://github.com/chenjuneking/quill-image-drop-and-paste/blob/ade89cf623e6c479d49fbf9fe2acc7abce029d5b/src/ImageDropAndPaste.ts#L87 it should be 'image' ```ts this.insert.call(this, utils.resolveDataUrl(dataUrl, type), 'image') ```