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

REST api upload html with style in header

Hello,

I'm uploading html content to a page in Confluence using REST api. Bassicaly what I want is to upload a document in HTML format to a page. The HTML content has also style definition that applies to several controls inside it.

When I open the page in Confluence the style is no longer there and the default style is applied. How can I apply my custom style to a page, without using the Space Stylesheet? The style can differ from page to page in the same space.

How can I reference the style from another css file and use it in my page?

 

Thanks,

Daniel

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

7,070 views 6 6
Join discussion

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