asdfdotdev / utm.codes

WordPress plugin that makes building analytics friendly links quick and easy.
https://utm.codes
GNU General Public License v2.0
10 stars 14 forks source link

Suggestion: copy to clipboard button for column "copy links" #25

Closed ErinPo closed 5 years ago

ErinPo commented 5 years ago

Something simple like https://github.com/zenorocha/clipboard.js/ could be used and would improve usability as users no longer need to use the keyboard to copy a link to the clipboard.

chrislarrycarl commented 5 years ago

Programmatic copying to clipboard is easy enough I don't think we'd need an additional library. However, I'm not inclined to automatically copy links on click because not all users have a clipboard manager so I'm not sure I'd want to impose on their clipboard just from a click.

We are selecting the input contents on click so I think that makes it pretty friendly for a keyboard shortcut copy and paste situation.