The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Javascript in Confluence page - how to?

Rumceisz
Contributor
September 1, 2015

Hi Everyone,

we'd make a button in a Confluence page with the users can give feedback. We made a javascript code but we cannot insert it to a page? Do you know which macro to apply here?

Thanks,
Rumi

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Alex Yasurek
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 1, 2015

HI,

You can use the HTML macro  and add the code directly on the page. You can also create a user macro and add it in there, then you can just add the user macro to the page. If its code that appears in many pages then you could also add it in the Custom HTML section in the Admin area.

 

Rumceisz
Contributor
September 1, 2015

Hi Alex, which HTML macro? We have 7 different HMTL...macro.

Alex Yasurek
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 1, 2015

Hi, The link below shows which one I am referring to. You first need to check if that macro is enabled though. https://confluence.atlassian.com/doc/html-macro-38273085.html

TAGS
AUG Leaders

Atlassian Community Events