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,369,309
Community Members
 
Community Events
168
Community Groups

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 S 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

Atlassian Community Events