@tiptap/extension-code-block
3.35.0 · 20 Nov 2026MIT34.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @tiptap/extension-code-block From 3.24.0 to 3.25.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Add
clearablemark option (defaulttrue).unsetAllMarksnow skips marks withclearable: false, so semantic marks like comments are not removed by "clear formatting". - New
Add
attrsEqualandmarksEqualutility functions to@tiptap/core.attrsEqualcompares two attribute objects for equality regardless of key ordering.marksEqualcompares two arrays of mark objects by type and attributes usingattrsEqual. - New
ListKeymap's Backspace handler now lifts the current list item before merging. At the start of a non-first list item, the item is lifted out of its wrapping list (splitting the list around it) instead of immediately joining its content into the previous item. A second Backspace then hits the existing "paragraph after a list" branch and merges the lifted textblock's content into the previous list's last item. Mirrors the two-step behavior introduced for blockquote in #7891. - New
Allow
emptyNodeClassin the Placeholder extension to accept a function that returns a dynamic CSS class name per node
- 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.