Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,996
Community Members
 
Community Events
168
Community Groups

Alignment in Draw IO diagrams is not working properly

Edited

Hi all,

We are using Confluence data center version 7.13.0, recently updated. After our Confluence update, Draw IO plugin is also updated to version 9.6.7. 

Since the update, the alignment in the diagrams does not work properly. Diagrams that are center-aligned are forced to be left-aligned. Does not work no matter how many times I edit it.

It looks center-aligned on edit mode, but on the published page it is reverted to left-aligned. 

Also, diagrams are not always responsive on the page and sometimes the scrollbars appear/disappear. 

 

Anyone facing similar issues with Draw-io and can share some insights?

 

Thanks in advance!

Nermine

 

1 answer

I think this is a known Confluence issue. What version of Confluence did you update from?

We did not have this issue before the update. We updated from 6.15.8 → 7.13.0.

We are experiencing this alignment issue as well.  We are on Confluence Data Center 7.4.3 with the latest security vulnerability update applied, soon to upgrade to 7.13.

We upgraded to draw.io version 9.7.2 this past Wednesday night (9/29/21) and users started having draw.io alignment issues the next day.

@David Benson _draw_io_ do you have a link to the known Confluence issue?  tia

As I recall a change to Confluence meant that an additional div had to be wrapped around the macro. Have a look at https://www.diagrams.net/doc/faq/configure-drawio-confluence-server. Try setting macrooutputtype to inline.

Ah no, it's https://jira.atlassian.com/browse/CONFSERVER-35605. Setting inline won't help.

Before we added the wrapper div we didn't hit this, but we had isolation issues with other content, so it had to go in.

The ticket is about macros with wrapper divs (which Atlassian now require) not being able to center align.

So what would be the solution here then?

thanks!

Atlassian have to support alignment of macros, as the ticket describes.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events