Changes for page Show Hide Macro

Last modified by jklein on 2025/06/02 14:04

From version 11.1
edited by jklein
on 2025/06/02 10:06
Change comment: There is no comment for this version
To version 14.2
edited by jklein
on 2025/06/02 12:21
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Use this extension
... ... @@ -1,1 +1,1 @@
1 -currentPage
1 +onDemand
XWiki.StyleSheetExtension[0]
Use this extension
... ... @@ -1,1 +1,1 @@
1 -currentPage
1 +always
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -28,8 +28,8 @@
28 28   data-show-message="$showmessage"
29 29   data-hide-message="$hidemessage">
30 30   <div class="showhide-header-flex">
31 - <div class="showhide-title">$title</div>
32 - <div class="showhide-icon">$showmessage</div>
31 + <div class="showhide-title">$title</div>
32 + <div class="showhide-icon">$showmessage</div>
33 33   </div>
34 34  </div>
35 35  {{/html}}
© Aagon GmbH 2025
Besuchen Sie unsere Aagon-Community