Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,457,719
Community Members
 
Community Events
176
Community Groups

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.

0 votes
KatyK Rising Star Jul 21, 2014

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

Atlassian Community Events