Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Creates a button to toggle a cloaked section between being visible and hidden. This macro is usually used in coordination with

...

a Cloak

...

macro.

To customize how the cloaked text looks, use

...

with Composition Setup to set various options such as toggle type, toggle zone, whether a cloak is opened or closed by default and other settings.

Note

 This macro is currently not available on Cloud.

Macros will be migrated along with the page, and no data will be lost after migration. On Cloud, macros are hidden in View mode, but are visible in Edit mode where they are marked as (Legacy). More details are available on this page:

FAQ on Confluence Server to Confluence Cloud migration 

Parameters

Name

Required

Migratable to Cloud?

Default Value

...

Description

Cloak ID

 Yes

No

@auto

The unique ID of the cloaked section to toggle.
An ID of @auto will toggle the next Cloak with an id of @auto.

exclusive

 Optional

No

false

If enabled, all other sections at the same level will be cloaked when this is shown.

Editor View

...

Macro Edit View

Not applicable.

Notes

Not applicable.

...

Tutorial Examples

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "toggle-cloak" and space = currentSpace ( )
labelstoggle-cloak