benwinding / quill-image-compress

A Quill rich text editor Module which compresses images uploaded to the editor
https://benwinding.github.io/quill-image-compress/src/demo.html
MIT License
123 stars 30 forks source link

Fixed drop event duplicating local content. #43

Closed rayment closed 1 year ago

rayment commented 1 year ago

If content is dropped into the editor from an external window, everything works but when done so from local content, images are duplicated and text will not move.

This commit forces the browser to perform its default action when actioning local content (and also skipping unnecessary compression on an already compressed item).

Tested on Edge 113.0.1774.50

See Issue 42 for further information on the bug.

christiandamtoft commented 1 year ago

This looks good, a needed fix. What will it take to get this merged?