- Description:
Configure the controls to edit a code block.
- Appears in:
├── _inputs │ └── * │ └── Rich Text Input │ └── options │ └── code_block_options └── _editables ├── content │ └── code_block_options └── block └── code_block_options- Type:
Object- Properties:
This key defines an editing interface for data with multiple predefined options.
Select inputs only allow one value.
Appears in:
code_block_options,_inputs.*.Show examplesHide examples
In this example, we have configured the
categorykey as a Select Input.Copied to clipboard_inputs: category: type: select label: Category options: values: - Blog - News - Events{ "_inputs": { "category": { "type": "select", "label": "Category", "options": { "values": [ "Blog", "News", "Events" ] } } } }- Examples: