Aligning Gliffy diagram

If I use the alignment buttons in the editor with a Gliffy diagram selected it appears to work, but as soon as the page is saved or previewed it reverts to left-alignment. Is there a way of aligning Gliffy diagrams? (Even inserting the macro manually {gliffy:name=...|align=right} fails.)

I'm using Confluence 5.1.3 and Gliffy 5.4.2. Similar issues seem to have occurred with other plugins:

https://answers.atlassian.com/questions/174103/diagramly-text-wrapping-bug

6 answers

This has been confirmed as a bug by Gliffy:

http://jira.gliffy.com/browse/GCONF-1488

The Gliffy bug has been closed as 'Won't Fix'.

Any idea what's up with that?

Hi,

Atlassian has some custom css hooks for getting image placement correct. However, the Gliffy tinymce editor doesn't always reflect placement behavior even for plain images. We would recommend using the Page Layouts feature in Confluence to place your diagrams how you want them to appear on your Confluence page.

If you have any further questions, please email us at support@gliffy.com

Thanks!

Katy

Gliffy Support

You can also "patch" the CSS in an embedded HTML component on the page.

<style>
.gliffy-container
{
    display: block;
    margin: 0 auto;
}
</style>

This will affect all Gliffy diagrams on the page.

Even though it doesn't work on the published page, you may still want to set the allignment on the diagram to "centered" just so that things don't look funky while you're editing the page.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

361 views 0 6
Read article

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