This renders a WYSIWYG text editor. Outputs HTML.
const blogPostHtml = await io.input.richText('Create a rich blog post')
console.log(blogPostHtml) // <p>Cool blog post</p>
The label to render above the input.
Default value rendered in input. Default '<p></p>'
.
The placeholder to render within the input. Default undefined
.
An asynchronous function that takes unknown
input and outputs either true
or an error message string
to show the user.