Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a code snippet to an expand means that Go Wide and Go Full Width are removed from the expand

Nathan Moore
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 1, 2025

When an /expand element is added to a page, there is the ability to "Go wide" and then "Go full width". When a /code snippet is added within the expand, this button is removed. 

Edit: this does not happen immediately, but after the expand loses focus and I return to edit it, the arrows on the right hand side are not there

Code snippets usually have the ability to do the same thing for wide and full width, but when they are inside the expand element they can only ever be as wide as that element.

So, the ability to go wide and full width is removed from the code snippet, but this ability is also removed from the outer expand element. 

I can select and cut the code snippet, go wide and then full width on the expand element, then paste the code snippet back within the expand to get the desired behaviour, but it would be nice to be able to go wide and full width without doing that. 

Is this behaviour expected? Is there anything I'm missing? 

1 answer

0 votes
Andy Gladstone
Community Champion
July 1, 2025

@Nathan Moore welcome to the Atlassian Community! 

I have tested this in a Confluence Cloud Premium environment and have no trouble expanding the expand (excuse the repetitiveness) macro to wide and full width when a code snippet is place in the expand macro.

Nathan Moore
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 1, 2025

Extra information, fresh document. no code added to the snippet:

Adding an expand and then code snippet works initially. 

If I click away somewhere else in the document the expand loses focus, and when I click back the arrow button does not reappear on the right hand side. 

I was able to get the arrow button back once while clicking around and using the six dot menu on the left hand side to select the expand, but not since. 

Removing the code snippet brings back the arrows button. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events