No matter which combo of keys I hold down while dragging (Alt, Shift, Ctrl, two of them at the same time) I always get the same result: the pdf is always embedded in my note.
Things I have tried
I’ve looked at 8-10 similar topics. Most are archived and two of them indicate that there are multiple ways to drag and drop files but I think that may relate to dragging from outside Obsidian. I want to do this internally:
I second this request but with an option to create standard Markdown links instead. Sometimes I have to add a list of PDFs to a document. Editing each of them to remove the exclamation mark and add a link title can become tedious.
Essentially the same problem here, I think. I want to drag and drop files from the file system into an Obsidian note and have the file copied into the attachments folder (this works today) and then a link created instead of an embed (can’t find any way to do this.) I never want an embed. I always want a link. I wish that was the default, or at least an option.
I too tried all the different key combinations, such as; Shift, Ctrl, Alt, Shift+Ctrl, Shift+Alt, Ctrl+Alt. I cannot find this as a settings option to modify.
My current work around is to set a shortcut key “Shift+Ctrl+C” to copy the full Obsidian path of a file.
Then “Ctrl+Alt+V” as a shortcut key for QuickAdd plugin with a simple Macro that is just a Editor commands → Paste command into Capture Format
I would like an option in the settings to have all drag-drop operations (within obsidian but also from external file system explorer) to make a link like [filename.pdf](filename.pdf) with relative Links when inside the vault and absolute links when files outside the vault.
The drag-drop could also “always ask” on drop, showing a small menu at the drop location where I can select “embed” or “link” for the kind of link.
Going beyond the popup-menu at the location, it could also be a small popup window with additional options at the mouse location: “copy file to vault attachment folder/link to file where it currently” and “absolute / relative links”. But this may be overengineered and featuritis though.
It’s much easier to add an exclamation mark “!” in front of the link than it is to remove the exclamation mark and copy the filename into the link title.
Also the embed viewer always loads on drag-drop and it is slow & sluggy when linking to >10MB PDFs or large fotos.
Auto-embed isn’t always needed or wanted and creates extra busy work if utilizing a lot of attachments
I work in a field that requires a lot of referencing PDFs, which I mostly manage inside of Obsidian. It’s extraordinarily useful for this purpose. However, I manage the index of files within a note/notes via nested bullet lists. Having to constantly remove the embed to turn it into a simple link is exhausting.
I propose a simple radio toggle in the settings to stop auto-embedding of attachments; whether drag-and-dropped outside of Obsidian or within Obsidian, using the command palette or hotkey, or any other method of adding attachments aside from simply typing the wikilink.
Ideally, there’d be a hotkey and command palette method to turn this on and off, as needed.