Passed to RichTextField by a form that holds a string field.
optional
label: string
optional
placeholder: string
optional
rows: number
optional
maxLength: number
Counted in the editor and checked on submit, with a message. It overrides
a maxLength in rules.
optional
autoResize: boolean
optional
disabled: boolean
optional
editorRef: React.Ref<TextEditorHandle>
The editor's ref, for a caller that focuses it.
optional
onSubmit: () => void
Called on Ctrl/Cmd+Enter.