@tiptap/react
3.34.0 · 13 Nov 2026MIT32.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @tiptap/react From 3.15.0 to 3.34.0
59 releases in betweennotes for 57
Reading releases, release notes and advisories…
Security
- 3.31.2
Bump
prosemirror-viewto^1.42.3, which fixes an XSS vulnerability where pasting crafted HTML could run arbitrary JavaScript (GHSA-c8x8-7fp4-3x9w).
Release by release
- New
getEditorContextnow describes the charts and diagrams of@tiptap-pro/extension-diagrams, so the AI can read, add and change them. - New
Added a
continuesNodeoption. Textblocks it marks as continuing the textblock before them are searched as one text, so a phrase that runs from one into the next is found, highlighted and replaced. - Fixed
Fix Backspace undo after automatic formatting when used with extensions such as UniqueID.
- Fixed
Correct
setContentdocumentation
- New
- New
yCursorPluginnow publishes alastSelectionawareness field with each collaborative field's latest selection and whether its editor is focused. Unlikecursor, it stays after the editor loses focus, so other clients can still read the selection.lastSelectionis now reserved and can't be used as the cursor field. - Fixed
Deleting a text selection that spans the whole document no longer leaves the deleted text's marks active, so text typed into the emptied editor is no longer bold, linked or otherwise marked.
- Fixed
The first
goToNextResult()orgoToPreviousResult()after a new search now selects the highlighted first result instead of skipping it.
- New
- New
With
enableContentCheck: true, shared content that does not fit the editor schema now emitscontentErrorinstead of being deleted. The editor pauses editing and sends no changes until compatible content arrives, so read-only users no longer send repairs that the server rejects. - New
Add the
onInvalidContentsync option. When it is set, shared content that does not fit the editor schema stays in the shared document instead of being deleted. The editor shows what it can, pauses editing and sends no changes until compatible content arrives.
- New
- Fixed
Fix a React warning when a command like
setContentcreates React node views from inside an effect. - Fixed
Fixed the cursor no longer following clicks after an editor inside a shadow root was unmounted and remounted.
- Fixed
3.32.1 – 3.32.22 releases, no release note
- Fixed
Fix
useEditorStateoverflowing the stack when a selector returns a value with circular references, such aseditor.stateafter one stored mark replaces another.
- Fixed
- Fixed
Fix Enter and Shift-Enter inside React node views on iOS and Android.
- Fixed
React and Vue now use matching menu extension versions when installed from a specific release.
- Fixed
- Fixed
Fix a TypeScript error (TS2694) in the shipped type declarations when
skipLibCheckis turned off.
- Fixed
22 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.