Forums

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

{expand} user macro; macro body is not expanding

alana fernando January 17, 2018

I have created a user macro exactly like expand macro.

for some reason text i have entered in the macro body is not expanding. what am i doing wrong? 

<div class="notice notice-success">
<h1 style="color:#80D651;"><span class="aui-icon aui-icon-small aui-iconfont-$paramicon"> </span> $paramtitle</h1>
<input id="toggle" type="checkbox">
<ac:macro ac:name="expand"> $body</ac:macro>
</div>
</div>

screenshot-atlmockupgrade.millenniumit.com-2018-01-18-11-40-45.png 

1 answer

1 accepted

1 vote
Answer accepted
Thomas Schlegel
Community Champion
January 18, 2018

Hi Alana,

this works for me:

<ac:structured-macro ac:name="expand">
<ac:rich-text-body>$body</ac:rich-text-body>
</ac:structured-macro>
alana fernando January 18, 2018

Thanks Thomas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events