In an Angular 7 application, we're using html-to-image to render an HTML block into a png, we save that image using file-saver.
htmlToImage.toBlob(element).then(function (blob) {
saveAs(blob, `image.png`);
});
This is working well, but the business requirement is to put that image into the clipboard so it can be pasted in another tool (Word, Excel...).
Have done some googling about the Async Clipboard API, but it seems the API isn't supported by all the browser's yet.
Is there any workaround for this to work without relying on the Clipboard API?