Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Inserting image link issues #112
Couple of minor issues I noticed when dragging images from file explorer to MDE:
(OK, so that's more than a couple - maybe I should have created separate issues, but don't want to spam. Also didn't think of testing the multiple file drag until I was halfway through writing the ticket)
For 4, I did a test with non-image types and noted that MDE opened the file for editing, even if it couldn't possibly edit it (I tried dropping a text document followed by a shortcut). Maybe if a document is already open dropping any sort of file should just create a link (either image or just a standard link - you could either be lazy and have a predefined list of image extensions, or you could query
So, if it's a mix of content types (or more than one file in the drop) then I would link them all. If it's a single non-image file then that's a different story. Personally, I'd rather it linked - if I want to open a new document I am explicit in my intent, either by Control+O, or opening the file from explorer etc). But other users may like the open document on drag behaviour so maybe it's time for another hidden setting?
As for 5, that is fine with me.