Rich Text Editor
Tiptap JSON editor and static renderer with production formatting, tables, media, mentions, and slash commands.
Preview
This is a live example. Interact with the available controls and use the keyboard to inspect the component's states and behavior.
Loading interactive preview…
Installation
pnpm dlx aq-ui@alpha add rich-text-editorAPI reference
Client moduleView full sourceQuick start
"use client"
import { RichTextEditor } from "@/components/ui/rich-text-editor"
<RichTextEditor />Exports
createRichTextExtensionsfunctionEditorAssetUploadAdaptertypeRichTextDocumenttypeRichTextEditorconstRichTextEditorContentfunctionRichTextEditorContentPropsinterfaceRichTextEditorPropsinterfaceRichTextEditorStatusBarfunctionRichTextEditorStatusBarPropsinterfaceRichTextEditorToolbarfunctionRichTextEditorToolbarPropsinterfaceRichTextMentionItemtypeRichTextMentionProvidertypeuseRichTextEditorfunction
Registry dependencies
button, code-highlighter, rich-text-html, rich-text-renderer, separator, upload, use-rich-text-editor, utils
Package dependencies
@tiptap/core@^3.30.1, @tiptap/react@^3.30.1, lucide-react@^1.31.0
Files
- components/ui/rich-text-editor.tsx