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.

(warning) 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 the  [Draft] Migration of Security & Encryption Confluence from Server to Cloud is currently not supported but we can help....


Parameters

NameRequiredAvailable InMigratable to Cloud?Default ValueDescription
Cloak ID
 Yes
Server, Data Center
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
Server, Data Center
No
false
If enabled, all other sections at the same level will be cloaked when this is shown.

Tutorial Examples