Compare
Tiptap Compare finds and displays the changes between two documents or two versions of the same document.
Compare is headless: you have full control over how changes are displayed and styled. The comparison itself runs without an editor instance, so you can deploy it client-side or server-side.
Install
First, contact our team to join the Tiptap Compare pilot program.
After gaining access, configure your package manager by following the private registry guide.
Then, install the package:
npm install @tiptap-pro/compareAdd the Compare extension to the editor that displays the changes between the two documents.
import { Compare } from '@tiptap-pro/compare'
const editor = new Editor({
extensions: [
Compare,
// ...other extensions
],
})Use cases
With Tiptap Compare, you can find the changes between two documents or two versions of the same document.
Compare documents
More →Compare two documents, find what changed, and review the differences.
Compare versions
More →Compare two different versions of a collaborative document.
Get access to Tiptap Compare
Join the pilot program to get early access to Compare and direct input on how it develops. Integrate it successfully with dedicated engineering support via Slack.
Trusted by Axios, PostHog, Beehiiv, GitLab and more.