obsidian-pdf-plus icon indicating copy to clipboard operation
obsidian-pdf-plus copied to clipboard

[FR] resizable selection area?

Open SSmJaE opened this issue 5 months ago • 5 comments

hi, I just wonder if there any possible to update the selection area, after initially pasting the quote to the markdown file

it's two separate problems actually

  • update the backlink
  • update the quoted text with newly selected

I've noticed that the link to the annotation contains the selection area, like below

#page=60&selection=100,8,102,65

simply envision this, implementing the resize may depend too much on obsidian internals, and may take too much effort.

since now you can manage backlinks, just updating the backlinks may be more approachable. if we could update the selection query params in links, we can somehow emulate such resize behavior

the second problem may not be so easy, and if we use embedded with margin, maybe it is not necessary to implement this. but I am somehow concerned about the performance if you embed too many PDF viewer instances in tabs, especially when you open dozens of tabs.

the way how logseq implements this feature may give an inspiration. it establishes an external identifier manager, in which the annotation and the quoted are both linked to that identifier, once the annotation changes, the corresponding quoted text will also get updated. but this will also need too much effort.

by the way, is there any other way I could sponsor you? Neither GitHub sponsor nor buymeacoffee support PayPal, while I don't have any bank card which I can use directly on these websites

SSmJaE avatar Feb 05 '24 07:02 SSmJaE