Toggle Cloak

Toggle Cloak

This macro 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, you can use the 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. For more details, refer to FAQ on the migration from Composition Data Center.

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.
If set to @auto, the macro 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

Related pages