Add copy to clipboard button to code blocks
What
- Closes https://gitlab.com/gitlab-com/gitlab-docs/issues/56
- For epic gitlab-com&4 (closed)
- Add copy to clipboard button to code blocks:
-
Implement ClipboardJS -
Make it work -
Style it -
Fix style -
Add tooltip saying "copied" -
Add button title saying "click to copy"
Review Apps:
Edited by Marcia Ramos