@tiptap/extension-code-block-lowlight
3.35.0 · 20 Nov 2026MIT3.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @tiptap/extension-code-block-lowlight From 3.31.4 to 3.35.0
8 releases in betweennotes for 6
Reading releases, release notes and advisories…
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
- Fixed
Fixed a performance issue where code highlighting updates were unnecessarily triggered by selection-only changes
- Fixed
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
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.