static-cms/website/content/docs/widget-text.mdx

18 lines
412 B
Plaintext
Raw Normal View History

2022-09-30 11:39:35 -04:00
---
group: Widgets
title: Text
weight: 25
2022-09-30 11:39:35 -04:00
---
The text widget takes a multiline text field and saves it as a string. For shorter text inputs, use the string widget.
- **Name:** `text`
- **UI:** HTML textarea
- **Data type:** string
- **Options:**
- `default`: accepts a string; defaults to an empty string
- **Example:**
```yaml
- {label: "Description", title: "description", widget: "text"}
2022-09-30 11:39:35 -04:00
```