Support "copy to clipboard" for YUI example
- on top of every examples in the YUI document, there are "view plain" |
"print" | ? actions. Is it possible to add a "copy to clipboard"?
Given that we always need to copy sample code from the YUI
examples/docs, and it's less convenient to click "view plain" and then
select content from the pop-up window
Other sites are doing that, for example, dzone has the "copy to
p.s. if the idea is adopted, please don't follow dzone to show a ok
confirmation prompt. it's annoying.