tiptap
Tiptap vs Lexical vs Plate.js: Block Editor for SaaS Boilerplates 2026
Compare Tiptap, Lexical and Plate.js for SaaS editors by document model, UI work, collaboration setup, MIT licensing, optional paid services and AI integration.
Contents
Contents
Choose Tiptap for a ProseMirror-based editor you can customize, Lexical when you want to own the editor interface and behavior, or Plate.js for a Slate-based React editor with optional copyable UI components. Their open-source repositories use MIT licenses. Decide separately whether to buy templates, managed collaboration or AI services: those costs and integration duties do not follow from the core license.
At-a-glance cost and ownership matrix
This is a shortlist by implementation needs, based on official sources read November 2, 2026 (UTC). The linked documentation supports capabilities; the fit judgments are our recommendations.
| Decision | Tiptap | Lexical | Plate.js |
|---|---|---|---|
| Document model | ProseMirror-based framework | Lexical editor state and nodes | Slate-based editor and plugins |
| Open-source license | MIT repository | MIT repository | MIT repository, subject to package exceptions |
| UI ownership | Headless API; optional components/templates | App supplies layout, toolbars, menus and styling | Headless runtime plus optional Plate UI copied into your app |
| Block dragging | Public Drag Handle extension; package declares MIT | Evaluate your chosen block interaction and UI implementation | Evaluate the selected Plate UI kits and custom blocks |
| Collaboration path | Yjs binding; Hocuspocus or a managed service | Choose the documented Yjs binding and matching provider | Yjs/slate-yjs; documented providers include Hocuspocus |
| Optional commercial products | Tiptap Platform and paid extensions | Any hosting or commercial integration you choose separately | Plate Plus components/templates are a separate offer |
| AI cost scope | Paid Tiptap AI features or your own model integration | Your model endpoint, UI and provider arrangement | MIT AI package; application endpoint and model/gateway credentials |
| Migration work to evaluate | Existing ProseMirror schema and custom extensions | Existing Lexical nodes, state and collaboration layout | Existing Slate values, plugins and copied components |
Key takeaways
- Treat the editor package, component/template license, collaboration service and model usage as separate decisions.
- Tiptap's public drag-handle package is not Pro-only. It still needs integration and styling.
- Plate AI does not establish a mandatory per-project Plate subscription. The documented credentials connect the application to a model gateway.
- Collaborative editing needs a compatible document binding, transport and persistence plan. Adding an extension does not finish the SaaS integration.
Document models and migration
A block editor combines document structure with interactions such as inserting, selecting and moving blocks. Start by listing your actual block types: a support-note field and a workspace with embeds have different requirements. A Notion-like demo does not establish that a starter includes your permissions, uploads or export behavior.
Tiptap builds on ProseMirror, Lexical maintains its own editor state, and Plate exposes a Slate-based model. For Tiptap vs Slate, Plate is relevant because it adds plugins and optional UI around Slate. It is not a comparison of bare Slate with Tiptap. See the Tiptap overview, Lexical introduction and Plate Core API.
Our migration recommendation is to inventory saved documents before choosing an editor. Include custom blocks, inline metadata, comments and attachment references. Define how each will survive an export and import. Do not assume a JSON field can move unchanged between engines, or that two Yjs integrations use the same document layout.
For an existing product, make successful conversion of representative documents a shortlist requirement. Keep the original content available until you have checked the converted output and editing behavior. Avoid choosing an engine solely because its demo resembles your intended interface.
Tiptap capabilities and commercial scope
Choose Tiptap if ProseMirror's model fits your documents and you want an extension-based API with control over presentation. Its overview describes a headless framework and optional React UI components/templates. “Headless” does not mean you must invent every button, but you remain responsible for fitting the interface into your application.
The public drag-handle package declares MIT, and its documentation explains installation and custom handle rendering. Budget for selection, keyboard alternatives and block behavior alongside dragging; package availability alone does not settle those product requirements.
Separate that package from the commercial Tiptap Platform. The vendor offers paid AI and other features with subscription or managed-document requirements. Review each desired feature's current terms rather than assuming every official extension is free or every form of collaboration requires the Platform.
For a boilerplate, inspect the actual extension list. A generic rich-text field is not proof of tables, comments, file handling or a complete collaborative workspace. Ask which parts are application code, open-source packages and optional paid dependencies before committing to the starter.
Lexical UI ownership and collaboration bindings
Choose Lexical if your team wants to define the editing experience around its own node types and commands. The introduction describes a framework-agnostic web core, optional packages and React bindings. Your application supplies the interface and storage. This makes the scope of the UI work a central selection criterion.
Lexical documents accessibility and performance as project goals. This guide has not benchmarked the three editors or audited their completed interfaces, so it does not name a speed or accessibility winner. Test your toolbar navigation, focus handling, selection and document sizes in the actual product. A framework's goals do not certify the UI built around it.
The React collaboration guide uses @lexical/yjs, the Yjs 13 binding, and documents y-websocket as its officially supported connection provider for that path. The separate Yjs 14 binding, @lexical/y, is experimental at this source check. It has different document layout and version requirements. Treat adopting it as an explicit compatibility decision rather than substituting package names in an older example.
These are web-editor paths. Evaluate any native mobile requirement separately; this comparison provides no React Native compatibility promise.
Plate UI, AI licensing and Plate Plus
Choose Plate if a Slate-based React editor fits your document model and you want to adapt copyable UI. The introduction distinguishes the headless runtime from optional Plate UI components. Copied components become code you maintain, so inspect their styling, dependencies and update path before treating them as a permanent shortcut.
For a team already using shadcn, the relevant question is whether those components fit its existing design system. Our shadcn Registry comparison covers the wider component-ownership decision.
The @platejs/ai package declares MIT. Its AI documentation shows an application endpoint and AI Gateway credentials for the model request. Those are model-service credentials, not evidence of a required Plate AI license key. The package license does not cover model usage or hosting charges.
Plate Plus is a separate commercial component and template offering. Its page describes per-developer licensing. Check the exact template or component you plan to copy; the open-source repository license does not automatically apply to a separately purchased product.
Plate's collaboration documentation uses Yjs with slate-yjs and describes providers including Hocuspocus, IndexedDB and WebRTC. That gives you integration options, not an automatically provisioned production backend.
Collaboration setup friction
For Tiptap 3.x, the Collaboration extension docs say to disable StarterKit's UndoRedo extension: Collaboration supplies its own history. Follow the version-matched configuration. A local Y.Doc only establishes the document object; it does not connect users or persist their changes.
Hocuspocus provides a Yjs collaboration server/provider path. Self-hosting means assigning ownership for its deployment and operation. A managed service changes that ownership, but still needs integration with your product's users and document permissions. Do not assume a generic Yjs server is officially supported by every editor binding; use the provider guidance for the path you selected.
Before accepting a starter's “collaboration included” claim, use this implementation checklist:
| Check | Evidence to request from the starter |
|---|---|
| Document access | The server rejects a user who cannot access the tenant or document |
| Saving and recovery | Edits survive reconnecting, server restart and restoration from a backup |
| Undo behavior | Undo reverses the intended local action while another user is editing |
| Presence and comments | The implementation distinguishes temporary presence from stored discussion data |
| Version changes | Old saved documents remain readable after the planned editor upgrade |
These are acceptance checks we recommend, not test results for these libraries. Run them with your authentication and storage setup. For choosing broader realtime infrastructure, see Convex vs Liveblocks vs Supabase Realtime.
AI endpoint responsibilities
Plate's AIKit integration supplies an editor-side starting point for streamed responses. Tiptap offers commercial AI features. For a custom endpoint, the Vercel AI SDK comparison helps separate model orchestration from editor behavior.
Our recommendation is to choose the request and review flow before choosing an AI toolbar. Decide which document text may leave the application, who can issue requests and whether generated text is inserted immediately or reviewed first. Handle cancellation, failed requests and undo deliberately. Keep application-owned provider secrets on the server; a documented bring-your-own-key demo is a different credential arrangement.
Estimate model usage from your intended interaction and provider agreement. This guide quotes no model price, included request allowance or fixed implementation-time saving. An editor integration can supply useful UI without removing those operational decisions.
Starter integration acceptance matrix
Apply the same review to any SaaS boilerplate instead of assuming a named starter includes an editor by default.
| Area | Accept the integration when |
|---|---|
| Document persistence | The stored format and loading path are identified, with representative saved content checked |
| Uploads | Attachment permissions, failed uploads and deleted-document cleanup have an owner |
| Application shell | Read-only screens, loading/error states and client editor initialization work together |
| Maintenance | Package versions, copied components and document migrations are part of the update plan |
| Client performance | Your chosen extensions are measured in your own route and representative documents |
For attachments, start with the UploadThing, S3 and R2 comparison. Keep the upload service decision separate from the editor's rendering of an attachment.
For static documentation, consider whether you need rich-text authoring at all. The content-focused starter guide covers an adjacent decision. This editor shortlist is for interactive editing inside the application.
Choose by product requirements
Choose Tiptap if your team wants ProseMirror with an extension-based API and can evaluate each optional paid feature separately. Confirm the document schema and collaboration deployment before buying a template.
Choose Lexical if owning the editor's interface and node behavior is a deliberate product decision. Include UI work and the chosen Yjs binding in the implementation estimate.
Choose Plate if Slate and copied React components suit your team. Inspect the selected kits, keep Plate Plus terms separate from MIT packages, and budget independently for model calls and collaboration hosting.
For an existing editor, require a migration rehearsal before switching. For a new one, prototype the hardest custom block and the intended saving or collaboration flow before building the rest of the toolbar.
Methodology
This is a documentation-based comparison, rechecked November 2, 2026 (UTC). The tables combine official capability evidence with our implementation recommendations. We did not run comparative performance tests, accessibility audits, native mobile tests or production collaboration trials. No bundle-size ranking or guaranteed build time is implied.
Package metadata on a repository's main branch is a source snapshot; inspect the license and documentation for the versions you install. Prices and plan names change. Recheck commercial terms before buying; no prices, fees or usage limits are quoted here. There are no affiliate links or paid placements in this comparison.
Source notes
Official sources read November 2, 2026 (UTC):
- Tiptap: editor overview, repository license, drag-handle package, drag-handle docs, Collaboration extension, Hocuspocus and Platform pricing.
- Lexical: introduction, repository license, React/Yjs 13 collaboration and experimental Yjs 14 binding.
- Plate: introduction, repository license, AI package metadata, AI integration, collaboration, Plate Plus and Core API.
Related guides
Choose the application foundation with the Next.js SaaS boilerplate roundup, then evaluate the editor as its own integration. Use the linked realtime, UI and upload comparisons for those decisions rather than expecting an editor package to supply the whole SaaS stack.