Skip to content

Comments

chore(tools): update tiptap core and plugin interface#3438

Open
drewlyton wants to merge 1 commit intogarden-co:mainfrom
drewlyton:chore/tiptap-deps
Open

chore(tools): update tiptap core and plugin interface#3438
drewlyton wants to merge 1 commit intogarden-co:mainfrom
drewlyton:chore/tiptap-deps

Conversation

@drewlyton
Copy link

@drewlyton drewlyton commented Feb 6, 2026

Summary

  • Updates @tiptap/core from v2.12.0 to v3.19.0
  • Adds @tiptap/pm dependency for proper TypeScript types
  • Improves JazzSyncExtension type safety and code clarity

Changes

  • Dependencies: Bumped tiptap core to v3 and added the companion @tiptap/pm package for ProseMirror type definitions
  • Type improvements: Added proper Plugin type import and made coRichText option explicitly typed as CoRichText | null
  • Code cleanup: Destructured options for better readability in addProseMirrorPlugins

Note

Medium Risk
Dependency upgrade to TipTap v3 can introduce subtle editor/runtime behavior or type compatibility changes for downstream consumers; code changes are small but touch editor integration points.

Overview
Upgrades packages/jazz-tools from @tiptap/core v2 to v3 and adds the new @tiptap/pm dependency required for ProseMirror TypeScript types.

Updates JazzSyncExtension to import Plugin from @tiptap/pm/state, makes coRichText explicitly nullable with a null default, and tightens addProseMirrorPlugins() typing/option handling. Lockfile changes reflect the dependency bump and associated resolution/patch hash updates.

Written by Cursor Bugbot for commit 12bd169. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Feb 6, 2026

@drewlyton is attempting to deploy a commit to the Garden Computing Team on Vercel.

A member of the Team first needs to authorize it.

@@ -1,10 +1,11 @@
import { Extension } from "@tiptap/core";
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rewrote this in my project to fix the type error the original presents with the latest version of tiptap.

Figured I'd make a PR so no one else has to do that.

Copy link
Collaborator

@gdorsi gdorsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants