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…