Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Can I toggle expand all Expand Macros in a page?


I have multiple Expand macros in a page that collects weekly meeting notes in a table. I use the Expand macros because the comments column can get very long and it creates a really long page. In order to reduce the long page, I can collapse the comments and it shrinks the rows. 

However, I cannot do CRTL+F to find text within a collapsed section. Is there a way to expand and collapse all the Expand macros on a page in one click?

This would really improve my workflow. Also open to other creative suggestions.

I could imagine a button on top of the page called "Expand all" / "Collapse all"

3 answers

2 accepted

@Shannon S - Can you confirm Tim's workaround is legit before I try it? Thanks!

Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 27, 2018

Hi Ray,

Just barging in because Shannon is not around. I tried Tim's workaround and it worked for me in Confluence 6.8 and on Confluence Cloud.



Thank you @Timothy Cameron!!
Works great :)

For those who can't read Medium at work, make a bookmarklet with this URL 

javascript:(function()%7B%24(".expand-control").each(function()%7B %24(this).trigger("click")%3B%7D)%7D)()

 but replace : with a colon.

This isn't working for me... Is there something that needs to be updated in the code?

Does not work for me either

2 votes
Answer accepted
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 22, 2017

Hi Ray,

Since this is not yet a feature, I went ahead and created the request for you:

Perhaps other users that happen upon your question will have other suggestions, but please feel free to vote and comment on that issue above with your usage case.

Kind regards,


Thanks Shannon, I'll follow this new request and hope for an update soon.

There's also another fix that doesn't rely on users having to add a button in the browser, instead the page author can add code on the page that will do it. I tested on a page in Server version 6.2.3 and it works. I'll also get our admin to create a custom macro so it will be available to all our users. It's in this community thread in the post from Ben Coughlan Nov 16, 2015 about inserting an HTML macro and using the code Ben provided:

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events