Renders a TextEditor bound to react-hook-form, for the forms that take a Markdown text (a dump's note, a playlist's description).

Functions

f
RichTextField<T extends FieldValues>(unnamed 0: RichTextFieldProps<T>): React.JSX.Element

Renders the editor with its label and the field's error. It must sit under a react-hook-form FormProvider, such as one given useApiForm's result.

Interfaces

I
RichTextFieldProps

Passed to RichTextField by a form that holds a string field.