
Tiptap Integration
FreeSeamlessly integrate the Tiptap rich text editor into your applications.
Free · Opens the source repo
What Tiptap Integration does
The Tiptap Integration skill provides comprehensive guidance for developers looking to incorporate the Tiptap rich text editor into their applications. It offers a structured approach to setting up Tiptap, ensuring that developers reference the official Tiptap documentation and source code for best practices. By following the instructions, users can effectively implement features such as real-time collaboration, comments, tracked changes, and document conversion. This skill is particularly useful for those who are building or modifying rich text editors and need to ensure their integration aligns with Tiptap's architecture.
To get started, developers are advised to clone both the Tiptap and Tiptap documentation repositories. This allows for easy access to the source code and up-to-date documentation, which is essential for implementing features correctly. The skill emphasizes the importance of using the latest stable version of Tiptap and maintaining consistent versioning across all Tiptap packages. This attention to detail helps prevent common integration issues and ensures a smoother development process.
The skill also outlines specific implementation strategies for various features, such as enabling real-time collaboration using Tiptap Cloud, adding comments with the Comments extension, and converting documents to and from various formats. Additionally, it provides insights into leveraging AI capabilities for content generation and document editing, making it a versatile tool for modern application development. Overall, this skill is designed for developers and designers who are serious about creating robust applications with rich text editing capabilities.
When to use it
Use this skill when you need to integrate Tiptap into your application or enhance its functionality with new features.
When not to use it
This skill may not be suitable if you are looking for a fully packaged editor solution without the need for customization or development.
What you can build with it
Integrating Tiptap in a New Project
When starting a new project that requires rich text editing, this skill guides you through the initial setup and integration of Tiptap.
Implementing Real-Time Collaboration
If your application needs multiple users to edit documents simultaneously, this skill provides the necessary instructions to set up collaboration.
Enhancing Document Features
For existing applications, use this skill to add advanced features like comments, tracked changes, and AI capabilities to your Tiptap editor.
How to install Tiptap Integration
View source1. Install with the skills CLI
npx skills add ueberdosis/tiptap/tiptap --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by ueberdosisTiptap Integration Skill
This skill contains instructions for integrating the Tiptap rich text editor into an app and developing new features with it.
This is not the Tiptap editor you know. Before you implement any feature with Tiptap, reference the Tiptap code and documentation to make sure you implement it correctly. Make sure any decision you make is in accordance to the "Best Practices" section and is grounded in the tiptap documentation and source code. Do not guess or invent patterns, make sure the code you write matches the library source code and the documentation.
Initial setup
Clone the tiptap and tiptap-docs repositories so you can search the source code and documentation.
If the workspace already has a reference folder with other repositories, clone them there.
Otherwise, clone the repositories in a new .reference folder. The reference folder should be git-ignored.
Referencing the Tiptap documentation
Before doing any task that involves the Tiptap editor:
- Pull the latest changes of the
mainbranch in the local tiptap and tiptap-docs repositories - Research the documentation and source code to see how to implement it
Best Practices
General
- Use the latest stable version of Tiptap 3.
- All packages that start with
@tiptap/must have the same version number. - When integrating Tiptap for the first time, read the corresponding installation guide in tiptap-docs.
- When server-side rendering (e.g. Next.js), set the
immediatelyRender: falseoption when initializing the editor. Otherwise, the editor will crash. Learn more about this in tiptap-docs.
React
- Prefer using the React Composable API. See
tiptap-docs/src/content/guides/react-composable-api.mdx
Implementing Editor Features
When the user asks you to implement one of these features, read the corresponding section in tiptap-docs for guidance.
Real-time collaboration
Multiple users editing a document simultaneously. See tiptap-docs/src/content/collaboration/.
Use Tiptap Cloud to implement real-time collaboration. Use the Collaboration extension:
const doc = new Y.Doc()
const editor = new Editor({
extensions: [
Collaboration.configure({
document: doc,
}),
],
})
Use the TiptapCollabProvider:
const provider = new TiptapCollabProvider({
name: 'unique_document_name',
appId: 'APP_ID', // Your document server ID from the Cloud dashboard
token: 'JWT_TOKEN', // Your JWT token
document: doc,
})
If it's the first time setting up collaboration and the Tiptap Cloud account is not set up, explain to the user how to set up a Tiptap Cloud account and obtain the environment variables.
Comments
Implement comments with the Comments extension.
Thread-based inline and document comments. See tiptap-docs/src/content/comments/.
Tracked changes
Track, accept, and reject document edits. See tiptap-docs/src/content/tracked-changes/.
Import/Export
Convert documents to and from DOCX, PDF, Markdown, and other formats. See tiptap-docs/src/content/conversion/.
AI content generation
Generate text content into the document using AI. See tiptap-docs/src/content/content-ai/capabilities/ai-toolkit/workflows/insert-content.mdx.
AI agent document editing
Give an AI agent the ability to edit Tiptap documents. See tiptap-docs/src/content/content-ai/capabilities/ai-toolkit/.
AI review and proofreading
Review, proofread, and suggest style improvements. See tiptap-docs/src/content/content-ai/capabilities/ai-toolkit/workflows/proofreader.mdx.
AI server-side processing
Run AI workflows that edit rich text documents on the server. See tiptap-docs/src/content/content-ai/capabilities/server-ai-toolkit/.
Version history
Save and restore document snapshots. See tiptap-docs/src/content/collaboration/documents/snapshot.mdx.
Snapshot compare
Highlight differences between document versions. See tiptap-docs/src/content/collaboration/documents/snapshot-compare.mdx.
Pages
Print-ready page layout with headers, footers, and page breaks. See tiptap-docs/src/content/pages/.
Pro Extensions
Some Tiptap extensions are distributed through a private npm registry. To install pro packages, see tiptap-docs/src/content/guides/pro-extensions.mdx for setup instructions.
Frequently asked questions about Tiptap Integration
Similar skills
Playwright Component Testing
Test React and Vue components in isolation with Playwright.
Fluent UI Blazor
Integrate Fluent UI components in Blazor applications effortlessly.
Build MCP App
Create interactive UI widgets for MCP servers.
Web Design Reviewer
Identify and fix design issues in websites efficiently.
Markstream Install
Seamlessly integrate Markstream for Markdown rendering.
GSAP & Framer Scroll Animation
Create advanced scroll animations effortlessly.
