A powerful rich text editor built with TipTap and shadcn/ui components. Features file uploads, math equations, and more.
- 📁 File Uploads: Seamless file upload support with drag and drop functionality
- 🎨 Customizable: Built with shadcn/ui components for easy customization
- 🌙 Dark Mode: Full dark mode support with system preference detection
- 📱 Responsive: Works great on desktop and mobile devices
- Clone the repository:
git clone https://github.com/ehtisham-afzal/tiptap-shadcn tiptap-editor
cd tiptap-editor
- Install dependencies:
npm install
# or
yarn install
# or
pnpm install
- Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
- Open http://localhost:3000 with your browser to see the result.
- Next.js - React framework
- TipTap - Headless rich text editor
- shadcn/ui - UI components
- Tailwind CSS - CSS framework
- TypeScript - Type safety
tiptap-editor/
├── app/ # Next.js app directory
├── components/ # React components
│ ├── tiptap/ # TipTap editor components
│ └── ui/ # UI components
├── hooks/ # Custom React hooks
├── lib/ # Utility functions
└── public/ # Static assets
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.