Drag and Drop Header and Block Links from Search Results

Use case or problem

When I look for things in my vault to link them to the note I am currently in, I find it useful to be able to drag and drop relevant links directly into the note. Currently, this only works for note level links. Since you can also search for sections in search results, which offers very granular search results, it would be great to be able to drag and drop these results as header or block links directly into the current note.

Proposed solution

When dragging and dropping a header or block, you get a link to this heading or block respectively, instead of a link to the note they reside in.

Current workaround (optional)

Get link to note and then filter that link or type in [[##]] or [[^^]] to find the block or heading directly

4 Likes

Very nice, I really hope block level link support is improved across the board in coming releases.

This would be so useful

The plugin Obsidian-Copy-Block-Link does this quite well.

1 Like

The current workaround is satisfactory:

  1. Open page preview for search item.
  2. Click within preview to switch to edit mode.
  3. Right click on block
  4. Run a Copy Block Link command to save link to block or block embed.
  5. Paste in note.

But the feature requested here would come in handy, and would save a few clicks :+1:


The drag & drop functionality in Obsidian feels notably limited. Several intuitive use cases where drag & drop would be a natural interaction pattern are currently unsupported. A few notable examples:

  1. Drag and drop bullet points, items in lists
  2. Create references for headers or blocks by drag-and-drop
  3. Drag and drop note on another note to merge
  4. Drag and drop PDF to create wikilink not embed
  5. Move file via drag and drop tab to folder