@mocanvas/mocanvas · function
declare function RichTextArea({ richText, text, onChangeRichText, ...rest }: RichTextAreaProps): react.JSX.ElementThe editable surface behind a rich-text label.
Falls back to the plain-text area when no rich-text editor factory has been registered — TipTap is an optional peer dependency, and an app that has not installed it should still be able to edit the text it can see.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.