Changes for page APIMacro

Last modified by jklein on 2025/06/24 11:07

From version 31.11
edited by jklein
on 2025/06/02 14:53
Change comment: There is no comment for this version
To version 31.17
edited by jklein
on 2025/06/02 15:08
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,8 +1,5 @@
1 1  .showhide-wrapper {
2 - margin: 20px 0;
3 - border: 1px solid #ccc;
4 - border-radius: 6px;
5 - background-color: #f9f9f9;
2 + margin: 6px 0 20px;
6 6   overflow: hidden;
7 7  }
8 8  
... ... @@ -11,7 +11,6 @@
11 11   background-color: #f7f7f7;
12 12   border-radius: 4px 4px 0 0;
13 13   padding: 10px 12px;
14 - margin: 30px 0 0;
15 15   cursor: pointer;
16 16   user-select: none;
17 17  }
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -26,7 +26,7 @@
26 26   data-show-duration="$effectduration"
27 27   data-show-effect="$effect">
28 28   <div class="showhide-header-flex">
29 - <div class="showhide-title">$title</div>
29 + <div class="showhide-title">{{wiki}}$title{{/wiki}}</div>
30 30   <div class="showhide-arrow">&#9654;</div>
31 31   </div>
32 32   </div>
© Aagon GmbH 2025
Besuchen Sie unsere Aagon-Community