diff --git a/vanilla/templates/static/js/copy-to-clipboard.js b/vanilla/templates/static/js/copy-to-clipboard.js index df78cd6..dd0dcf4 100644 --- a/vanilla/templates/static/js/copy-to-clipboard.js +++ b/vanilla/templates/static/js/copy-to-clipboard.js @@ -1,11 +1,3 @@ -(async function clipboard() { - const html = new Blob( - [ - `Button`, - ], - {type: 'text/html'}, - ); - const text = new Blob(['Button'], {type: 'text/plain'}); - const data = new ClipboardItem({'text/html': html, 'text/plain': text}); - await navigator.clipboard.write([data]); +(function helloWorld() { + console.log('hello world :)'); });