Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

7 answers

A trick that I have found for this is that if you change the text type in front of the gliffy diagram to Heading 1, it will do the center align as expected.

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.

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

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

Any idea what's up with that?

This has been confirmed as a bug by Gliffy:

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: Fine Software

Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...

417 views 2 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you