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

code

Table of contents

Description:

This key toggles whether CloudCannon will display tools in your WYSIWYG toolbar to turn selected text into inline code and selected text into a code block.

Setting this key to true will enable two tools in your WYSIWYG toolbar to turn selected text into inline code and selected text into a code block.

Appears in:
├── _inputs
│   └── *
│       └── Rich Text Input
│           └── options
│               └── code
└── _editables
    ├── content
    │   └── code
    └── block
        └── code
Type:
boolean
Default value:
false
Examples:
Open in a new tab