Releases: sungkhum/tiptap-track-changes
Releases · sungkhum/tiptap-track-changes
v0.2.0 — TipTap v3 Support
tiptap-track-changes v0.2.0
Adds TipTap v3 compatibility while maintaining backward compatibility with v2.
Install
npm install tiptap-track-changesPeer dependencies: @tiptap/core and @tiptap/pm (v2 or v3).
What's Changed
TipTap v3 Support
- Widened peer dependencies to accept both
@tiptap/coreand@tiptap/pmv2 (^2.0.0) and v3 (^3.0.0) - Fixed
inclusiveon marks — changed from method syntax (inclusive() { return false; }) to property syntax (inclusive: false), which is required by v3 and also works in v2 - Updated demo to use TipTap v3
No Breaking Changes
This is a non-breaking upgrade. Users on TipTap v2 can update without any code changes. Users on TipTap v3 can now install without peer dependency conflicts.
All 255 tests pass against TipTap v3.
Links
v0.1.0 — Initial Release
tiptap-track-changes v0.1.0
First public release of the open-source track changes extension for Tiptap.
Install
npm install tiptap-track-changesyarn add tiptap-track-changespnpm add tiptap-track-changesPeer dependencies: @tiptap/core and @tiptap/pm (v2+).
Features
- Three editor modes:
edit(direct),suggest(tracked proposals),view(read-only) - Inline change tracking: Insertions, deletions, replacements, and format changes (bold, italic, etc.)
- Per-change accept/reject: Individual or batch accept/reject
- Multi-author support: Each author gets a name, ID, and color
- Node-level tracking: Paragraph splits (Enter), block boundary deletions (Backspace/Delete across paragraphs), block type changes (paragraph ↔ heading)
- Undo/redo integration: Works with Tiptap's built-in history
- Complex script support: RTL (Arabic, Hebrew), Khmer, Thai, CJK, Devanagari, and more
- 200+ tests