8

I'm trying to paste a file from Windows Explorer into a web page. When accessing event.clipboardData items, files and types are all empty.

If I take a screenshot (Ctrl+PrintScrn) or copy a plain text and then paste into the web page, items and types are populated just fine.

I attached the paste event on window. I'm using latest Chrome.

Adrian Ber
  • 20,474
  • 12
  • 67
  • 117

0 Answers0