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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.