3 changed files with 6 additions and 1 deletions
@ -0,0 +1,4 @@
@@ -0,0 +1,4 @@
|
||||
const fileInput = document.getElementById("file-upload"); |
||||
window.addEventListener('paste', e => { |
||||
fileInput.files = e.clipboardData.files; |
||||
}); |
Loading…
Reference in new issue