@tiptap/react
Advanced tools
Comparing version
@@ -123,9 +123,6 @@ // src/Context.tsx | ||
this.initialized = false; | ||
try { | ||
if (!editor.isDestroyed) { | ||
editor.view.setProps({ | ||
nodeViews: {} | ||
}); | ||
} | ||
} catch { | ||
if (!editor.isDestroyed) { | ||
editor.view.setProps({ | ||
nodeViews: {} | ||
}); | ||
} | ||
@@ -173,3 +170,3 @@ if (this.unsubscribeToContentComponent) { | ||
// src/useEditorState.ts | ||
import deepEqual from "fast-deep-equal/es6/react"; | ||
import deepEqual from "fast-deep-equal/es6/react.js"; | ||
import { useDebugValue, useEffect, useLayoutEffect, useState } from "react"; | ||
@@ -176,0 +173,0 @@ import { useSyncExternalStoreWithSelector } from "use-sync-external-store/shim/with-selector"; |
{ | ||
"name": "@tiptap/react", | ||
"description": "React components for tiptap", | ||
"version": "3.0.0-beta.3", | ||
"version": "3.0.0-beta.4", | ||
"homepage": "https://tiptap.dev", | ||
@@ -51,8 +51,8 @@ "keywords": [ | ||
"react-dom": "^18.3.1", | ||
"@tiptap/pm": "3.0.0-beta.3", | ||
"@tiptap/core": "3.0.0-beta.3" | ||
"@tiptap/core": "3.0.0-beta.4", | ||
"@tiptap/pm": "3.0.0-beta.4" | ||
}, | ||
"optionalDependencies": { | ||
"@tiptap/extension-bubble-menu": "3.0.0-beta.3", | ||
"@tiptap/extension-floating-menu": "3.0.0-beta.3" | ||
"@tiptap/extension-bubble-menu": "3.0.0-beta.4", | ||
"@tiptap/extension-floating-menu": "3.0.0-beta.4" | ||
}, | ||
@@ -62,4 +62,4 @@ "peerDependencies": { | ||
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0", | ||
"@tiptap/core": "3.0.0-beta.3", | ||
"@tiptap/pm": "3.0.0-beta.3" | ||
"@tiptap/core": "3.0.0-beta.4", | ||
"@tiptap/pm": "3.0.0-beta.4" | ||
}, | ||
@@ -66,0 +66,0 @@ "repository": { |
import type { Editor } from '@tiptap/core' | ||
import deepEqual from 'fast-deep-equal/es6/react' | ||
import deepEqual from 'fast-deep-equal/es6/react.js' | ||
import { useDebugValue, useEffect, useLayoutEffect, useState } from 'react' | ||
@@ -4,0 +4,0 @@ import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/shim/with-selector' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
304161
-0.15%4005
-0.25%