I just started to test how Obsidian handles attachments and… can’t believe my eyes: it is impossible to drag and drop attachment to a note from Obsidian File Explorer. So, you can drag and drop it from outside of the Obsidian, but not from its own File Explorer???
Looks, like the drag and drop from File Explorer to notes was not planned at all, so this issue is more feature request than bug report. But in the name of completeness: drag and dropping notes from the File Explorer to the current note should make an internal link.
Given you have two documents in your file explorer a and b
And a is open in the editor
And a contains the text Example contents
And the users cursor is after the last e in example
When the user drags and drops the b document into the editor
Then the contents of a equals Example[[b]] contents
An additional variation could exist for tags, where you drag a tag from the tag pane into the editor say #tag and it drops the very same value into the cursor location- in this example #tag
Drag&dropping attachments: I wonder if you would consider automatic renaming of such images, so that there is some uniformity in the attachment folder? (something like a ZK code for a filename with some prefix, like IMAGE20200807105053.png (or, whatever the extension is))
I have a folder with images. I want to insert one of those images into the markdown that I’m currently writing so I drag that image onto the markdown and would expect that it gets linked into the text.
Current workaround (optional)
I need to write down the full path of the image by hand.
Ah, I misunderstood.
Drag and drop works for images outside the vault.
When the image is in the vault, it needs to be selected (since it is already present, there is no sense in it being added again), so that’s just a ![[ and selecting from the list which will appear. Won’t need to be typed - though a few letters will speed filtering.
If you are already writing, that’s actually likely to be faster than any drag and drop since there’s no need to use the mouse and no need to find the file.