how to shrink a macro in edit mode

Macros take often a lot of space in display when editing. It is not user friendly as once set most of them have no interresting display in edit mode for end user. even more, it is pollluting reading space and some users can break them easily.

I would like to have a sort of plus minus button on any macro title so I indicate if I want it displayed shrinked or not in edit mode.

Is there any plugin or functionnality that does it in confluence ?

3 answers

Hi Samuel,

In Edit mode, macros are normally shown as a small grey rectangle, so they shouldn't take up much space. Unfortunately there's no way to hide them in Edit mode.

However, you can use the Expand macro to create an expandable section.  Add your macro to this, and then in Read mode the macro will be hidden until the user expands the section.

image2016-11-22 12:18:24.png

Sample of what I mean by macros taking space

Expand macro is for view mode, it has nothing usable in edit mode as it just make the used space even bigger. And in fact, in read mode I do not want it hidden ! their computed result is fine.

Some macros take a lot of space in edit mode when you would like to have a similar experience in edit mode than view mode.

I added an example in my question. Also code macro has a view shrinkable option, but in edit mode can be huge.

That is why having this expand/shrink button that memorize the last display choice in edit mode would facilitate integration by non experts of confluence.

Hi Samuel,

There's nothing in Confluence that'll do what you want in Edit mode, although I can see why it would be useful if you're using those nested plugins especially.

If you want to request this functionality you can add a feature request at

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,029 views 51 8
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you