@tiptap/core
3.35.0 · 20 Nov 2026MIT39.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @tiptap/core From 3.28.0 to 3.29.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
2 advisories still affect 3.29.0
- Tiptap: mergeAttributes() turns an own __proto__ key into inherited executable DOM attributesmoderate · GHSA-cp6q-959q-f8rh
- Tiptap: Quadratic ReDoS in block and inline Markdown attribute parsinghigh · GHSA-j95f-988m-3j2f
Upgrading to 3.30.5 clears them.
Release by release
- New
Add
insertDefaultBlockto insert the default textblock allowed at a position. It accepts an optional position, attributes, content, and selection-update option. - Fixed
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
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. - Fixed
Fix input rules crashing when the matched text spans an inline atom node like a mention.
- Fixed
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
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. - Fixed
Fix
editor.$pos()returning the wrong node inside container nodes, for example the list item instead of the list.
- New
1 internal line (docs, tests, tooling) left out.
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.