With quill2 editor, you should only set options.handler of uploader module. It will automatically replace images from dataurl to url via your custom image handler. Related issue: https://github.com/quilljs/quill/issues/863#issuecomment-240579430
Source code for handling paste event: https://github.com/quilljs/quill/blob/d2bd71d758dd0bb707801ca3e07b9919ece748ca/modules/uploader.js#L8 Source code for handling drop event: https://github.com/quilljs/quill/blob/d2bd71d758dd0bb707801ca3e07b9919ece748ca/modules/clipboard.js#L156
Generated using TypeDoc
With quill2 editor, you should only set options.handler of uploader module. It will automatically replace images from dataurl to url via your custom image handler. Related issue: https://github.com/quilljs/quill/issues/863#issuecomment-240579430
Source code for handling paste event: https://github.com/quilljs/quill/blob/d2bd71d758dd0bb707801ca3e07b9919ece748ca/modules/uploader.js#L8 Source code for handling drop event: https://github.com/quilljs/quill/blob/d2bd71d758dd0bb707801ca3e07b9919ece748ca/modules/clipboard.js#L156