Simple editor Tiptap template
Upgrade to v3
To use UI components or templates you need to upgrade to Editor version 3.x. See the upgrade guide for more details.
The Simple Editor Template is a fully working setup for the Tiptap editor. It includes commonly used open source extensions and UI components, all MIT licensed and ready to customize.
Install
Add the Simple Editor Template to your project using the Tiptap CLI (for Vite or Next.js):
npx @tiptap/cli add simple-editorStyle
Missing styles?
If you haven’t added the styles yet, make sure to follow the style setup guide to ensure your editor and components render correctly.
Usage
After installation, use the SimpleEditor component in your React or Next.js project:
import { SimpleEditor } from '@/components/tiptap-templates/simple/simple-editor'
export default function App() {
return <SimpleEditor />
}Features
A fully responsive rich text editor with built-in support for common formatting and layout tools. All components are open source and easy to extend.
- Responsive design: Mobile-friendly by default
- Dark and light mode: Supported out-of-the-box
- Formatting: Bold, Italic, Underline
- Lists: Bullet, Ordered, Checkboxes
- Text alignment: Left, Center, Right, Justified
- Headings: Multiple levels via dropdown
- Image upload
- Link editing: UI for adding and editing links
- Undo / Redo: History management
Used reference components
Hooks
use-mobileuse-window-size
Icons
arrow-left-iconhighlighter-iconlink-iconmoon-star-iconsun-icon
Extensions
selection-extensionlink-extensiontrailing-node-extension
Lib
tiptap-utils
UI Components
blockquote-buttoncode-block-buttoncolor-highlight-buttoncolor-highlight-popoverheading-buttonheading-dropdown-menuimage-upload-buttonlink-popoverlist-buttonlist-dropdown-menumark-buttontext-align-buttonundo-redo-button
Node Components
code-block-nodeimage-nodeimage-upload-nodelist-nodeparagraph-node
Primitives
buttonspacertoolbar
License
The Simple Editor Template and all included components are MIT licensed. You’re free to use, modify, and extend the code as needed.
Future compatibility
You can extend this template with additional features as your needs grow.
Paid Tiptap Cloud features will have matching UI components that integrate just as easily! No rework needed.