Rich-text field
WYSIWYG editor for formatted content.
Use for article bodies, long descriptions, and page content.
Options
| Key | Description |
|---|---|
format |
Values: markdown, html. |
switcher |
Show or hide the Editor / Source mode switch. Defaults to true. |
media |
Media source for inserted images (e.g. "content_images"). Set to false to disable media. |
path |
Default image folder (e.g. "blog"). |
extensions |
Allowed image extensions (e.g. ["png", "webp"]). |
categories |
Allowed image categories. Values: image. |
rename |
If true, uploaded images get a random filename plus the original extension. |
Example
- name: body
type: rich-text
options:
media: content_images
path: blog
rename: true
switcher: true