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

Is there a list with allowed CSS for static macros?

Hi, 

I am currently working on a static macro for confluence cloud and struggle with styling the elements of my macro.

The problem is, that some css properties are stripped from my *.hbs files. I am aware that the *.hbs must be valid Confluence Storage Format (https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html). However, there are no hints which attributes are allowed and which not.

So far I found out, that the following are not allowe:

  • calc()
  • position

1 answer

0 votes
Shannon Atlassian Team Sep 27, 2019

Hello @seebaer1986,

Welcome to Atlassian Community; it's nice to meet you!

You can only return Confluence Storage Format with a Static Content Macro. You may also be interested in this discussion on our Developer Community:

If you have any further questions about this, I would recommend that you redirect your search to our Atlassian Developer Community. There, you will find that there are others like yourself who are developing for Confluence Cloud and are able to answer your questions.

I hope this helps clarify things, but do let us know if you have any further questions.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

40,702 views 28 130
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