Rich text editor in Figma
A text box with a toolbar, for writing that needs headings, lists and links.
Use it when people write longer content that needs simple formatting, like a description, a comment or release notes. Editor toolbar holds the formatting buttons; Rich text editor puts it on top of a Content slot; Rich text editor field adds a label, a hint and a character count.
Do
- Turn off groups people don't need, like Insert in a comment box.
- Support keyboard shortcuts, like Ctrl+B for bold.
- Show a count when there is a limit.
- Keep the toolbar visible while people scroll through long text.
Don't
- Use it where plain text is enough; use a Textarea.
- Add every tool by default; it crowds the toolbar.
- Hide errors in a toast; show them under the field.
- Lose people's writing on an error; keep the text.