How to copy text to the clipboard

Some people have been wanting to add a button to their project that puts some text on the clipboard when it is clicked. We’re thinking about a way we can make this very easy but in the meantime here’s a project that shows how you can roll your own.

It’s a button that has a pre-written Javascript interaction on it. Just copy/paste it to your project, add your text to its “clipboard text” field and customize the confirmation text if you want.

1 Like