Last modified by Scott Gagan on 2025/08/19 20:33

From version 7.1
edited by Scott Gagan
on 2025/08/19 20:33
Change comment: Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.27.3]
To version 6.1
edited by admin
on 2025/08/19 20:17
Change comment: Migrated property [contentOrder] from class [XWiki.WikiMacroClass]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.scottg
1 +XWiki.admin
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,3 +1,4 @@
1 1  .macro-column {
2 + display: table-cell;
2 2   padding: 5px;
3 3  }
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -4,12 +4,9 @@
4 4   #set ($style = '')
5 5   #set ($extraCssClass = 'withWidth')
6 6   #if ("$!xcontext.macro.params.width" != '')
7 - #set ($escapedWidth = $services.rendering.escape($xcontext.macro.params.width, 'xwiki/2.1'))
8 - #set ($style = "style='width: $escapedWidth'")
9 - #else
10 - #set ($style = "style='width:100%'")
7 + #set ($style = "style='width: $xcontext.macro.params.width'")
11 11   #end
12 - (% class="macro-column" data-width="$escapedWidth" $style %)(((
9 + (% class="macro-column" data-width="$xcontext.macro.params.width" $style %)(((
13 13   {{wikimacrocontent /}}
14 14   )))
15 15  #end