Packages

@tiptap/extension-history

3.34.0 · 13 Nov 2026MIT5.7M / weekRepositoryHomepagenpmAtom feed

Your version

211 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
    • Make input rules and paste rules respect extension priority by registering
      them per-extension instead of aggregating them into a single global plugin.

    • Fix paste rule handling for node views and defensively guard empty ranges.

      This patch ensures paste rules can correctly inspect node content when
      node-specific size metadata (nodeSize) is present, falling back to
      node.content.size when needed. It also skips empty or invalid node ranges
      before calling textBetween, preventing runtime errors originating from
      internal Fragment/Node traversals (for example: "Cannot read properties of
      undefined (reading 'nodeSize')").

    • 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
  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. 3.0.0

    14 Jul 2024
  17. 2.x
  18. 2.25.1 – 2.27.310 releases without a noteShow each
  19. 2.25.0

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

  20. 2.24.2

    4 Jul 2025
    • Added alt tag to emoji extension

  21. 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

  22. 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

  23. 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

  24. 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.

  25. 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()

  26. 2.22.2

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

  27. 2.22.1

    21 Jun 2025
    • Update YouTube URL regex pattern

  28. 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:

    • We open sourced our basic pro extensions

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

    • We open sourced our basic pro extensions

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

  29. 2.14.1

    19 Jun 2025
    • Fixed a bug that incorrectly added ref props when a component can't accept them (for example when React 19 is not used)

    • Fixes an issue where ref props will be kept on non-supported react components

  30. 2.14.0

    6 Jun 2025
    • Add config option to emit content error when content check is disabled

  31. 2.13.0

    5 Jun 2025
    • Improve YouTube embed URL creation, support start timestamps, fix Shorts & Live embeds

    • Added support for React 19 ref in props

  32. 2.12.0

    5 May 2025
    • Update prosemirror-changeset library to support token encoders

  33. 2.11.9

    30 Apr 2025
    • Added new toggleTextAlign command to TextAlign extension to make toggling text alignments easier to handle

  34. 2.11.7

    30 Mar 2025
    • Clone dragged node before dragging to get correct drag preview image

    • Added new export for TableView class

  35. 2.11.6

    28 Mar 2025
    • Remove redundant optional chaining in starter kit extension

    • Upgrade prosemirror-tables to 1.6.4 (fixes #6074)

    • Use null in ordered list's default type value

  36. 2.11.5

    31 Jan 2025
    • Upgraded prosemirror-tables to 1.6.3 to fix cells being resizable while the editor is uneditable

  37. 2.11.4

    30 Jan 2025
  38. 2.11.3

    22 Jan 2025
    • react: Do some light diffing to not reset options on every render #6024

    • Text Formatting Effects Reset After Input Confirmation with Japanese IME on Mobile Browsers (Safari & Chrome)

    • core: Fix focus issue introduced in v2.11.0

  39. 2.11.2

    10 Jan 2025
  40. 2.11.1

    10 Jan 2025
    • Update LICENSE.md, fix copyright license year

    • handleSelectionUpdate callback is triggered before the renderer is initialized.

    • Add missing node view props to props type object

  41. 2.11.0

    30 Dec 2024
    • link: Change type HTMLLinkElement to HTMLAnchorElement

    • #5851 - While setting content directly while using CharacterCount with limit is not obeyed

    • Prevent selection deletions at the end of list items from joining lists

  42. 2.10.4

    19 Dec 2024
    • Security

      Fixed Link extension's commands not respecting XSS prevention via unallowed protocols

    • Publish a new stable 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.