format

On this page

Description:

This key toggles whether CloudCannon will display a dropdown menu tool in your WYSIWYG toolbar for structured text.

Setting this key enables a dropdown menu tool in your WYSIWYG toolbar for structured text. Setting this to true uses the default formats, restrict these formats with a space-separated string (e.g. format: p h1 h2).

Appears in:
├── _inputs
│   └── *
│       └── Rich Text Input
│           └── options
│               └── format
└── _editables
    ├── content
    │   └── format
    └── block
        └── format
Default value:
p h1 h2 h3 h4 h5 h6
Types:

This key toggles whether CloudCannon will display a dropdown menu tool in your WYSIWYG toolbar for structured text.

Setting this key enables a dropdown menu tool in your WYSIWYG toolbar for structured text. Choose the available formats with a space-separated string (e.g. format: p h1 h2).

Appears in: format.

This key toggles whether CloudCannon will display a dropdown menu tool in your WYSIWYG toolbar for structured text.

Setting this key to true will enable a dropdown menu tool in your WYSIWYG toolbar for structured text with the default formats.

Appears in: format.

Examples:
Open in a new tab