Packages

@tiptap/core

3.35.0 · 20 Nov 2026MIT39.5M / weekRepositoryHomepagenpmAtom feed

Your version

3.0.1

12 Jul 2025Where it was published

3.35.0 is the newest release of 3.x.

In short

6 breaking11 new4 fixed

  • Breaking

    Switched to tsup for bundling — UMD builds are no longer supported. If you rely on UMD, you'll need to re-bundle manually.

  • Breaking

    Stronger typings for getPos — Now returns number | undefined to reflect runtime reality.

  • Breaking

    Stricter typing for extension configs — Node, Mark, and Extension configs no longer allow arbitrary keys unless you extend their TypeScript interfaces.

  • Breaking

    Editor.storage is now per-editor instance and strongly typed — No more weird cross-editor bugs.

  • Breaking

    clearContent and setContent now emit updates by default — More predictable reactivity.

  • Breaking

    insertContent avoids empty paragraphs when inserting at the start of a node.

Security

1 advisory affects 3.0.1; 3.30.4 fixes them

Release note

The section about @tiptap/core of a note shared by several packages.

@tiptap/core

Major Changes

  • Breaking

    Switched to tsup for bundling — UMD builds are no longer supported. If you rely on UMD, you'll need to re-bundle manually.

  • Breaking

    Stronger typings for getPos — Now returns number | undefined to reflect runtime reality.

  • Breaking

    Stricter typing for extension configs — Node, Mark, and Extension configs no longer allow arbitrary keys unless you extend their TypeScript interfaces.

  • Breaking

    Editor.storage is now per-editor instance and strongly typed — No more weird cross-editor bugs.

  • Breaking

    clearContent and setContent now emit updates by default — More predictable reactivity.

  • Breaking

    insertContent avoids empty paragraphs when inserting at the start of a node.

New Features & Improvements

  • editor.unmount() — New lifecycle method to detach the editor without destroying it (great for preserving state).

  • MarkViews — You can now build custom views for marks (similar to NodeViews), including full support for React and Vue 3 components.

  • Delete event — Detect and react to deleted content from the editor.

  • Attribute validation — Use ProseMirror’s validate function on attributes for more reliable schemas.

  • SSR mode for editor — You can now use the editor instance on the server without a DOM.

    • Only works with certain APIs; DOM-dependent stuff like focus() and getHTML() won't work on the server.

  • You can now create extensions using functions, not just plain objects — more flexibility for complex setups.

Fixes & Enhancements

  • canInsertNode utility — Check programmatically if a node is allowed at a certain position.

  • Drag preview fixes — Proper image previews when dragging.

  • MarkViews can now update attributes live (updateAttributes added).

  • Improved performance — Transactions that don’t change state no longer trigger updates or events.

  • Better validation when inserting or accessing positions in the document.

  • Various bugfixes, including:

    • Multiple plugin unregistration

    • Image overwrite when placing one after another

    • Cut command RangeException fix

    • Content deletion protection for non-editable source editors

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.