Click to copy in confluence

Sunil Veeramuthu April 2, 2014

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?

1 answer

1 accepted

2 votes
Answer accepted
NotTheRealStephenSifersNOPENOPENOPENOPE
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 2, 2014

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

eskensberg January 16, 2020

the link is broken, is there a solution?

Like Deleted user likes this
Curzon Dax February 17, 2020

Anyone? :-)

Like Deleted user likes this
Rounak Datta October 6, 2020

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.DZ0pE5o

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events