Toggle Cloak

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.

 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

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