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

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

What's New in Confluence Cloud – July 2020 Edition

Here’s another edition of “What’s New” this month in Confluence Cloud. Quickly (and more easily) adjust permission settings We know that sometimes the layers of space permissions and page restric...

18,581 views 22 80
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