obsidian-copy-block-link icon indicating copy to clipboard operation
obsidian-copy-block-link copied to clipboard

[Bug ]Not Adding To The End Of The Line

Open Archie-2021 opened this issue 2 years ago • 3 comments

I am using this plugin in macros with other commands and sometimes (a lot of times) it adds the id somewhere in middle of the block near the end. I was thought it is a issue with macro but I am adding good amount of wait/sleep in the middle and still getting this issue. Maybe it is because of how the code works in this plugin and if it is so can you adjust it for using in macros.

And thank you very much for this plugin, it is very important in my workflow. I don't know why it is not already part of the core obsidian as it is a must have feature.

Archie-2021 avatar Jun 17 '22 14:06 Archie-2021

I have the same issue, that sometimes a black line is added between the block and the ID

tim-hilde avatar Sep 19 '22 17:09 tim-hilde

@Archie-2021 I'm not sure what you mean by "it adds the id somewhere in middle of the block near the end" Could you clarify where the ID is being inserted?

@tim-hilde This is actually how obsidian works:

https://user-images.githubusercontent.com/2694747/191084962-5dbb1db5-f8ba-4adc-ba2e-5df8423eb242.mov

mgmeyers avatar Sep 19 '22 18:09 mgmeyers

@Archie-2021 I'm not sure what you mean by "it adds the id somewhere in middle of the block near the end" Could you clarify where the ID is being inserted?

@tim-hilde This is actually how obsidian works:

Screen.Recording.2022-09-19.at.11.09.42.AM.mov

The id added inside the block, like this:

Original:

  1. This is a block Using this plugin command on the block
  2. This is a block ^xyzabc This what happens sometime on long block of text when I use QuickAdd macros combining this plugin with other commands
  3. This is ^xyzabc a block

Archie-2021 avatar Sep 19 '22 18:09 Archie-2021