Packages

@tiptap/extension-unique-id

3.34.0 · 13 Nov 2026MIT841.7k / weekRepositoryHomepagenpmAtom feed

Your version

135 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 3.x · latest line
  2. 3.3.1

    2 Sep 2025
    • Prevent incorrect insertion of code marks when a space immediately follows backticks.

    • Fixed outdated warning message to reference @tiptap/extension-undo-redo instead of @tiptap/extension-history.

    • Improve drag handle node lookup by scanning element bounding rects inside the editor instead of performing per-pixel elementsFromPoint loops, and throttle mouse handling to a single update per animation frame to reduce CPU usage and improve stability.

      This should make drag handle positioning and node detection significantly faster and more robust.

  3. 3.3.0

    23 Aug 2025
    • Change the generateID option to accept a context object: { node, pos }.

      This lets ID generators access both the ProseMirror node and its pos within the document when creating IDs, enabling logic that depends on node content, type, or position.

      The change is backwards-compatible: existing generateID functions that ignore the new context will continue to work. Example usage:

      editor.use(UniqueID, {  
        generateID: ({ node, pos }) => `${node.type.name}-${pos}-${uuidv4()}`,  
      })
  4. 3.2.2

    22 Aug 2025
    • Change the generateID option to accept a context object: { node, pos }.

      This lets ID generators access both the ProseMirror node and its pos within the document when creating IDs, enabling logic that depends on node content, type, or position.

  5. 3.2.1

    21 Aug 2025
    • Ensure drag previews for node views work correctly in Safari by attaching
      an offscreen clone of the node to the DOM while calling
      setDragImage, and by preserving the original element's pixel
      width/height so the preview matches the original. This prevents
      Safari from immediately cancelling the drag when a detached element is
      used as the drag image.

  6. 3.2.0

    14 Aug 2025
    • Fix UniqueID extension creating unwanted nodes on page refresh by looking for collaboration provider in the correct extension (collaborationCaret instead of collaboration)

  7. 3.1.0

    10 Aug 2025
    • Expose onDragStart and onDragEnd callbacks to improve custom drag behavior. This allows better UI control compared to relying on editor.view.dragging, especially when using absolute-positioned drag handles.

    • Expose onDragStart and onDragEnd callbacks to improve custom drag behavior. This allows better UI control compared to relying on editor.view.dragging, especially when using absolute-positioned drag handles.

    • Fixed bubble menus having invalid positions on node selections

  8. 3.0.9

    1 Aug 2025
    • Fixed the Vue 3 Drag Handle so it only appears when the user starts interacting with the text editor.

    • Update TaskItem aria-label when node changes

    • Fix renderToMarkdown rendering a link href's as undefined

  9. 3.0.8

    1 Aug 2025
    • Security

      Bump linkifyjs version to latest to address the recently discovered prototype pollution vulnerability

  10. 3.0.7

    16 Jul 2025
    • Fix a problem with the inline option and virtual elements missing getClientRects

    • Fix a problem with the inline option and virtual elements missing getClientRects

  11. 3.0.6

    15 Jul 2025
    • Broken types for function chaining when calling extend

  12. 3.0.4

    15 Jul 2025
    • Add correct overload for extension extend types

  13. 3.0.3

    15 Jul 2025
    • Avoid the JSX Runtime to globally overwrite React's Element types when /** @jsxImportSource @tiptap/core */ is not used

  14. 3.0.2

    15 Jul 2025
    • Correctly pass through the bubble menu floating options

    • Improvement: Added better JSDocs for the options object

    • Improvement: Added better JSDocs for the options object

  15. 3.0.1

    12 Jul 2025
    • The StarterKit extension now includes more extensions by deafult

    • The Table, Details and List extensions now include all their sub-packages. The Table and List extensions also export new Kit extensions to quickly register all of them in one go.

  16. 2.x
  17. 2.25.1 – 2.27.310 releases without a noteShow each
  18. 2.25.0

    6 Jul 2025
    • Reintroduce flushSync to sync rendering of React and ProseMirror

  19. 2.24.2

    4 Jul 2025
    • Added alt tag to emoji extension

  20. 2.24.1

    3 Jul 2025
    • Added tab-index="0" to bubble and floating menu wrappers"

    • Added tab-index="0" to bubble and floating menu wrappers"

    • Added a new a11y option to task list items to set the checkbox aria-label

  21. 2.24.0

    2 Jul 2025
    • Removed flushSync on NodeView render which caused performance regressions, bugs with unused NodeViews still being reconciled for PMViewDesc checks and more

    • Fix RangeException in cut command when targetPos is zero

    • Fix autolink option in shadow dom by extending the whitespace detection to more unicode characters

  22. 2.23.1

    30 Jun 2025
    • Fix a bug that causes rerenders on the react drag handle breaking its tippy connection

    • Show mention indicator when converting document to HTML

  23. 2.23.0

    26 Jun 2025
    • Support multiple triggers in Mention extension

    • Prevent content deletion from non-editable Tiptap source editors during drag and drop.

  24. 2.22.3

    21 Jun 2025
    • Added new canInsertNode utility that checks if a node can be inserted into a specific position

    • Fixed a bug that caused the horizontal rule's setHorizontalRule command to always return true when checked via can()

  25. 2.22.2

    21 Jun 2025
    • Add validation for target position within document range when trying to access children of a NodePos instance

  26. 2.22.1

    21 Jun 2025
    • Update YouTube URL regex pattern

  27. 2.22.0

    20 Jun 2025
    • We open sourced our basic pro extensions

      This release includes the following extensions that were previously only available in our Pro version:

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.