trilium icon indicating copy to clipboard operation
trilium copied to clipboard

(Bug report) Copy link to clipboard copies the image to clipboard instead

Open meichthys opened this issue 8 months ago • 3 comments

Trilium Version

0.61.12

What operating system are you using?

Other Linux

What is your setup?

Local + server sync

Operating System Version

KDE Neon

Description

When clicking the Copy link to clipboard option in the attachments menu, the entire image is copied to the clipboard instead of the link to the image.

image

Ideally the user should be able to copy the entire image or the link to the image.

Error logs

No response

meichthys avatar Nov 04 '23 04:11 meichthys

Hello, I guess I missed this one.

What do you mean "entire image"? The meaning of "link" is that the clipboard contains an <img src="..." reference, but without the binary data.

zadam avatar Jan 07 '24 22:01 zadam

I think I mean binary data when I say "entire image"

meichthys avatar Jan 08 '24 02:01 meichthys

Could you please check here? https://evercoder.github.io/clipboard-inspector/

This is what I'm getting - no binary data:

 

zadam avatar Jan 09 '24 21:01 zadam