Packages

@tiptap/react

3.34.0 · 13 Nov 2026MIT32.2M / weekRepositoryHomepagenpmAtom feed

Your version

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

  1. 2.10.3

    26 Nov 2024
    • core: Update types to match prosemirror-view #5867

    • react: useIsomorphicLayoutEffect instead to support SSR #5872

  2. 2.10.2

    22 Nov 2024
    • Revert type changes introduced with 2.10 #5859

    • Publish a new stable version

  3. 2.10.1

    21 Nov 2024
    • core: Update the typings to be that options and storage are partials on an extended config #5852

    • Publish a new stable version

  4. 2.10.0

    20 Nov 2024
    • core: Allow nodes and fragments to be inserted into the editor using insertContentAt command #5764

    • Properly transform paste/input rules

    • Add zero-width space to resolve cursor selection issue

  5. 2.9.1

    23 Oct 2024
    • lists: bullet-list and ordered-list no longer depend on list-item or text-style extensions #5707

    • Publish a new pre-release version

  6. 2.9.0

    22 Oct 2024
    • Add extension-text-style as a dep of @tiptap/starter-kit #5691

    • Fixes resizeable columns when the first row has a colspan

    • Fix NodePos logic for child position calculation and attribute changes

  7. 2.8.0

    30 Sep 2024
    • core: onDrop and onPaste only registered when defined #5681

    • CharacterCount: Add counter function to CharacterCount extension.

    • Publish a new pre-release version

  8. 2.7.4

    26 Sep 2024
    • Add editorContainerProps to EditorProvider

    • core: Dereference editor from DOM element on destroy #5654

    • Publish a new pre-release version

  9. 2.7.3

    25 Sep 2024
    • Update zeed-dom version for style support #5352

    • Add Poggio to sponsors list

    • react: Fix incorrect extensionAttributes value

  10. 2.7.2

    19 Sep 2024
    • vue-3: late-registering plugins

    • Publish a new pre-release version

  11. 2.7.1

    17 Sep 2024
    • Fix Slice import in DropPlugin

    • Publish a new pre-release version

  12. 2.7.0

    17 Sep 2024
    • Update pm versions

    • Updating ReactNodeViewRenderer element's attributes when the node updates

    • Fix for #5490 - Adds preventClearDocument meta + makes it easier to disable specific core plugins.

  13. 2.6.6

    23 Aug 2024
    • core: Check schema's nesting rules on contentCheck

    • suggestion: Dropdown can now be closed with Esc

    • Publish a new stable version

  14. 2.6.5

    21 Aug 2024
    • Publish a new stable version

    • suggestion: Sometimes a suggestion would not show up

  15. 2.6.4

    15 Aug 2024
    • react: Always attempt to cleanup editor instances, starting from creation #5492

    • link: Respect custom protocols #5468

    • Publish a new pre-release version

  16. 2.6.3

    14 Aug 2024
    • Make img.ProseMirror-separator 0px

    • Use undefined for type attribute default

    • Publish a new pre-release version

  17. 2.6.2

    13 Aug 2024
    • Addresses a bug with react in Next.js or when immediatelyRender: false is specified in useEditor

    • Publish a new pre-release version

  18. 2.6.1

    13 Aug 2024
    • react: Update typescript types to be backwards-compatible

    • Publish a new pre-release version

  19. 2.6.0

    13 Aug 2024
    • vue-3: Custom node views when using class components

    • Bump priority of text-style extension fixes #4742

    • react: Update the types to reflect true options #5459

  20. 2.5.9

    6 Aug 2024
    • findDuplicates - use Array.from when converting Set

    • Allow task items to be parsed when only having <li data-checked instead of only when <li data-checked="true" (re-fix of #5366)

    • core: Resolve isNodeEmpty criteria #5415

  21. 2.5.8

    30 Jul 2024
    • vue-3: Copy missing provided parent values

    • Shared rollup config

    • Do not consider text content as atoms resolve #5405

  22. 2.5.7

    26 Jul 2024
    • core: Address enableContentCheck insertion bug

    • core: isNodeEmpty no longer considers attributes for it's checks

    • Publish a new pre-release version

  23. 2.5.6

    24 Jul 2024
    • Address different behavior between getHTML and generateHTML

    • Check that view is not destroyed before creating node views in core Editor

    • Adjust the splitBlock command to return false when it was unsuccessful

  24. 2.5.5

    22 Jul 2024
    • Feature/y sync options: allow passing ySyncOptions to extension-collaboration

    • Fix for data attributes not rendering after pr #4082

    • Only start at block with removing if not an inline node

  25. 2.5.4

    17 Jul 2024
    • There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way

  26. 2.5.3

    17 Jul 2024
    • The optional deps argument to useEditor was not being respected for performance optimizations, now if deps are declared a new editor instance is created

  27. 2.5.1 – 2.5.22 releases that only update dependencies@tiptap/core 2.5.2@tiptap/extension-bubble-menu 2.5.2@tiptap/extension-floating-menu 2.5.2and 1 moreShow each
  28. 2.5.0

    14 Jul 2024
    • Fixes strict mode accidentally destroying the editor instance

    • Fix the typings

    • We've heard a number of complaints around the performance of our React integration, and we finally have a solution that we believe will satisfy everyone. We've made a number of optimizations to how the editor is rendered, as well give you more control over the rendering process.

      Here is a summary of the changes and how you can take advantage of them:

      Here is a usage example:

      const editor = useEditor({
        /**
         * This option gives us the control to enable the default behavior of rendering the editor immediately.
         */
        immediatelyRender: true,
        /**
         * This option gives us the control to disable the default behavior of re-rendering the editor on every transaction.
         */
        shouldRerenderOnTransaction: false,
        extensions: [StarterKit],
        content: `
          <p>
            A highly optimized editor that only re-renders when it’s necessary.
          </p>
          `,
      });
      
      /**
       * This hook allows us to select the editor state we want to use in our component.
       */
      const currentEditorState = useEditorState({
        /**
         * The editor instance we want to use.
         */
        editor,
        /**
         * This selector allows us to select the data we want to use in our component.
         * It is evaluated on every editor transaction and compared to it's previously returned value.
         * You can return any data shape you want.
         */
        selector: (ctx) => ({
          isBold: ctx.editor.isActive("bold"),
          isItalic: ctx.editor.isActive("italic"),
          isStrike: ctx.editor.isActive("strike"),
        }),
        /**
         * This function allows us to customize the equality check for the selector.
         * By default it is a `===` check.
         */
        equalityFn: (prev, next) => {
          // A deep-equal function would probably be more maintainable here, but, we use a shallow one to show that it can be customized.
          if (!next) {
            return false;
          }
          return (
            prev.isBold === next.isBold &&
            prev.isItalic === next.isItalic &&
            prev.isStrike === next.isStrike
          );
        },
      });
  29. 2.4.0

    14 May 2024
    • Make EditorProvider children optional

    • Prevent history checkpoints during backspace in empty editor

    • Text Align Extension: Issue with DOM update when multiple types exist and not every exist at the DOM of the editor.

  30. 2.3.2

    8 May 2024
    • NodePos querySelectorAll function

  31. 2.3.1

    30 Apr 2024
    • Update link of hocuspocus in introduction.md

    • Fix issue with code pasting from VS Code when at the last line of code

    • Fix packing ySyncPluginOptions error

  32. 2.3.0

    9 Apr 2024
    • Return invokation of command

    • Add blockSeparator option to clipboardTextSerializer

    • extension/link: Adds 'whenNotEditable' as option for openOnClick

  33. 2.2.6

    6 Apr 2024
    • mention: Optionally delete full mention chip

    • core: Fix unexpected renderText() for contentful nodes

    • core: Check if pos is valid before resolving in backspace core keymap handler

  34. 2.2.5

    5 Apr 2024
    • Disallow only whitespace between markdown shortcuts delimiters

    • extension-link: Avoid auto-linking partial text for invalid TLDs

  35. 2.2.4

    23 Feb 2024
    • Mark nocookie youtube url as valid when parsing html

    • Clipboardevent and dragevent should not lead to failures inside the jest runtime

  36. 2.2.3

    15 Feb 2024
    • Removed pasteRule logic in the link extension that lead to broken link positions when html content was pasted into the editor

  37. 2.2.2

    7 Feb 2024
    • react: Use ref instead of state in useEditor to prevent rerenders

  38. 2.2.1

    31 Jan 2024

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  39. 2.2.0

    29 Jan 2024
    • Security

      fix(extension-youtube) XSS risk with src tag

    • Allow to customize the tag of the contentDOMElement

    • placeholder: Allow editor-is-empty class on any node

  40. 2.1.16

    11 Jan 2024
    • FIxes an issue with newlines being not interpreted correctly when inserted via setContent

  41. 2.1.15

    8 Jan 2024
    • core: Fix insertContentAt keeping new lines in html content

  42. 2.1.14

    8 Jan 2024
    • typography: Require spaces after divisions to not break dates

    • Fix/link pasting

  43. 2.1.13

    30 Nov 2023
    • Security

      fix(extension-youtube) XSS risk with src tag

    • Fix esm.sh url

    • Feature/cloud docs

  44. 2.1.12

    11 Oct 2023
    • link: Restore pasteHandler and add existing url check

  45. 2.1.11

    20 Sep 2023
    • core: Pass through paste event to pasteHandler getAttributes

  46. 2.1.10

    15 Sep 2023
    • Fix React and Vue NodeView renderers not adding correct selection classes

  47. 2.1.9

    14 Sep 2023
    • link: Fix link commands not allowing rel and target attributes

  48. 2.1.8

    4 Sep 2023
    • horizontal-rule: Fix insertion being broken on empty docs

    • Prevent opening link when clicking on selection containing a link

  49. 2.1.7

    23 Aug 2023
    • horizontal-rule: Fix insertion being broken on empty docs

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.