The title says it all. Is there a way I can have a button alongside a code snippet on click of which the contents of the snippet will be copied to the clipboard?
looks like someone has already asked a similar question, see if this helps:
https://answers.atlassian.com/questions/14745/box-to-copy-code-embed-html-or-javascript-in-confluence
the link is broken, is there a solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think a quick way could be to use Code boxes for the portion of copy-able text. The code-boxes are inherently having the copy-to-clipboard inherently.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.