# Rich text editor

> What is the Rich text editor component in Windmill? Let users enter formatted text with layout, files and video support.

The Rich text editor component allows to have to user enter text with a layout, on top of files or videos.

![Rich text editor API](../../assets/apps/4_app_component_library/rich_text.gif)

The following section details Rich text editor component's specific settings. For more details on the App editor, check the [dedicated documentation](../0_app_editor/index.mdx) or the App editor [Quickstart](../../getting_started/7_apps_quickstart/index.mdx):

## Controls

This component can be controlled by [frontend scripts](../3_app-runnable-panel.mdx#frontend-scripts) using these functions:

| Name   |        Parameters        | Description          | Example       |
| ------ | :----------------------: | -------------------- | ------------- |
| [setValue](../3_app-runnable-panel.mdx#setvalue) | id: string, value: any | Manually set or force the value of a component. | `setValue(id: 'a', value: 17)` |

## Rich text editor configuration

| Name          |  Type  | Connectable | Templatable | Default | Description                          |
| ------------- | :----: | :---------: | :---------: | :-----: | ------------------------------------ |
| Placeholder   | string |    false    |    false    | Type... | The text input placeholder.          |
| Default value | string |    true     |    false    |         | The default value of the text input. |

## Outputs

| Name   |  Type  | Description                                                                          |
| ------ | :----: | ------------------------------------------------------------------------------------ |
| Result | string | The Rich text editor input value, in HTML-like syntax within the Quill delta format. |
