reactjs-tiptap-editor
ReactJS Tiptap Editor Skill
When to use
- Building admin content editors (posts, projects, pages).
- Implementing WYSIWYG editing with Markdown output.
- Adding rich text capabilities to forms.
Guardrails
- Admin-only: This editor is for authenticated admin users only.
- Markdown output: Always export as Markdown to store in DB (
content_mdcolumn). - Sanitize on render: When displaying content, parse Markdown → safe HTML (see content-format doc).
- Size: This is a heavy component (~200KB); lazy-load on admin routes.
Workflow checklist
- Install if not present:
bun add reactjs-tiptap-editor - Import editor component in admin route/component.
- Configure extensions (bold, italic, headings, lists, code blocks, links, images).
- Set
output="markdown"to get Markdown strings. - Store Markdown in DB; render with unified/remark/rehype on public pages.
More from huynhsang2005/blog-tanstack
framer-motion
Create smooth, performant animations with framer-motion. Use when building page transitions, component animations, or gesture-based interactions.
18tanstack-form
Use TanStack Form for complex forms with Zod validation. Use when building non-trivial forms or admin editors.
10frontend-ui-ux
Designer-turned-developer workflow for crafting cohesive UI/UX with strong visual polish and interaction quality.
9tanstack-table
Use TanStack Table for complex admin grids and data tables. Use when you need sorting/filtering/pagination/column defs beyond a simple list.
8tanstack-start
Build features in TanStack Start (server/client boundaries, server functions, SSR-friendly data loading). Use when creating routes, server functions, or anything involving SSR/hydration/caching.
7tanstack-router
Work effectively with TanStack Router file-based routing in this repo. Use when adding/changing routes, loaders, route params/search params, or navigation.
6