HTML Macro for Confluence Server

Khizer Saleem Malik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 29, 2021

Hi,

I'm curious to find out how I can use CDNs for CSS within the HTML macro on the Confluence Server. JS features work but all styling gets removed when I publish the page, the weird thing is under preview mode it works just fine, renders the CSS properly. 

From what I can tell, due to security reasons CSS CDNs are disabled, is there anyway I can enable them or is there any alternative, including the CSS within the HTML macro makes the file too large

1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 29, 2021

Hi @Khizer Saleem Malik , 

hm, in that situation I do recommend to find out solution without css, and do css tricks on Confluence side. 

Because it reduce infosec issue and you can control the css :) 

Khizer Saleem Malik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 29, 2021

on confluence side, meaning the stylesheets or just within the html macro itself?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events