Tyler Sticka · 1mo · discuss
I added a “copy to clipboard” button to my site’s code blocks back in February. It works as you’d expect, except for one detail. Instead of the usual icon or color change to communicate when the copy succeeds, it mimics those tear-off tabs you sometimes see on paper flyers stuck to telephone poles and bulletin boards. Here’s a video: You can try it out in any post with code blocks, like this one, this one or even this one. Oh look, here’s one now: Language: HTML<blockquote> <p>I am just a copy of a copy of a copy</p> </blockquote> Originally, the...