react-gluejar
react-gluejar copied to clipboard
Paste Button possible?
Congratulations on your wonderful work on this script.
I'm working on a project that will need to add a "Paste" button as alternative to "Ctrl+V". Is it possible to call the pasting method onClick?
Thank you!
AFAIK JavaScript cannot access the clipboard in "read" mode. It would be a security issue. Imagine you just copied some password or credit card number. A JS script in a page may read in a loop to spy on your clipboard.