DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
Categories
App Shell35
Auth20
Card43
Dashboard8
Dialog14
Empty State14
Event Calendar6
Flow4
Form12
Gantt4
Kanban Board10
List11
Navbar13
Onboarding9
Profile10
Rich Text Editor5
  • Document Editor
  • Wiki Page Editor
  • Contract Redlines
  • Collaborative Editor
  • AI Writing Assistant
Schedule10
Settings16
Sheet24
Stats2 meter cards moved here from Charts, 17 in all17
Timeline9
Whiteboard2
Wizard7

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.

Best for: A bounded Frame that scrolls its page inside, with a word, character and read time footer and a Keyboard Shortcuts popover

When to use

  • Documents written and kept inside a product: launch briefs, wiki pages, contracts, specs and plans
  • Review on the text itself, through tracked suggestions to accept or reject or threaded comments
  • Shared writing with live teammates, or with an AI assistant whose edits arrive for review

When not to use

  • Slash commands, @ mentions and tables are needed inside the page: use the Wiki Page Editor block
  • Each edit must be a tracked suggestion that a reviewer accepts or rejects: use the Contract Redlines block
  • The navigation layout around your pages, with no document editing in it: use the App Shell blocks
  • A top bar with a title, avatars and actions above a page you already have: use the Navbar blocks
  • A strip of formatting or alignment controls alone, with no document under it: use the Button Group component

Agent notes

  • DOCUMENT, DOCUMENT_META and COLLABORATORS in data.ts are the demo launch brief, its title and the avatar stack to replace
  • onSave receives the JSON once typing pauses for SAVE_DELAY_MS; without it the Saved label is a timer and nothing persists
  • The root Frame scrolls the page inside itself, so its host needs a bounded height
  • Each page.tsx wraps the root in an h-svh or min-h-svh column; inside an app shell drop it and size the root through className
  • Every schema starts from createRichTextExtensions in rich-text-extensions.ts; extend that list and keep it stable, as useEditor compares it by identity
  • Document typography is RICH_TEXT_PROSE in rich-text-content.tsx, built on theme tokens; restyle headings, lists, code and links there

Third-party API docs

  • Tiptap v3: API reference, docs, llms.txt
  • Sonner v2: API reference, docs
Markdownhttps://web.dev.reui.io/blocks/application/rich-text-editor/rich-text-editor-1.md
MCPget_block("rich-text-editor-1")
Installnpx shadcn@latest add @reui/rich-text-editor-1
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in the Document Editor Block

  • Alert Dialog
  • Avatar
  • BadgeReUI
  • Button
  • Button Group
  • Checkbox
  • Dropdown Menu
  • Field
  • FrameReUI
  • Input Group
  • Kbd
  • Popover
  • Separator
  • Skeleton
  • Toggle
  • Tooltip

Dependencies

  • @tiptap/extension-highlight
  • @tiptap/extension-list
  • @tiptap/extension-text-align
  • @tiptap/extensions
  • @tiptap/pm
  • @tiptap/react
  • @tiptap/starter-kit
  • cn
  • sonner

Shadcn Document Editor Block

Tiptap Document Editor With Formatting Toolbar, Link Bubble and Task Lists. Part of the ReUI Shadcn Application Rich Text Editor blocks collection.

Fluid rich text editor on Tiptap that fills any app shell content area: formatting toolbar with shortcuts, link popover and bubble, highlight colors, shadcn task checkboxes, edit and view modes, live word count. For docs, briefs, notes.

It is composed from Alert Dialog, Avatar, Badge, Button, Button Group, Checkbox, Dropdown Menu, Field, and more, so every part of it is a primitive you can restyle with your own design tokens.

What You Can Build With the Document Editor Block

  • Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
  • Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
  • Combine it with the other Shadcn Application Rich Text Editor blocks to assemble a full screen instead of a single section.

All Shadcn Application Rich Text Editor Blocks

The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.

  • Wiki Page Editor Tiptap Page Editor With Slash Commands, Mentions, Tables and an Outline Rail
  • Contract Redlines Tiptap Contract Redline Editor With Suggesting Mode and a Sticky Review Margin
  • Collaborative Editor Tiptap Collaborative Editor With Live Cursors, Presence, Offline Merge and Comments
  • AI Writing Assistant Tiptap AI Document Assistant With Streamed Suggestions, Step Trace and Review Dock

Related Shadcn Application Block Categories

  • App Shell (35) App shell layouts with sidebar, rail, or top bar navigation for dashboards, settings panels, and multi-page apps.
  • Auth (20) Login, register, forgot password, and two-factor authentication page layouts.
  • Card (43) Card components for content display, data summaries, and interactive elements.
  • Dashboard (8) Dashboard components and layouts that combine stats, charts, and tables into a complete overview screen.
  • Dialog (14) Dialog components for modal windows, alerts, confirmations, and content overlays.
  • Empty State (14) Empty state screens and no-data placeholders with recovery actions, onboarding prompts, and contextual guidance.

All Shadcn Block Groups

Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.

  • Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
  • Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
  • Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
  • Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
  • Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
  • Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
  • Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.

Frequently Asked Questions

When should I use the Document Editor block?

Use it for a bounded Frame that scrolls its page inside, with a word, character and read time footer and a Keyboard Shortcuts popover.

The Rich Text Editor category fits:

  • Documents written and kept inside a product: launch briefs, wiki pages, contracts, specs and plans
  • Review on the text itself, through tracked suggestions to accept or reject or threaded comments
  • Shared writing with live teammates, or with an AI assistant whose edits arrive for review

For slash commands, @ mentions and tables are needed inside the page, use the Wiki Page Editor block. For each edit must be a tracked suggestion that a reviewer accepts or rejects, use the Contract Redlines block. For the navigation layout around your pages, with no document editing in it, use the App Shell blocks. For a top bar with a title, avatars and actions above a page you already have, use the Navbar blocks. For a strip of formatting or alignment controls alone, with no document under it, use the Button Group component.

What is the Document Editor block built with?

Document Editor uses Alert Dialog, Avatar, Badge, Button, Button Group, Checkbox, Dropdown Menu, Field, Frame, Input Group, Kbd, Popover, Separator, Skeleton, Toggle, Tooltip. Installing the block through the ReUI registry pulls those dependencies in for you.

Can I restyle the Document Editor block?

Yes. It reads your design tokens, so switching style, radius, base color, font, or icon library in the customizer restyles it without touching the markup.

How should I use Shadcn rich text editor blocks in a real project?

Treat them as structured starting points. Keep the layout, hierarchy, and interaction ideas that work, then replace placeholder content, data wiring, and business logic with your own product requirements.
NextWiki Page Editor

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App Shell
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats2 meter cards moved here from Charts, 17 in all
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedAdded 2 new Data Grid Advanced blocks, 5 in all
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area ChartAdded a new Inbound Leads area chart block
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sankey ChartNew Sankey Chart category with 3 flow chart blocks
  • Slope ChartNew Slope Chart category with 2 rank-shift chart blocks
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity
  • AI UsageNew AI Usage category with 2 spend blocks

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users
  • Digital TwinNew Digital Twin category with 2 interactive 3D blocks

Templates

  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K
  1. Blocks
  2. Application
  3. Rich Text Editor
  4. Document Editor
MarkdownShare

Shadcn Document Editor

Fluid rich text editor on Tiptap that fills any app shell content area: formatting toolbar with shortcuts, link popover and bubble, highlight colors, shadcn task checkboxes, edit and view modes, live word count. For docs, briefs, notes.