0 Votes

Changes for page Expand

Last modified by Ryan C on 2025/04/30 07:54

From version 5.1
edited by Ryan C
on 2025/04/30 07:54
Change comment: Migrated property [executionIsolated] from class [XWiki.WikiMacroClass]
To version 3.1
edited by Ryan C
on 2025/04/15 22:48
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,9 +1,7 @@
1 1  ## Compatibility patch: redirect {{expand}} to {{expandable}}
2 2  #set($start = ($expanded == "true") ? "expanded" : "collapsed")
3 3  
4 -<div class="expand-wrapper">
5 5  {{expandable title="$!title" start="$start"}}
6 6  $!xcontext.macro.content
7 7  {{/expandable}}
8 -</div>
9 9