unotes
unotes copied to clipboard
Feature Request: Prevent image duplication when dragging and dropping image files in the media folder.
When I drag and drop an image from the media folder, I want it to be assumed that I am reusing the same image.
Current behavior (Unotes v1.4.3)
-
the media folder setting is "./img"
-
Drop and drop the file "./img/green1.png"
-
Unotes duplicates the image and save as "./img/img_0.png"
-
The image link will be as follows.
Desired behavior
I want it to be markdown as follows.

Implementation plan
We can Implement at onPaste(e) function.
argument e
has full path of the image file.
I can see how this might fit certain work flows. I think this change is the a good idea. Thanks!