Packages

@tiptap/core

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

Your version

3.29.0

24 Jul 2026Where it was published

3.35.0 is the newest release of 3.x.

In short

1 new6 fixed1 internal

Security

2 advisories affect 3.29.0; 3.30.5 fixes them

Release note

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

Patch Changes

  • Fix a TypeScript build error in isAndroid() where comparing navigator.platform against the literal 'Android' with === could fail to compile under some lib.dom.d.ts typings ("types have no overlap"). Switched to the same .includes() pattern already used by isiOS(), which is not affected by this TypeScript narrowing issue. No runtime behavior change.

  • Fixed a bug where deleting an AllSelection (for example right after Ctrl/Cmd+A) left a lingering "phantom" selection highlight over the emptied document instead of a text cursor. deleteSelection now collapses the selection to a cursor.

  • Fix input rules crashing when the matched text spans an inline atom node like a mention.

  • Node view getPos() now returns undefined instead of throwing when the position cannot be resolved yet, for example when React 19 renders a node view component while the editor view is still updating.

  • Fixed onContentError throwing when calling editor.commands from inside the handler on initial load with invalid content. The editor now has a usable state (seeded from the stripped fallback document) before onContentError fires.

  • Fix editor.$pos() returning the wrong node inside container nodes, for example the list item instead of the list.

  • Add insertDefaultBlock to insert the default textblock allowed at a position. It accepts an optional position, attributes, content, and selection-update option.

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.