When I use drag and drop the attachment will always be inserted on the top of the note and not on the position I wanted to put it in.
When dragging mails (in my case from Outlook) to Joplin, the message will be inserted at the top of the note and the “description” of the mail on the wanted position.
As I said I am not a developer myself but in order to assist those who are I have tried this on my system.
I do not use Outlook, I use Thunderbird. When I drag an email into a note the resouce link also appears at the top of the note regardless of the cursor position. However in my case no metadata appears at the cursor position (with or without CTRL).
Additionally, ANY file I drag and drop into a note appears at the top of the note and not at the cursor position. As this is a feature I rarely use I cannot recall if drag and drop has previously resulted with the resource link being placed at the cursor position or not.
There was a GitHub issue (#3200) regarding attaching files. It’s closed now but still being updated regarding the problem you have encountered with the “drop position” within the note, so I assume that the dropped file used to appear at the cursor location…
I’ve made a rough test now with the Code Mirror and also with the WYSIWYG editor, the behavior is different to the “standard” editor, the file is placed by drag’n’drop to the wanted position (in my tests alwasy creating a new line!?!)
Unfortunately this behavior is still broken in version 1.0.242.
I’m still using the “standard” markdown editor.
When I use drag’n’drop to insert an item it will always be inserted on the top of the note and not at the actual cursor position
@CalebJohn Thanks! I did a quick look to version 1.1.1. When using drag’n’drop the items are not placed at the top anymore.
Now the items are inserted at the wanted position. Only one point to mention, the items are inserted with 2 blank lines