copy-to-clipboard icon indicating copy to clipboard operation
copy-to-clipboard copied to clipboard

Copy stuff into clipboard from your browser using JS

Results 50 copy-to-clipboard issues
Sort by recently updated
recently updated
newest added

If `style` parameter isn't specified, this forces a text/plain copy to make it easier to work with word processors. This also changes the example code to exhibit the bug of...

I have some html I need to copy to clipboard in order to paste into a MailChimp template. Everything was working fine the way I expected it too, but suddenly...

Hi. I am using the library in my project and I need this functionality. So I decided to contribute.

Hey there. I'd added the library to my project and it'd worked well, so I decided to make a little contribution as a favour. I see that you've been having...

I have a very specific issue in Chrome. The first attempt to copy the content of an input content fails because somehow when `document.body.appendChild(mark)` is called in `copy()` the selection...

This is pretty much the same issue as [#43](https://github.com/sudodoki/copy-to-clipboard/issues/43) but now the background is grey instead of yellow. Do you know what might cause this and if there is a...

🔨The ends of lines don't work correctly in the created layer, `textarea` element is necessary for correct work.

given https://bugs.chromium.org/p/chromedriver/issues/detail?id=30

test