Last modified by Frank Fock on 2026/04/03 11:52

From version 7.1
edited by Frank Fock
on 2026/04/03 11:52
Change comment: Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.30.1]
To version 1.1
edited by Frank Fock
on 2025/01/26 23:11
Change comment: Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.25.5]

Summary

Details

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