Forums

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

HTML macro and <script> tag on confluence mobile

Mateusz Sz
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!
November 7, 2017

Hello there,

I've used the HTML macro and put inside some jQuery code in <script> and some css in <style>. It works well on desktop version, however when I switch to confluence mobile, the <script> tag vanishes from DOM, when the <style> sits on its place. Why this behaviour happen? Can I turn it off somehow, so my script tag stays on place?

Thanks for answers

1 answer

0 votes
itechpros
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!
January 6, 2018

We are also having that problem.  Docs say that User Macros are automatically included on Confluence Mobile.  They render in all desktop versions, including Safari, however don't render on actual mobile devices.  The script tag just seems to get striped out.

 

Seems this is a known issue for a long time: https://jira.atlassian.com/browse/CONFSERVER-38647

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events