Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Plugin or Method in Confluence to click on the text and the text is highlighted and copied.

Hello!

 

Subj.

 

I have a big-big text in confluence. I want to be able to click on this text, then this text will be selected and copied to the clipboard.

2 answers

Confluence doesn't have a "copy to clipboard" macro, but if you have HTML enabled you could customize the page with your own html macro (which you can paste js/css into as well), e.g. https://stackoverflow.com/questions/45071353/copy-text-string-on-click has a few examples how this could be done.

0 votes
Fabian Lim Community Leader Dec 06, 2021

Hi @Viktar Bachkouski

Why don't you just use ctrl+c or cmd+c?

Regards

Bill Bailey Community Leader Dec 06, 2021

Or right-click  -> copy?

Like Fabian Lim likes this

@Bill Bailey @Fabian Lim Because text very long: 1 billion symbols

Bill Bailey Community Leader Dec 07, 2021

If it encased in p tags, then triple clicking the text will select the entire paragraph.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

37,071 views 27 124
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you