Skip to main content
Big news! Interval has been acquired by Meter. Learn more →

io.input.richText

Requests rich text input and returns a string of HTML.

Usage

const body = await io.input.richText("Email body", {
helpText: "Please include user activation information.",
});
interval.com

Props

defaultValue

Optional

string

Default value for the input.

disabled

Optional

boolean

Whether the input is disabled, preventing edits to the `defaultValue`.

helpText

Optional

string

Secondary label for providing additional context. Supports inline markdown elements like bold, italics, and links.

placeholder

Optional

string

Text to display in the input when no value is set.

Returns

string

Did this section clearly explain what you wanted to learn?
On this page