Add ZeroClipboard support?
XhmikosR opened this issue · 5 comments
What do you think about this?
I could have a go after my current PR is sorted if you want.
Adobe is going to end linux support for flash. It might be a bit ironic to use a flash plugin on a website that is dedicated to linux users.
Just my 2 cents.
We could use a javascript solution without ZeroClipboard.
Or something similar
http://stackoverflow.com/questions/400212/how-to-copy-to-the-clipboard-in-javascript
http://stackoverflow.com/questions/7713182/copy-to-clipboard-for-all-browsers-using-javascript
http://css-tricks.com/forums/topic/copy-to-clipboard-pure-javascript-solution/
Link 1 and 2 are internet explorer only or require to be run as privileged code. Link 3 is about zeroclipboard. Sorry, but the browsers sandbox doesn't permit to copy something into the clipboard, and I think this is a sane approach.
If you really want copy&paste support, I'd contribute javascript that hitting ctrl+c on the page copies the text, without the need to highlight the code.
@micahflee what do you think about that?
The links were just for reference and they mention what you describe.
Anyway, I give up, I don't have to deal with this.
I understand your frustration, but html5 isn't designed to allow that :)
I hope you haven't regarded my responses as too negative.