Can I embed the expand macro inside a Confluence table?

Camélia Viallet June 12, 2017

I did it and it worked fine in Preview mode, but when I published my page, the expand macro did not work. I click on it and the cell does not expand.

It works properly outside of the table. 

It works fine for the first 3 seconds before the left-side menu is loaded. Then it does not anymore.

What to do? 

Thank you!

3 answers

0 votes
Deleted user January 4, 2021

I was able to add an expander macro into a cell within a table in Confluence Cloud and it didn't move etc. 

Expand Macro in Confluence table cell.png

0 votes
sknowles
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!
December 2, 2020

Bummer, could really use the expand macro inside cells in a table. 

0 votes
Miranda Rawson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 12, 2017

Hi Camélia,

Yes, you can add an expand macro inside a table cell.  If you're having issues with this, it may be related to how you're adding it.  We've seen issues when the expand macro is copy-pasted from view mode.  Are you having this issue when adding a fresh expand macro and not copying and pasting?  

Camélia Viallet June 12, 2017

Hi Miranda,

Thanks for your answer. Yes I'm having the same issue with freshly added expand macros.

It does seem to work in the very first seconds after I reloaded the page, but it doesn't anymore after 2-3 seconds...

Thank you

Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2017

Hi Camélia,

Do you inset Expand macro into the header row of a table? If so, there is an issue with table sorter.

Camélia Viallet June 12, 2017

No, it is in a regular cell, not in the header row. 

Thank you for your answer!

Miranda Rawson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 14, 2017

Hi Camélia,

Your comment about it not working after the left side bar loads made me wonder if you have a third-party add-on which is interfering with the expand macro.  So I'd ask you to try the following: 

  • Run Confluence in Safe Mode
  • Try in another browser

In both cases test to see if the expand macro works again.

Let me know how it goes!

Jonathan Phipps
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 6, 2017

Also observing this issue since the latest UI updates..

Unable to test safe mode or another browser due to restrictions.

dostrander-aptos-com
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 10, 2017

Also observing this issue recently only, possibly since the latest UI updates.

Firefox, Chrome, IE all yield the same results. 

Rodrigo
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 21, 2017

Hi @Miranda RawsonI am having the same issue with an Expand into a regular cell created from a fresh macro. and copied the Expand content from a notepad (simple text)

I am using Chrome Version 56.0.2924.87 (64-bit)

Deleted user December 10, 2019

macroissue.PNGThe latest version of Confluence with different tables does not support adding the macro to a row. It drops it to the bottom, outside, of the table.

Like # people like this
Jennifer Tupaea February 10, 2020

I have found the same issue. 

Vani Narayana
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!
June 10, 2024

I have the same issue. Works on the page. Does not work when added inside a table cell. Please help.

thiago
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!
June 24, 2024

If you ever bumped into this, this happens because of how an expand is created. When you create an expand, its type is "expand", but when you create inside a table the expand type is "nestedExpand", probably due to some CSS styling issues. To be able to overcome that, you can create a new empty macro inside de table cell and paste the content from the old expand to the new expand. This will solve 80% of the cases.

Ugh, it seems other people already come up with this solution, though. :P

Other corner cases like having a table cell with and expand that has a table inside itself, that wouldn't work (or at least I was not able to come up with an acceptable solution)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events