tiptap/packages/react/CHANGELOG.md
github-actions[bot] 4b2de3394a
Some checks are pending
build / lint (20) (push) Waiting to run
build / test (20, map[name:Demos/Examples spec:./demos/src/Examples/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Experiments spec:./demos/src/Experiments/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Extensions spec:./demos/src/Extensions/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/GuideContent spec:./demos/src/GuideContent/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/GuideGettingStarted spec:./demos/src/GuideGettingStarted/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Marks spec:./demos/src/Marks/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Nodes spec:./demos/src/Nodes/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Integration spec:./tests/cypress/integration/**/*.spec.{js,ts}]) (push) Waiting to run
build / build (20) (push) Blocked by required conditions
Publish / Release (20) (push) Waiting to run
chore(release): release version 2.10.0 (#5843)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-20 11:05:37 +01:00

62 KiB
Raw Permalink Blame History

Change Log

2.10.0

Patch Changes

  • 5eee480: React 19 changes how refs works, it will double mount them, all that we needed to do though was to use the JSX transform instead of createElement directly #5846
  • 7619215: This changes useEditorState to use the useLayoutEffect hook instead of the useEffect hook, so that state that might render to the page can be committed in one pass instead of two.
  • 7619215: Fixes an issue where the bubble and flaoting menus on blur would remount
  • 7619215: React 19 is now allowed as a peer dep, we did not have to make any changes for React 19
  • Updated dependencies [7619215]
  • Updated dependencies [7619215]
  • Updated dependencies [1959eb5]
    • @tiptap/extension-bubble-menu@2.10.0
    • @tiptap/extension-floating-menu@2.10.0

2.9.1

Patch Changes

  • @tiptap/extension-bubble-menu@2.9.1
  • @tiptap/extension-floating-menu@2.9.1

2.9.0

Patch Changes

  • 304eedb: preserve editable option across re-renders #5547
    • @tiptap/extension-bubble-menu@2.9.0
    • @tiptap/extension-floating-menu@2.9.0

2.8.0

Minor Changes

  • 6834a7f: Bundling of packages no longer includes tiptap dependency type definitions

Patch Changes

  • Updated dependencies [6834a7f]
    • @tiptap/extension-floating-menu@2.8.0
    • @tiptap/extension-bubble-menu@2.8.0

2.7.4

Patch Changes

  • 26056aa: Add editorContainerProps to EditorProvider. This allows for any HTML attributes to be added to the EditorContent when using EditorProvider
    • @tiptap/extension-bubble-menu@2.7.4
    • @tiptap/extension-floating-menu@2.7.4

2.7.3

Patch Changes

  • @tiptap/extension-bubble-menu@2.7.3
  • @tiptap/extension-floating-menu@2.7.3

2.7.2

Patch Changes

  • @tiptap/extension-bubble-menu@2.7.2
  • @tiptap/extension-floating-menu@2.7.2

2.7.1

Patch Changes

  • @tiptap/extension-bubble-menu@2.7.1
  • @tiptap/extension-floating-menu@2.7.1

2.7.0

Patch Changes

  • 7f24a66: Update the Typescript types for NodeViews, bringing them inline with there actual implementation
  • c99627d: useEditorState now defaults to using a deep equal comparison for it's equalityFn option, which makes it more convenient to use
  • 4ff2a4e: ReactNodeViewRenderer now accepts a callback for attrs of the wrapping element to be updated on each node view update
    • @tiptap/extension-bubble-menu@2.7.0
    • @tiptap/extension-floating-menu@2.7.0

2.7.0-pre.0

Patch Changes

  • 7f24a66: Update the Typescript types for NodeViews, bringing them inline with there actual implementation
  • c99627d: useEditorState now defaults to using a deep equal comparison for it's equalityFn option, which makes it more convenient to use
  • 4ff2a4e: ReactNodeViewRenderer now accepts a callback for attrs of the wrapping element to be updated on each node view update
  • Updated dependencies [97ea55f]
  • Updated dependencies [bd34793]
  • Updated dependencies [9e18d24]
  • Updated dependencies [f805333]
  • Updated dependencies [07fa49d]
  • Updated dependencies [7f24a66]
  • Updated dependencies [97ea55f]
  • Updated dependencies [a22767e]
    • @tiptap/core@2.7.0-pre.0
    • @tiptap/pm@2.7.0-pre.0
    • @tiptap/extension-bubble-menu@2.7.0-pre.0
    • @tiptap/extension-floating-menu@2.7.0-pre.0

2.6.6

Patch Changes

  • Updated dependencies [8d8d999]
    • @tiptap/core@2.6.6
    • @tiptap/extension-bubble-menu@2.6.6
    • @tiptap/extension-floating-menu@2.6.6
    • @tiptap/pm@2.6.6

2.6.5

Patch Changes

  • @tiptap/core@2.6.5
  • @tiptap/extension-bubble-menu@2.6.5
  • @tiptap/extension-floating-menu@2.6.5
  • @tiptap/pm@2.6.5

2.6.4

Patch Changes

  • 6a0f4f3: Resolves a bug where useEditor may not properly cleanup an instance created when in React's StrictMode #5492
    • @tiptap/core@2.6.4
    • @tiptap/extension-bubble-menu@2.6.4
    • @tiptap/extension-floating-menu@2.6.4
    • @tiptap/pm@2.6.4

2.6.3

Patch Changes

  • Updated dependencies [da76972]
    • @tiptap/core@2.6.3
    • @tiptap/extension-bubble-menu@2.6.3
    • @tiptap/extension-floating-menu@2.6.3
    • @tiptap/pm@2.6.3

2.6.2

Patch Changes

  • d4d99e8: When changing the types, a bug was introduced where null could no longer be a valid value
    • @tiptap/core@2.6.2
    • @tiptap/extension-bubble-menu@2.6.2
    • @tiptap/extension-floating-menu@2.6.2
    • @tiptap/pm@2.6.2

2.6.1

Patch Changes

  • a42692e: This resolves some typescript errors with the exported React type to remove contentComponent from being exported (it is an implementation detail)
    • @tiptap/core@2.6.1
    • @tiptap/extension-bubble-menu@2.6.1
    • @tiptap/extension-floating-menu@2.6.1
    • @tiptap/pm@2.6.1

2.6.0

Minor Changes

  • e31673d: This PR significantly improves the performance of React NodeViews in a couple of ways:

    • It now uses useSyncExternalStore to synchronize changes between React & the editor instance
    • It dramatically reduces the number of re-renders by re-using instances of React portals that have already been initialized and unaffected by the change made in the editor

    We were seeing performance problems with React NodeViews because a change to one of them would cause a re-render to all instances of node views. For an application that heavily relies on node views in React, this was quite expensive. This should dramatically cut down on the number of instances that have to re-render, and, making each of those re-renders much less costly.

Patch Changes

  • c7fd0f8: Updates the typings to useEditor and EditorProvider to not conflict with the core Editor type
  • 8ea34e4: This resolves a bug with useEditor where event handlers were being called 2x for what should have been a single registration
  • Updated dependencies [86a8553]
  • Updated dependencies [222f2ac]
  • Updated dependencies [e31673d]
    • @tiptap/core@2.6.0
    • @tiptap/extension-bubble-menu@2.6.0
    • @tiptap/extension-floating-menu@2.6.0
    • @tiptap/pm@2.6.0

2.5.9

Patch Changes

  • 7c8889a: Optimize useEditor and useEditorState to reduce number of instances created while still being performant #5432

    The core of this change is two-fold:

    • have the effect run on every render (i.e. without a dep array)
    • schedule destruction of instances, but bail on the actual destruction if the instance was still mounted and a new instance had not been created yet

    It should plug a memory leak, where editor instances could be created but not cleaned up in strict mode. As well as fixing a bug where a re-render, with deps, was not applying new options that were set on useEditor.

  • Updated dependencies [84ebd51]

  • Updated dependencies [0ec0af6]

  • Updated dependencies [ae0254d]

  • Updated dependencies [efb27fa]

    • @tiptap/core@2.5.9
    • @tiptap/extension-bubble-menu@2.5.9
    • @tiptap/extension-floating-menu@2.5.9
    • @tiptap/pm@2.5.9

2.5.8

Patch Changes

  • 99d7820: Resolve a bug an editor could be instantiated but not destroyed. This was causing issues with multiple instances of plugins still being active and interfering with each other
  • Updated dependencies [a08bf85]
    • @tiptap/core@2.5.8
    • @tiptap/extension-bubble-menu@2.5.8
    • @tiptap/extension-floating-menu@2.5.8
    • @tiptap/pm@2.5.8

2.5.7

Patch Changes

  • 42dc27a: Fix, if using a deps array destroy the previous instance to avoid ghost instances
  • Updated dependencies [b012471]
  • Updated dependencies [cc3497e]
    • @tiptap/core@2.5.7
    • @tiptap/extension-bubble-menu@2.5.7
    • @tiptap/extension-floating-menu@2.5.7
    • @tiptap/pm@2.5.7

2.5.6

Patch Changes

  • Updated dependencies [b5c1b32]
  • Updated dependencies [618bca9]
  • Updated dependencies [35682d1]
  • Updated dependencies [2104f0f]
    • @tiptap/pm@2.5.6
    • @tiptap/core@2.5.6
    • @tiptap/extension-bubble-menu@2.5.6
    • @tiptap/extension-floating-menu@2.5.6

2.5.5

Patch Changes

  • Updated dependencies [4cca382]
  • Updated dependencies [3b67e8a]
    • @tiptap/core@2.5.5
    • @tiptap/extension-bubble-menu@2.5.5
    • @tiptap/extension-floating-menu@2.5.5
    • @tiptap/pm@2.5.5

2.5.4

Patch Changes

  • dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
  • Updated dependencies [dd7f9ac]
    • @tiptap/extension-floating-menu@2.5.4
    • @tiptap/extension-bubble-menu@2.5.4
    • @tiptap/core@2.5.4
    • @tiptap/pm@2.5.4

2.5.3

Patch Changes

  • 70eebfd: The optional deps argument to useEditor was not being respected for performance optimizations, now if deps are declared a new editor instance is created
    • @tiptap/core@2.5.3
    • @tiptap/extension-bubble-menu@2.5.3
    • @tiptap/extension-floating-menu@2.5.3
    • @tiptap/pm@2.5.3

2.5.2

Patch Changes

  • Updated dependencies [07f4c03]
    • @tiptap/core@2.5.2
    • @tiptap/extension-bubble-menu@2.5.2
    • @tiptap/extension-floating-menu@2.5.2
    • @tiptap/pm@2.5.2

2.5.1

Patch Changes

  • @tiptap/core@2.5.1
  • @tiptap/extension-bubble-menu@2.5.1
  • @tiptap/extension-floating-menu@2.5.1
  • @tiptap/pm@2.5.1

2.5.0

Patch Changes

  • fb45149: Fixes strict mode accidentally destroying the editor instance

  • fb45149: Fix the typings

  • fb45149: 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:

    • SSR rendering was holding back our ability to have an editor instance on first render of useEditor. We've now made the default behavior to render the editor immediately on the client. This behavior can be controlled with the new immediatelyRender option which when set to false will defer rendering until the second render (via a useEffect), this should only be used when server-side rendering.
    • The default behavior of the useEditor hook is to re-render the editor on every editor transaction. Now with the shouldRerenderOnTransaction option, you can disable this behavior to optimize performance. Instead, to access the new editor state, you can use the useEditorState hook.
    • useEditorState this new hook allows you to select from the editor instance any state you need to render your UI. This is useful when you want to optimize performance by only re-rendering the parts of your UI that need to be updated.

    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 its 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
        );
      },
    });
    
  • Updated dependencies [fb45149]

  • Updated dependencies [fb45149]

  • Updated dependencies [fb45149]

  • Updated dependencies [fb45149]

    • @tiptap/core@2.5.0
    • @tiptap/extension-bubble-menu@2.5.0
    • @tiptap/extension-floating-menu@2.5.0
    • @tiptap/pm@2.5.0

2.5.0-pre.16

Patch Changes

  • 1110280: Fixes strict mode accidentally destroying the editor instance
    • @tiptap/core@2.5.0-pre.16
    • @tiptap/extension-bubble-menu@2.5.0-pre.16
    • @tiptap/extension-floating-menu@2.5.0-pre.16
    • @tiptap/pm@2.5.0-pre.16

2.5.0-pre.15

Patch Changes

  • 3a67a5b: Fix the typings
    • @tiptap/core@2.5.0-pre.15
    • @tiptap/extension-bubble-menu@2.5.0-pre.15
    • @tiptap/extension-floating-menu@2.5.0-pre.15
    • @tiptap/pm@2.5.0-pre.15

2.5.0-pre.14

Patch Changes

  • df5609c: 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:

    • SSR rendering was holding back our ability to have an editor instance on first render of useEditor. We've now made the default behavior to render the editor immediately on the client. This behavior can be controlled with the new immediatelyRender option which when set to false will defer rendering until the second render (via a useEffect), this should only be used when server-side rendering.
    • The default behavior of the useEditor hook is to re-render the editor on every editor transaction. Now with the shouldRerenderOnTransaction option, you can disable this behavior to optimize performance. Instead, to access the new editor state, you can use the useEditorState hook.
    • useEditorState this new hook allows you to select from the editor instance any state you need to render your UI. This is useful when you want to optimize performance by only re-rendering the parts of your UI that need to be updated.

    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 its 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
        );
      },
    });
    
    • @tiptap/core@2.5.0-pre.14
    • @tiptap/extension-bubble-menu@2.5.0-pre.14
    • @tiptap/extension-floating-menu@2.5.0-pre.14
    • @tiptap/pm@2.5.0-pre.14

2.5.0-pre.13

Patch Changes

  • Updated dependencies [74a37ff]
    • @tiptap/core@2.5.0-pre.13
    • @tiptap/extension-bubble-menu@2.5.0-pre.13
    • @tiptap/extension-floating-menu@2.5.0-pre.13
    • @tiptap/pm@2.5.0-pre.13

2.5.0-pre.12

Patch Changes

  • Updated dependencies [74a37ff]
    • @tiptap/core@2.5.0-pre.12
    • @tiptap/extension-bubble-menu@2.5.0-pre.12
    • @tiptap/extension-floating-menu@2.5.0-pre.12
    • @tiptap/pm@2.5.0-pre.12

2.5.0-pre.11

Patch Changes

  • Updated dependencies [74a37ff]
    • @tiptap/core@2.5.0-pre.11
    • @tiptap/extension-bubble-menu@2.5.0-pre.11
    • @tiptap/extension-floating-menu@2.5.0-pre.11
    • @tiptap/pm@2.5.0-pre.11

2.5.0-pre.10

Patch Changes

  • Updated dependencies [74a37ff]
    • @tiptap/core@2.5.0-pre.10
    • @tiptap/extension-bubble-menu@2.5.0-pre.10
    • @tiptap/extension-floating-menu@2.5.0-pre.10
    • @tiptap/pm@2.5.0-pre.10

2.5.0-pre.9

Patch Changes

  • Updated dependencies [14a00f4]
    • @tiptap/core@2.5.0-pre.9
    • @tiptap/extension-bubble-menu@2.5.0-pre.9
    • @tiptap/extension-floating-menu@2.5.0-pre.9
    • @tiptap/pm@2.5.0-pre.9

2.5.0-pre.8

Patch Changes

  • Updated dependencies [509676e]
    • @tiptap/core@2.5.0-pre.8
    • @tiptap/extension-bubble-menu@2.5.0-pre.8
    • @tiptap/extension-floating-menu@2.5.0-pre.8
    • @tiptap/pm@2.5.0-pre.8

2.5.0-pre.7

Patch Changes

  • @tiptap/core@2.5.0-pre.7
  • @tiptap/extension-bubble-menu@2.5.0-pre.7
  • @tiptap/extension-floating-menu@2.5.0-pre.7
  • @tiptap/pm@2.5.0-pre.7

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.4.0 (2024-05-14)

Bug Fixes

  • fix ts error for BubbleMenu and FloatingMenu in @tiptap/react (#5126) (baff4af)

Features

2.3.2 (2024-05-08)

Note: Version bump only for package @tiptap/react

2.3.1 (2024-04-30)

Note: Version bump only for package @tiptap/react

2.3.0 (2024-04-09)

Note: Version bump only for package @tiptap/react

2.2.6 (2024-04-06)

Note: Version bump only for package @tiptap/react

2.2.5 (2024-04-05)

Note: Version bump only for package @tiptap/react

2.2.4 (2024-02-23)

Note: Version bump only for package @tiptap/react

2.2.3 (2024-02-15)

Note: Version bump only for package @tiptap/react

2.2.2 (2024-02-07)

Bug Fixes

  • react: use ref instead of state in useEditor to prevent rerenders (#4856) (56a5737)

2.2.1 (2024-01-31)

Note: Version bump only for package @tiptap/react

2.2.0 (2024-01-29)

2.2.0-rc.8 (2024-01-08)

2.2.0-rc.7 (2023-11-27)

2.2.0-rc.6 (2023-11-23)

Reverts

  • Revert "fix/react-renderer-node-attrs (#4321)" (a4af83c), closes #4321

2.2.0-rc.4 (2023-10-10)

2.2.0-rc.3 (2023-08-18)

2.2.0-rc.1 (2023-08-18)

2.2.0-rc.0 (2023-08-18)

2.1.16 (2024-01-10)

Note: Version bump only for package @tiptap/react

2.1.15 (2024-01-08)

Note: Version bump only for package @tiptap/react

2.1.14 (2024-01-08)

Note: Version bump only for package @tiptap/react

2.1.13 (2023-11-30)

Bug Fixes

  • react: fix performance regression because of select/deselect (#4661) (ad7f659)

2.1.12 (2023-10-11)

Note: Version bump only for package @tiptap/react

2.1.11 (2023-09-20)

Reverts

2.1.10 (2023-09-15)

Note: Version bump only for package @tiptap/react

2.1.9 (2023-09-14)

Note: Version bump only for package @tiptap/react

2.1.8 (2023-09-04)

Note: Version bump only for package @tiptap/react

2.1.7 (2023-09-04)

Note: Version bump only for package @tiptap/react

2.1.6 (2023-08-18)

Note: Version bump only for package @tiptap/react

2.1.5 (2023-08-18)

Note: Version bump only for package @tiptap/react

2.1.4 (2023-08-18)

Note: Version bump only for package @tiptap/react

2.1.3 (2023-08-18)

Note: Version bump only for package @tiptap/react

2.1.2 (2023-08-17)

Note: Version bump only for package @tiptap/react

2.1.1 (2023-08-16)

Note: Version bump only for package @tiptap/react

2.1.0 (2023-08-16)

Note: Version bump only for package @tiptap/react

2.1.0-rc.14 (2023-08-11)

Note: Version bump only for package @tiptap/react

2.1.0-rc.13 (2023-08-11)

2.1.0-rc.12 (2023-07-14)

2.1.0-rc.11 (2023-07-07)

2.1.0-rc.10 (2023-07-07)

Bug Fixes

  • react: update select state when text selection is around node (#4148) (5bd5bd4)

2.1.0-rc.9 (2023-06-15)

2.1.0-rc.8 (2023-05-25)

2.1.0-rc.5 (2023-05-25)

2.1.0-rc.4 (2023-04-27)

2.1.0-rc.3 (2023-04-26)

2.1.0-rc.2 (2023-04-26)

2.1.0-rc.1 (2023-04-12)

2.1.0-rc.0 (2023-04-05)

Bug Fixes

  • Update peerDependencies to fix lerna version tasks (#3914) (0c1bba3)

2.1.0-rc.12 (2023-07-14)

Note: Version bump only for package @tiptap/react

2.1.0-rc.11 (2023-07-07)

Note: Version bump only for package @tiptap/react

2.1.0-rc.10 (2023-07-07)

Bug Fixes

  • react: update select state when text selection is around node (#4148) (5bd5bd4)

2.1.0-rc.9 (2023-06-15)

Note: Version bump only for package @tiptap/react

2.1.0-rc.8 (2023-05-25)

Note: Version bump only for package @tiptap/react

2.1.0-rc.7 (2023-05-25)

Note: Version bump only for package @tiptap/react

2.1.0-rc.6 (2023-05-25)

Note: Version bump only for package @tiptap/react

2.1.0-rc.5 (2023-05-25)

Note: Version bump only for package @tiptap/react

2.1.0-rc.4 (2023-04-27)

Note: Version bump only for package @tiptap/react

2.1.0-rc.3 (2023-04-26)

Note: Version bump only for package @tiptap/react

2.1.0-rc.2 (2023-04-26)

2.1.0-rc.1 (2023-04-12)

2.1.0-rc.0 (2023-04-05)

Bug Fixes

  • Update peerDependencies to fix lerna version tasks (#3914) (0c1bba3)

2.1.0-rc.1 (2023-04-12)

Note: Version bump only for package @tiptap/react

2.1.0-rc.0 (2023-04-05)

Note: Version bump only for package @tiptap/react

2.0.3 (2023-04-13)

Note: Version bump only for package @tiptap/react

2.0.2 (2023-04-03)

Bug Fixes

  • react: fix rebinding events not overwriting editor.on (#3935) (64ab357)

2.0.1 (2023-03-30)

Bug Fixes

  • Update peerDependencies to fix lerna version tasks (#3914) (0534f76)

2.0.0-beta.220 (2023-02-28)

Note: Version bump only for package @tiptap/react

2.0.0-beta.219 (2023-02-27)

Bug Fixes

2.0.0-beta.218 (2023-02-18)

Note: Version bump only for package @tiptap/react

2.0.0-beta.217 (2023-02-09)

Note: Version bump only for package @tiptap/react

2.0.0-beta.216 (2023-02-08)

Note: Version bump only for package @tiptap/react

2.0.0-beta.215 (2023-02-08)

Bug Fixes

  • fix builds including prosemirror (a380ec4)

2.0.0-beta.214 (2023-02-08)

Note: Version bump only for package @tiptap/react

2.0.0-beta.213 (2023-02-07)

Note: Version bump only for package @tiptap/react

2.0.0-beta.212 (2023-02-03)

Note: Version bump only for package @tiptap/react

2.0.0-beta.211 (2023-02-02)

Note: Version bump only for package @tiptap/react

2.0.0-beta.210 (2023-02-02)

Features

  • pm: new prosemirror package for dependency resolving (f387ad3)

2.0.0-beta.209 (2022-12-16)

Note: Version bump only for package @tiptap/react

2.0.0-beta.208 (2022-12-16)

Note: Version bump only for package @tiptap/react

2.0.0-beta.207 (2022-12-08)

Note: Version bump only for package @tiptap/react

2.0.0-beta.206 (2022-12-08)

Note: Version bump only for package @tiptap/react

2.0.0-beta.205 (2022-12-05)

Note: Version bump only for package @tiptap/react

2.0.0-beta.204 (2022-11-25)

Bug Fixes

  • core: rename esm modules to esm.js (c1a0c3a)

2.0.0-beta.203 (2022-11-24)

Note: Version bump only for package @tiptap/react

2.0.0-beta.202 (2022-11-04)

Note: Version bump only for package @tiptap/react

2.0.0-beta.201 (2022-11-04)

Note: Version bump only for package @tiptap/react

2.0.0-beta.200 (2022-11-04)

Note: Version bump only for package @tiptap/react

2.0.0-beta.199 (2022-09-30)

Note: Version bump only for package @tiptap/react

2.0.0-beta.198 (2022-09-29)

Note: Version bump only for package @tiptap/react

2.0.0-beta.197 (2022-09-26)

Note: Version bump only for package @tiptap/react

2.0.0-beta.196 (2022-09-20)

Note: Version bump only for package @tiptap/react

2.0.0-beta.195 (2022-09-14)

Bug Fixes

2.0.0-beta.194 (2022-09-11)

Note: Version bump only for package @tiptap/react

2.0.0-beta.115 (2022-09-03)

Bug Fixes

  • fix React Node View render problem in React 18 (#2985) (f32293b)

2.0.0-beta.114 (2022-06-27)

Note: Version bump only for package @tiptap/react

2.0.0-beta.113 (2022-06-20)

Note: Version bump only for package @tiptap/react

2.0.0-beta.112 (2022-06-17)

Reverts

2.0.0-beta.110 (2022-06-17)

Reverts

2.0.0-beta.109 (2022-04-27)

Note: Version bump only for package @tiptap/react

2.0.0-beta.108 (2022-02-07)

Note: Version bump only for package @tiptap/react

2.0.0-beta.107 (2022-01-25)

Note: Version bump only for package @tiptap/react

2.0.0-beta.106 (2022-01-20)

Note: Version bump only for package @tiptap/react

2.0.0-beta.105 (2022-01-11)

Bug Fixes

  • Mark @tiptap/react and @tiptap/core as side effect free (#2361) (e609b2d)

2.0.0-beta.104 (2022-01-04)

Note: Version bump only for package @tiptap/react

2.0.0-beta.103 (2022-01-03)

Bug Fixes

  • change reactrenderer component type definition (#2327) (64dfae8)

2.0.0-beta.102 (2021-12-22)

Bug Fixes

  • Remove element.current from useEffect in BubbleMenu and FloatingMenu (#2297) (561941d)

2.0.0-beta.101 (2021-12-17)

Reverts

  • Revert "fix: Make sure editor is available on first render (#2282), fix #2040, fix #2182" (629f4d2), closes #2040 #2182

2.0.0-beta.100 (2021-12-16)

Bug Fixes

2.0.0-beta.99 (2021-12-15)

Note: Version bump only for package @tiptap/react

2.0.0-beta.98 (2021-12-03)

Note: Version bump only for package @tiptap/react

2.0.0-beta.97 (2021-12-02)

Note: Version bump only for package @tiptap/react

2.0.0-beta.96 (2021-12-02)

Features

  • Add as option and pass through to ReactRenderer (#2213) (dedcf17)

2.0.0-beta.95 (2021-11-18)

Features

  • add className option to ReactRenderer, see #2166 (c9dc1e1)

2.0.0-beta.94 (2021-11-17)

Note: Version bump only for package @tiptap/react

2.0.0-beta.93 (2021-11-10)

Note: Version bump only for package @tiptap/react

2.0.0-beta.92 (2021-11-09)

Note: Version bump only for package @tiptap/react

2.0.0-beta.91 (2021-11-09)

Note: Version bump only for package @tiptap/react

2.0.0-beta.90 (2021-11-09)

Note: Version bump only for package @tiptap/react

2.0.0-beta.89 (2021-11-08)

Note: Version bump only for package @tiptap/react

2.0.0-beta.88 (2021-11-05)

Note: Version bump only for package @tiptap/react

2.0.0-beta.87 (2021-10-31)

Note: Version bump only for package @tiptap/react

2.0.0-beta.86 (2021-10-26)

Note: Version bump only for package @tiptap/react

2.0.0-beta.85 (2021-10-25)

Bug Fixes

  • Check node type above custom update function for node views (#2081) (ddc9ca8)

2.0.0-beta.84 (2021-10-22)

Features

2.0.0-beta.83 (2021-10-14)

Note: Version bump only for package @tiptap/react

2.0.0-beta.82 (2021-10-14)

Note: Version bump only for package @tiptap/react

2.0.0-beta.81 (2021-10-12)

Bug Fixes

  • Add editor dependency when registering BubbleMenuPlugin and FloatingMenuPlugin (#2018) (e9465ec)

2.0.0-beta.80 (2021-10-11)

Bug Fixes

2.0.0-beta.79 (2021-10-08)

Note: Version bump only for package @tiptap/react

2.0.0-beta.78 (2021-10-02)

Note: Version bump only for package @tiptap/react

2.0.0-beta.77 (2021-09-30)

Bug Fixes

2.0.0-beta.76 (2021-09-30)

Note: Version bump only for package @tiptap/react

2.0.0-beta.75 (2021-09-29)

Note: Version bump only for package @tiptap/react

2.0.0-beta.74 (2021-09-28)

Note: Version bump only for package @tiptap/react

2.0.0-beta.73 (2021-09-27)

Note: Version bump only for package @tiptap/react

2.0.0-beta.72 (2021-09-23)

Note: Version bump only for package @tiptap/react

2.0.0-beta.71 (2021-09-22)

Note: Version bump only for package @tiptap/react

2.0.0-beta.70 (2021-09-21)

Note: Version bump only for package @tiptap/react

2.0.0-beta.69 (2021-09-20)

Note: Version bump only for package @tiptap/react

2.0.0-beta.68 (2021-09-18)

Bug Fixes

  • set correct component type for ReactRenderer, fix #1904 (fe47c38)

2.0.0-beta.67 (2021-09-15)

Note: Version bump only for package @tiptap/react

2.0.0-beta.66 (2021-09-07)

Features

2.0.0-beta.65 (2021-09-07)

Note: Version bump only for package @tiptap/react

2.0.0-beta.64 (2021-09-06)

Note: Version bump only for package @tiptap/react

2.0.0-beta.63 (2021-08-24)

Bug Fixes

  • fix a bug when using nested node views in react, fix #1747 (b15a8a8)

2.0.0-beta.62 (2021-08-23)

Bug Fixes

  • make shouldShow and pluginKey option for menus, fix #1779 (70a328b)

2.0.0-beta.61 (2021-08-20)

Note: Version bump only for package @tiptap/react

2.0.0-beta.60 (2021-08-13)

Note: Version bump only for package @tiptap/react

2.0.0-beta.59 (2021-08-13)

Bug Fixes

  • rename key to pluginKey for menus (89d26f7)

2.0.0-beta.58 (2021-08-12)

Bug Fixes

2.0.0-beta.57 (2021-08-11)

Features

2.0.0-beta.56 (2021-08-09)

Note: Version bump only for package @tiptap/react

2.0.0-beta.55 (2021-07-28)

Bug Fixes

2.0.0-beta.54 (2021-07-27)

Features

  • add ignoreMutation option to NodeViewRenderer, fix #1538 (651e691)

2.0.0-beta.53 (2021-07-26)

Note: Version bump only for package @tiptap/react

2.0.0-beta.52 (2021-06-24)

Bug Fixes

  • check for destroyed editor before creating node views in react (44e4722)

2.0.0-beta.51 (2021-06-23)

Note: Version bump only for package @tiptap/react

2.0.0-beta.50 (2021-06-15)

Note: Version bump only for package @tiptap/react

2.0.0-beta.49 (2021-06-15)

Note: Version bump only for package @tiptap/react

2.0.0-beta.48 (2021-06-14)

Note: Version bump only for package @tiptap/react

2.0.0-beta.47 (2021-06-14)

Note: Version bump only for package @tiptap/react

2.0.0-beta.46 (2021-06-09)

Note: Version bump only for package @tiptap/react

2.0.0-beta.45 (2021-05-29)

Bug Fixes

2.0.0-beta.44 (2021-05-28)

Bug Fixes

2.0.0-beta.43 (2021-05-27)

Note: Version bump only for package @tiptap/react

2.0.0-beta.42 (2021-05-24)

Note: Version bump only for package @tiptap/react

2.0.0-beta.41 (2021-05-18)

Bug Fixes

  • move all child nodes within EditorContent (0f299d2)

Features

  • add deleteNode method to node views (fcee5f8)

2.0.0-beta.40 (2021-05-18)

Note: Version bump only for package @tiptap/react

2.0.0-beta.39 (2021-05-18)

Bug Fixes

2.0.0-beta.38 (2021-05-17)

Note: Version bump only for package @tiptap/react

2.0.0-beta.37 (2021-05-13)

Note: Version bump only for package @tiptap/react

2.0.0-beta.35 (2021-05-13)

Note: Version bump only for package @tiptap/react

2.0.0-beta.35 (2021-05-13)

Note: Version bump only for package @tiptap/react

2.0.0-beta.34 (2021-05-13)

Note: Version bump only for package @tiptap/react

2.0.0-beta.33 (2021-05-07)

Bug Fixes

2.0.0-beta.32 (2021-05-06)

Bug Fixes

  • revert adding type: module (f8d6475)

2.0.0-beta.31 (2021-05-06)

Bug Fixes

  • add exports to package.json (1277fa4)

2.0.0-beta.30 (2021-05-06)

Note: Version bump only for package @tiptap/react

2.0.0-beta.29 (2021-05-05)

Note: Version bump only for package @tiptap/react

2.0.0-beta.28 (2021-05-05)

Note: Version bump only for package @tiptap/react

2.0.0-beta.27 (2021-05-04)

Note: Version bump only for package @tiptap/react

2.0.0-beta.26 (2021-04-27)

Note: Version bump only for package @tiptap/react

2.0.0-beta.25 (2021-04-23)

Bug Fixes

  • allow passing props to NodeViewWrapper and NodeViewContent (cfb3b80)

2.0.0-beta.24 (2021-04-23)

Note: Version bump only for package @tiptap/react

2.0.0-beta.23 (2021-04-22)

Bug Fixes

  • prevents a bug where a line break was incorrectly added at enter in react node views, fix #1197 (e885ffa)

2.0.0-beta.22 (2021-04-21)

Note: Version bump only for package @tiptap/react

2.0.0-beta.21 (2021-04-16)

Features

2.0.0-beta.20 (2021-04-15)

Note: Version bump only for package @tiptap/react

2.0.0-beta.19 (2021-04-11)

Bug Fixes

  • fix using react node views with insertContent (ea0992f)

2.0.0-beta.18 (2021-04-08)

Note: Version bump only for package @tiptap/react

2.0.0-beta.17 (2021-04-08)

Bug Fixes

  • improve node view error message (536663f)
  • make as prop optional (f8dec5f)

2.0.0-beta.16 (2021-04-07)

Note: Version bump only for package @tiptap/react

2.0.0-beta.15 (2021-04-07)

Note: Version bump only for package @tiptap/react

2.0.0-beta.14 (2021-04-04)

Features

  • render wrapper element for inline node views as span, fix #242 (bdb5d72)

2.0.0-beta.13 (2021-04-01)

Note: Version bump only for package @tiptap/react

2.0.0-beta.12 (2021-04-01)

Note: Version bump only for package @tiptap/react

2.0.0-beta.11 (2021-04-01)

Note: Version bump only for package @tiptap/react

2.0.0-beta.10 (2021-04-01)

Note: Version bump only for package @tiptap/react

2.0.0-beta.9 (2021-03-31)

Note: Version bump only for package @tiptap/react

2.0.0-beta.8 (2021-03-31)

Note: Version bump only for package @tiptap/react

2.0.0-beta.7 (2021-03-31)

Note: Version bump only for package @tiptap/react

2.0.0-beta.6 (2021-03-28)

Note: Version bump only for package @tiptap/react

2.0.0-beta.5 (2021-03-24)

Note: Version bump only for package @tiptap/react

2.0.0-beta.4 (2021-03-18)

Note: Version bump only for package @tiptap/react

2.0.0-beta.3 (2021-03-16)

Note: Version bump only for package @tiptap/react

2.0.0-beta.2 (2021-03-09)

Note: Version bump only for package @tiptap/react

2.0.0-beta.1 (2021-03-05)

Note: Version bump only for package @tiptap/react

2.0.0-alpha.2 (2021-02-26)

Note: Version bump only for package @tiptap/react