Copy to Clipboard Plugin


#1

I’d love it if someone could create a plugin where HTML code can be copied to the clipboard (for an example, kind of like Rafflecopter does). Basically, a text area with the code in it and a button beneath it that says “Copy to Clipboard.” When the button is clicked, whatever HTML code is in the text box is auto-copied to the clipboard.

Thanks!


#2

I was looking for a Wordpress plugin. Can a jQuery plugin be used on WP? I’m clueless about it, lol. :slight_smile:


#3

Ok, how do I email you? (Sorry if I’m being slow.)


#4

Yeah, I meant your email address. Thanks!


#5

Ok, I just emailed you, Shane.


#6

Have a look:

  1. https://www.google.com/search?q=jquery+copy+to+clipboard
  2. http://wordpress.org/plugins/wp-clippy

#7

I tried the wp-clippy before, it messed up the HTML and didn’t function properly. The jquery version didn’t work either, but I’ll try it again. Thanks!

Still hoping someone will develop a plugin that works with HTML though, that’s be lovely!


#8

There you go :slight_smile:



http://www.steamdev.com/zclip/



This is the only cross browser solution since it uses flash to copy the data to the clipboard.



It is not a WP plugin, but you could actually just use the javascript code directly in a page.