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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Remove an outer Expand macro without losing its inner expands

I have a section of code( I don't remember the exact markup but you get the idea) that looks like this:



           (B) Expand text goes here


               (C) Expand text goes here




I would like to remove the outer expand, leaving the inner expands in place.  Currently the only way I know to do this is to cut/paste the inner ones (lots, in my case) to the outside until the outer expand is empty and then remove the now-empty outer expand.

Any better ideas?



1 answer

1 accepted

0 votes
Answer accepted
Bill Bailey Community Leader Jun 14, 2019

If it were me, I would install the source editor plugin (an older version is still free), then you can edit the storage code and just remove that macro instance.

THANKS Bill,  We are installing the plugin and will test this out.  I will update this question with the results.  



This solution worked great.  I was able to see the html code and make changes.  It was a bit nerve wracking because of the complexity of the page (which is what got me into trouble in the first place...) but I figure that on this issue, I saved at least an hour or 2 over recoding the page using the normal wiki editor.



Bill Bailey Community Leader Jun 18, 2019

I use the source editor a lot:

  • Sometimes to debug a page to see what exactly is going on.
  • Other times to clean out div and span tags that get pasted in
  • I user Regex for more complicated cleanup or replacement.
  • A quick way to copy complex blocks, or as a quick way to move all the headings up one notch (when authors start with a H2 for example).

@Bill Bailey How do I locate the source editor plugin? I'm still relatively new to confluence. Thanks so much!

Bill Bailey Community Leader Sep 04, 2019

Pass this link to our admin for him/her to install and then enable your access:

Like Brittany Williams likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

480 views 24 9
Join discussion

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