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

center

Table of contents

Description:

This key toggles whether CloudCannon will display a tool in your WYSIWYG toolbar to center align selected text by toggling a class name for that text block.

Setting this key to true will enable a tool in your WYSIWYG toolbar to center align selected text. The value is the class name to align the text. The styles for this class must be defined in the styles file.

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