Confluence Page issues with aui.css in HTML macro

JT March 19, 2018

I've created a page which includes an HTML macro with the following content (image and code block):

html-macro2.jpg

 

 

 

<!-- External dependencies -->
<script src="//unpkg.com/@atlassian/aui@7.6.3/dist/aui/js/aui.js"></script>
<link rel="stylesheet" type="text/css" href="//unpkg.com/@atlassian/aui@7.6.3/dist/aui/css/aui.css" media="all"/>
<!-- / External dependencies -->
HELLO, WORLD!

When I save the page the header menu bar selections with drop-downs not render or function correctly and the look-feel is different. Basically, the menu selections with drop-downs look different do not work.

page-issue.jpg

The problem seems to be with the "aui.css". When I remove the "aui.css" file the menu selections seems to work correctly. I've tried to link the file from other locations including locally but the issue persist. It really has me stumped. Anyone have ideas on how to resolve this issue?

BTW, If you're wondering why I'm doing this it's because, based on the examples, I need to include the "aui.css" in the HTML macro to do inline-dialogs.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events