Änderungen von Dokument Panel Macro

Zuletzt geändert von xwikiadmin am 2025/05/21 09:56

Von Version 6.1
bearbeitet von xwikiadmin
am 2025/05/21 09:22
Änderungskommentar: Migrated property [feature] from class [XWiki.WikiMacroParameterClass]
Auf Version 7.1
bearbeitet von xwikiadmin
am 2025/05/21 09:56
Änderungskommentar: Install extension [com.xwiki.pro:xwiki-pro-macros-ui/1.26.19]

Zusammenfassung

Details

XWiki.WikiMacroClass[0]
Makro-Code
... ... @@ -69,7 +69,8 @@
69 69   *#
70 70   #set ($macroBorderClass = 'macro-border')
71 71   #if ("$!classes" != '')
72 - (% class="macro-panel $classes" %)(((
72 + #set ($escapedClasses = $services.rendering.escape($classes, 'xwiki/2.1'))
73 + (% class="macro-panel $escapedClasses" %)(((
73 73   #else
74 74   #set ($macroBorderClass = "$macroBorderClass macro-panel")
75 75   #end
Makrobeschreibung
... ... @@ -1,1 +1,0 @@
1 -Display a panel with styles
XWiki.WikiMacroParameterClass[0]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Panel Title
XWiki.WikiMacroParameterClass[1]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Color of the panel border
Parameter-Typ
... ... @@ -1,0 +1,1 @@
1 +java.awt.Color
XWiki.WikiMacroParameterClass[3]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Width of the panel border (number without px)
XWiki.WikiMacroParameterClass[4]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Background Color of the panel
Parameter-Typ
... ... @@ -1,0 +1,1 @@
1 +java.awt.Color
XWiki.WikiMacroParameterClass[5]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Content text color
Parameter-Typ
... ... @@ -1,0 +1,1 @@
1 +java.awt.Color
XWiki.WikiMacroParameterClass[6]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Title background color
Parameter-Typ
... ... @@ -1,0 +1,1 @@
1 +java.awt.Color
XWiki.WikiMacroParameterClass[7]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Title text color
Parameter-Typ
... ... @@ -1,0 +1,1 @@
1 +java.awt.Color
XWiki.WikiMacroParameterClass[8]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Panel width (300px or 50%)
XWiki.WikiMacroParameterClass[10]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Panel Style classes allowing to add bootstrap classes to the panel
XWiki.WikiMacroParameterClass[11]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Panel border radius
XWiki.WikiMacroParameterClass[12]
Parameter-Typ
... ... @@ -1,0 +1,1 @@
1 +java.awt.Color
XWiki.WikiMacroParameterClass[14]
Parameter-Typ
... ... @@ -1,0 +1,1 @@
1 +java.awt.Color