Cloak

Cloak

This macro creates a cloaked section that can be toggled between being visible and hidden. This macro is usually used with the Toggle Cloak macro.

To customize how the cloaked text looks, you can use the Composition Setup macro 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, the macros will not function, but the contents are shown in both view mode and edit mode. In edit mode, they will also be marked as Legacy. For more details, see FAQ on the migration from Composition Data Center.

Parameters

Name

Required

Migratable to cloud?

Default Value

Description

id

 Yes

No

@auto

The unique ID of the cloaked section.
If set to @auto, the macro will generate an ID automatically.

visible

Optional

No

false

If enabled, the section will be visible initially. 

Related pages