ycnmhd / obsidian-lineage

Gingko-like interface in obsidian
MIT License
101 stars 7 forks source link

Can't copy block link #54

Open Bearsaerker opened 3 months ago

Bearsaerker commented 3 months ago

Are you using the latest version of the plugin?

Have you checked for similar issues?

What happened?

I can't automatically add block links. I'd love to do that because some lineages of my writing link to other trees and if I could link them automatically, it would be very nice. I imagine that it is a bug, because it only doesn't work in the lineage view.

What did you expect to happen?

Copy block link should work

Relevant console output

No response

Obsidian version

1.6.4

OS

Linux

ycnmhd commented 3 months ago

Can you add steps to reproduce this issue?

Bearsaerker commented 3 months ago

I'm in the editing mode of a chunk and I press my hotkey for copying block link and it does nothing. If I switch from lineage view to regular editing view, I can copy the blocklink as it should work.

ycnmhd commented 3 months ago

What plugin are you using? Tested using this plugin and it worked as expected 2024-06-26_20-35-12

Also, cards have a context menu item to copy the block link 2024-06-26_20-46-31

m95khalil commented 3 months ago

Thank you @ycnmhd for your great efforts. When I try to link a card from within a different one using [[^]] a connection is not established.

It only works using the methodology used in the previous comment: right click the intended block and select Copy link to block