@tiptap/extension-unique-id
3.34.0 · 13 Nov 2026MIT841.7k / weekRepositoryHomepagenpmAtom feed
3.34.0 is the newest release of 3.x.
In short
1 fixed
Release note
The section about @tiptap/extension-unique-id of a note shared by several packages.
@tiptap/extension-unique-id@3.3.0
Patch Changes
Change the
generateIDoption to accept a context object:{ node, pos }.This lets ID generators access both the ProseMirror
nodeand itsposwithin the document when creating IDs, enabling logic that depends on node content, type, or position.The change is backwards-compatible: existing
generateIDfunctions that ignore the new context will continue to work. Example usage:editor.use(UniqueID, { generateID: ({ node, pos }) => `${node.type.name}-${pos}-${uuidv4()}`, })
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.