IRichToolbarEmits

interface
Form & Input

Emit signature for the internal <OrigamRichToolbar> sub-component of OrigamTextareaField. Surfaces a single "format" event carrying the command id and an optional value (URL for link insertion) so the textarea can apply the formatting to its content model.

TypeScript

Definition

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

typescript

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Handling the format event in a custom toolbar

html