@nextblock-cms/editor
v0.21.3
Published
The Tiptap-based rich-text editor of [NextBlock](https://github.com/nextblock-cms/nextblock), the open-core CMS for Next.js and Supabase. The CMS uses it for text blocks and product descriptions.
Downloads
4,020
Readme
@nextblock-cms/editor
The Tiptap-based rich-text editor of NextBlock, the open-core CMS for Next.js and Supabase. The CMS uses it for text blocks and product descriptions.
Projects created with npm create nextblock@latest already depend on it. It is built for
NextBlock projects (Next.js 16, React 19) and uses @nextblock-cms/ui and
@nextblock-cms/utils.
npm install @nextblock-cms/editorPublic surface
Primary exports:
NotionEditor, the full editor the CMS uses, andEditor, the plain one (also the default export)EditorToolbar,EditorBubbleMenu,EditorFloatingMenu,EnhancedFloatingMenu,SlashCommandList,MobileToolbarandUndoRedoButtonsDragHandleandHtmlContent, which renders saved HTMLeditorExtensions, the Tiptap extension kit, plus individual extensions such asSlashCommand,TrailingNodeandDraggableNodes
Styles are exported as @nextblock-cms/editor/styles/*.css: editor.css, placeholder.css,
drag-handle.css and advanced-features.css.
Every export is client-side: the entry files start with 'use client' in both the ESM and the
CommonJS build.
Documentation
The docs describe the editor architecture, widget behaviour, and how this package relates to the app-level block system.
License
AGPL-3.0-or-later.
