☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

styles

Table of contents

Description:

This key toggles whether CloudCannon will display a dropdown menu in your WYSIWYG toolbar to apply a style to selected text.

Setting this key to true will enable a dropdown menu in your WYSIWYG toolbar to apply a style to selected text. Styles are the combination of an element and class name. The value for this option is the path (either source or build output) for the CSS file containing styles.

Appears in:
├── _inputs
│   └── *
│       └── Rich Text Input
│           └── options
│               └── styles
└── _editables
    ├── content
    │   └── styles
    └── block
        └── styles
Type:
string
Examples:
Open in a new tab