@tiptap/core
3.35.0 · 20 Nov 2026MIT39.5M / weekRepositoryHomepagenpmAtom feed
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
- HighTiptap: Quadratic ReDoS in block and inline Markdown attribute parsingGHSA-j95f-988m-3j2f · 8 Sep 2026Fixed in 3.30.5
- ModerateTiptap: mergeAttributes() turns an own __proto__ key into inherited executable DOM attributesGHSA-cp6q-959q-f8rh · 2 Sep 2026Fixed in 3.30.4
Release note
The section about @tiptap/core of a note shared by several packages.
Patch Changes
Fix a TypeScript build error in
isAndroid()where comparingnavigator.platformagainst the literal'Android'with===could fail to compile under somelib.dom.d.tstypings ("types have no overlap"). Switched to the same.includes()pattern already used byisiOS(), 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.deleteSelectionnow 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 returnsundefinedinstead 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
onContentErrorthrowing when callingeditor.commandsfrom inside the handler on initial load with invalid content. The editor now has a usable state (seeded from the stripped fallback document) beforeonContentErrorfires.Fix
editor.$pos()returning the wrong node inside container nodes, for example the list item instead of the list.Add
insertDefaultBlockto 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.