Open JacobFischer opened 8 years ago
The only way I've seen that done is with some gross Flash stuff. If there's a proper JS way to do it, I'd be game, but no spooky Flash wrappers.
I used this at work. Just attach it to any div and you can trigger the copy onclick of a button, or automatically when you open the modal via an event.
It would be nice to have a "Copy to Clipboard" button next to the
Help
>View Clone Command
just like on GitHub.Example:
(Obviously make a better looking button than the one I stole from github)