TTextareaOutput

type
Form & Input

Output format of the rich-text textarea — controls how the editor DOM is serialised back into the v-model string.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

html
Emits sanitised HTML (allowlist on tags, attributes and URL schemes). Preserves rich formatting such as bold, italic, links and lists.
markdown
Emits a CommonMark-flavoured subset (bold, italic, links, lists, headings, code). The <u> tag is preserved verbatim because vanilla Markdown has no underline syntax.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Choosing Markdown output

html