@tiptap/core
3.35.0 · 20 Nov 2026MIT39.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @tiptap/core From 3.25.0 to 3.30.5
17 releases in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 2
- advisories fixed
- 11
- new
- 37
- fixes
Security
Fixes 2 advisories affecting 3.25.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
Release by release
- Fixed
Fix a denial-of-service risk where crafted block or inline Markdown attributes could consume excessive CPU and block the browser or server event loop.
- Fixed
- Fixed
Prevent untrusted HTML attributes from changing an object's prototype when merged with
mergeAttributes.
- Fixed
- Fixed
Fix JSX runtime to properly render nested sibling elements by spreading children arrays into DOMOutputSpec
- Fixed
- Fixed
Keep mixed JSX children as separate siblings in DOM output.
- Fixed
Fixed a bug where
editor.chainandeditor.cancan not be accessed on editor initialization
- Fixed
- New
Added new ProseMirror helpers that check whether a value is a specific ProseMirror type.
- New
- New
ListKeymapnow registers aTabshortcut that sinks a top-level textblock into the previous list's last item. Pressing Tab at the start of a paragraph right after a bullet/ordered/task list moves the paragraph inside the last list item. The handler does nothing when the cursor is already inside a list item (sinkListItemkeeps working), when there is no list before the paragraph, when the caret is mid-textblock, or when the selection is not a text selection (for example a gap cursor). - New
- New
- New
- New
- Fixed
Fixed
insertContent,insertContentAtandsetContentfailing when prosemirror-model is loaded more than once.
- New
3.29.1 – 3.29.22 releases, nothing new or fixed in the notes
- 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
12 internal lines (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.