vendredi 24 septembre 2021

JavaScript: copy text AND image to clipboard

I've got a fairly straightforward requirement to implement - a button on a webpage which will copy a block of text with an image in it to the clipboard.

I do know how to copy text and I know how to copy an image. As far as I can tell, I can't do both. Am I missing something or is it indeed not possible with JavaScript? Can anyone think of any alternative solution (I'd say Flash it it was 1995 :-) ).

Thanks a lot




Aucun commentaire:

Enregistrer un commentaire