0 Votes

Changes for page Expand

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

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

Summary

Details

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