TEXTAREA_OUTPUT
enum
Form & Input
TypeScript enum for the serialisation format of the rich-text textarea v-model — HTML or Markdown.
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_OUTPUT.HTML
- Emits sanitised HTML (allowlisted tags, attributes and URL schemes).
- TEXTAREA_OUTPUT.MARKDOWN
- Emits CommonMark-flavoured Markdown (bold, italic, links, lists, headings, code). Underline is preserved verbatim.
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