Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a list with allowed CSS for static macros?

seebaer1986 September 25, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
September 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
AUG Leaders

Atlassian Community Events