Clipboard API allows web apps to programatically react on cut, copy, and paste operations performed by the user as well as read from or write to the system clipboard directly on behalf of the user.
https://nectar.website/demo/web-apis/clipboard/arrow-up-right
You can refer to the code present in /partials/web-apis/clipboard.html file and use it accordingly.
/partials/web-apis/clipboard.html
https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_APIarrow-up-right
Last updated 3 years ago