Toggle Cloak


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 this page:

FAQ on Confluence Server to Confluence Cloud migration


NameRequiredAvailable InMigratable to Cloud?Default ValueDescription
Cloak ID
Server, Data Center
The unique ID of the cloaked section to toggle.
An ID of @auto will toggle the next Cloak with an id of @auto.
Server, Data Center
If enabled, all other sections at the same level will be cloaked when this is shown.

Editor View

Tutorial Examples