DEV Community

Joe Steinbring
Joe Steinbring

Posted on • Originally published at blog.jws.app on

How do you interact with the clipboard using JavaScript?

This should be a pretty quick post. I wanted to explore how to Copy/Cut/Paste on a webpage. I figured how to do Copy and Cut pretty easily but Paste was a different story.

So, why isn’t paste working in the pen? It looks like as of Chrome 39, you can only do it after declaring the clipboard permissions in the manifest file. Am I going to do that for this demo? Of course not. 🙂

Have a better way to do this … or a easy solution for fixing paste? Please drop a comment, below.

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more