TEXTAREA_MODE
enum
Form & Input
TypeScript enum for the render mode of OrigamTextareaField — plain (legacy textarea) or rich (contenteditable).
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- TEXTAREA_MODE.PLAIN
- Legacy mode — uses a native <textarea> element with a raw string v-model.
- TEXTAREA_MODE.RICH
- Rich text mode — uses a contenteditable surface; v-model emits sanitised HTML or Markdown depending on the output prop.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using the enum in script setup