Display bug when embedding multiple Google Docs within expand macros?

Carlin Li June 15, 2021

When I embed multiple Google Docs under separated {expand} macros, only the first embedded document that you click to expand will display. Clicking to expand the other embedded documents will display a blank box, but will still span the width/height specified in the iframe parameters.

Confluence - expand + embed display bug.png

Is there any way to fix this?

I'd like to embed multiple Google Documents onto one page, and use the expand function to minimize clutter and help with scroll-ability. Users will only click to expand the document relevant to them, instead of having all embedded documents display at once when accessing the page.

 

Depending on how I embed the document (HTML vs {drive} macro vs widget connector), I also get an error

Confluence - embed error.png

that repeatedly pops up when I expand the embedded doc and does not go away until I refresh the page.

2 answers

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 4, 2021

Thanks I will take a look right now and see what happens when I do it.  Also have you tried multiple browsers?  Do you have the same issue in all browsers?

Carlin Li October 4, 2021

I've tried it on Microsoft Edge and Chrome. Same issue on both. I think this is just a weird interaction with the {Drive} macro when nested within an {expand} function. FWIW, the {Drive} macro is a 3rd party plugin, so it's not an official Confluence plugin.

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 4, 2021

Seems to be a bug with the plugin.  Have you reached out to the developer?  I was able to find out a work around where I added the HTML macro inside of the expand and then embedded the page using the iframe embed code provided by document page.  Not as easy but it worked.

Carlin Li October 4, 2021

I've reached out to their support teams in the past and they weren't able to recreate the issue. I eventually just closed out the support ticket and yeah, HTML was my workaround as well. It's not the cleanest since you have to define width and height parameters. The {drive} macro would fit the width of the page and also center the document by default.

 

Oh well, thanks for taking a look - I've made my peace with using HTML.

 

I'm curious though - did you test this out using the same version as me? I'm wondering if an upgrade to Confluence would help in any way.  

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 4, 2021

@Carlin Li 

What version of Confluence are you on so I can try and recreate?

Carlin Li October 4, 2021

Atlassian Confluence 7.4.11 (Cluster node: 4265b01f) is what I see at the bottom of each page

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events