Skip to content

About

Tiptap editor template with custom extensions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

TipTap React Template

A simple reference implementation for integrating TipTap editor in React projects with custom extensions.

Quick Start

npm install
npm run dev

Visit http://localhost:3000 to see the editor in action.

What's Included

This project showcases TipTap editor with various extensions and custom implementations:

  • Basic Formatting - Bold, italic, underline, strikethrough
  • Text Styles - Headings and paragraphs
  • Text Alignment - Left, center, right, justify
  • Lists - Bullet and ordered lists
  • Colors - Text color and highlight
  • Links - Inline link editing
  • Images - Image upload with resizing and captions
  • Code Blocks - Code formatting
  • Blockquotes - Blockquotes
  • Tables - Advanced tables with bubble menu for row/column management
  • Bubble Menus - Context-aware menus for text, images, and tables
  • PDF Export - Export editor content to PDF with proper formatting

Structure

src/
├── components/
│   └── editor/
│       ├── basic/          # Editor button components
│       ├── primitives/     # Reusable toolbar components
│       └── Editor.tsx      # Main editor component
├── config/
│   └── editor-config.ts    # TipTap extensions configuration
├── lib/
│   ├── export/             # Export utilities (PDF)
│   └── server/             # Server-side PDF generation
├── app/
│   ├── api/export/         # Export API routes
│   └── page.tsx            # Demo page

Tech Stack

  • Next.js 15
  • React 19
  • TipTap 3
  • Tailwind CSS 4
  • TypeScript

About

Tiptap editor template with custom extensions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages