Skip to content

v0.2.0 — TipTap v3 Support

Latest

Choose a tag to compare

@sungkhum sungkhum released this 15 Mar 16:11
· 4 commits to main since this release

tiptap-track-changes v0.2.0

npm version

Adds TipTap v3 compatibility while maintaining backward compatibility with v2.

Install

npm install tiptap-track-changes

Peer dependencies: @tiptap/core and @tiptap/pm (v2 or v3).

What's Changed

TipTap v3 Support

  • Widened peer dependencies to accept both @tiptap/core and @tiptap/pm v2 (^2.0.0) and v3 (^3.0.0)
  • Fixed inclusive on 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