Block-based Editing
Block-based editing with slash commands, drag-and-drop reordering, and a bubble menu for inline formatting.
Features
A Markdown editor built with Tiptap for React 19
Install Editu for your framework:
npm install @editu/reactimport { Editu } from '@editu/react';
import '@editu/core/styles.css';
function App() {
return (
<Editu
placeholder="Type '/' for commands..."
onUpdate={({ editor }) => console.log(editor.getJSON())}
/>
);
}Type / to open the command menu:
Select text to display the bubble menu:
Drag blocks by their handle to reorder content.
| Feature | Description |
|---|---|
| React 19 | First-class React 19 support |
| TypeScript | Includes type definitions |
| Markdown | Imports and exports Markdown |
| Theming | Uses CSS variables |
| Bundle size | Supports tree-shaking |
| Extensions | Uses modular architecture |