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

Dragging images inside of editor causes duplicate #42

Closed rayment closed 1 year ago

rayment commented 1 year ago

Description: When an image is dragged to a new position within the text, it is duplicated. This only occurs when this module is registered within the Quill editor.

This is easily reproducible through the demo provided in the README file.

Compresor bug animation

Steps to reproduce:

  1. Open the demo (script tag or normal).
  2. Add an image by any insertion method.
  3. Drag it to a new position.
  4. See that it is duplicated.

Environment: Tested in the following environments on Windows 10:

rayment commented 1 year ago

Looks like the drop mechanism disables text dragging as well which is a shame...

rayment commented 1 year ago

Closing as merged.