Simple template
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.
Installation
For existing projects
npx @tiptap/cli@latest add simple-editorFor new projects
npx @tiptap/cli@latest init simple-editorStyling
This template requires styling setup. We stay unopinionated about styling frameworks, so you'll need to integrate it with your setup. Follow the style setup guide to ensure the editor displays 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.