Changes for page Expand
Last modified by Yana Oksner on 2025/04/30 10:28
From version 3.1
edited by Yana Oksner
on 2024/03/08 09:14
on 2024/03/08 09:14
Change comment:
Install extension [com.xwiki.pro:xwiki-pro-macros/1.16.0]
To version 4.1
edited by Yana Oksner
on 2024/04/08 11:44
on 2024/04/08 11:44
Change comment:
Install extension [com.xwiki.pro:xwiki-pro-macros/1.16.3]
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -7,12 +7,14 @@ 7 7 <details class="confluence-expand-macro panel panel-default" #if ($opened)open#end> 8 8 <summary> 9 9 <div class="panel-title"> 10 - <span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span> 11 - $services.rendering.escape($escapetool.xml("${wikimacro.parameters.title}"), 'xwiki/2.1') 10 + <span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span> 11 + $services.rendering.escape($escapetool.xml("${wikimacro.parameters.title}"), 'xwiki/2.1') 12 12 </div> 13 13 </summary> 14 14 <div class="panel-body"> 15 + 15 15 {{wikimacrocontent /}} 17 + 16 16 </div> 17 17 </details> 18 18 {{/html}} - Macro description
-
... ... @@ -1,5 +1,5 @@ 1 -Add the Expand macro to your page to provide content in an expandable / collapsible section. 1 +Add the Expand macro to your page to provide content in an expandable / collapsible section. 2 2 3 -This is one of Confluence's most popular macros. It's great for: visually reducing the amount of information on a page, breaking process information down into 3 +This is one of Confluence's most popular macros. It's great for: visually reducing the amount of information on a page, breaking process information down into clickable steps, hiding background or obsolete information, while still keeping it on the page for future reference. 4 4 5 -The macro is collapsed by default, people need to click each one to expand it. 5 +The macro is collapsed by default, people need to click each one to expand it. There's no way to expand all macros on a page at once, however all Expand macros are automatically expanded when you print or export the page to PDF.