@tiptap/starter-kit
3.35.0 · 20 Nov 2026MIT33.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @tiptap/starter-kit From 3.30.2 to 3.35.0
17 releases in betweennotes for 15
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
Added the
openWithoutDelayoption. With it, a Details created open shows its content as soon as it is drawn, instead of one tick later, so code that measures right after drawing reads the full height. It is off by default and only has an effect together withpersist. - Fixed
nodeInputRulewith a capture group no longer inserts the last typed character twice when the rule runs on text input. - Fixed
Preserve deleted elements' original attributes and text when comparing collaboration snapshots.
- Fixed
Make typing in large collaborative documents faster by skipping unchanged content that comes before the edit.
- New
- 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
- New
Remove persistent position migrations to stop structural edits and undo or redo from adding migration history to collaborative documents. Saved relative positions no longer follow content that structural edits replace or move.
- Fixed
Clearing formatting on a nested list now turns every level into paragraphs, and
clearNodes()works in a chain with other node commands. - Fixed
Stop removed resizable node views from responding to later editor updates.
- Fixed
Bubble menus now update correctly after IME input, including Korean text
- New
3.32.1 – 3.32.22 releases, no release note
- New
Add the
schemaSpeceditor option to use an external ProseMirror schema structure with local extension behavior. - Fixed
A literal
!directly before a link is now escaped when serializing to Markdown, so the link is no longer parsed back as an image. - Fixed
Update ProseMirror dependencies to their latest versions.
- Fixed
Fix
useEditorStateoverflowing the stack when a selector returns a value with circular references, such aseditor.stateafter one stored mark replaces another.
- New
- Fixed
The mathematics extension no longer crashes the editor in older WebKit browsers and WKWebView.
- Fixed
Fix a
TypeErrorthrown when the source editor is destroyed right after dragging content into another editor. - Fixed
splitBlockno longer throwsTransformError: Inserted content deeper than insertion positionwhen the selection spans block boundaries (for example from the start of one paragraph into another block, or across an isolating node). The command now returnsfalsewhen the split is not possible. - Fixed
Prevent extra CSS declarations from being rendered from editor content.
- Fixed
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.