@tiptap/react
Advanced tools
Comparing version 2.11.0 to 2.11.1
@@ -1329,3 +1329,2 @@ import { BubbleMenuPlugin } from '@tiptap/extension-bubble-menu'; | ||
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this); | ||
this.editor.on('selectionUpdate', this.handleSelectionUpdate); | ||
this.renderer = new ReactRenderer(ReactNodeViewProvider, { | ||
@@ -1337,2 +1336,3 @@ editor: this.editor, | ||
}); | ||
this.editor.on('selectionUpdate', this.handleSelectionUpdate); | ||
this.updateElementAttributes(); | ||
@@ -1339,0 +1339,0 @@ } |
@@ -1328,3 +1328,2 @@ (function (global, factory) { | ||
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this); | ||
this.editor.on('selectionUpdate', this.handleSelectionUpdate); | ||
this.renderer = new ReactRenderer(ReactNodeViewProvider, { | ||
@@ -1336,2 +1335,3 @@ editor: this.editor, | ||
}); | ||
this.editor.on('selectionUpdate', this.handleSelectionUpdate); | ||
this.updateElementAttributes(); | ||
@@ -1338,0 +1338,0 @@ } |
@@ -41,3 +41,3 @@ import { Editor } from '@tiptap/core'; | ||
*/ | ||
export declare class ReactRenderer<R = unknown, P extends Record<string, any> = {}> { | ||
export declare class ReactRenderer<R = unknown, P extends Record<string, any> = object> { | ||
id: string; | ||
@@ -44,0 +44,0 @@ editor: Editor; |
{ | ||
"name": "@tiptap/react", | ||
"description": "React components for tiptap", | ||
"version": "2.11.0", | ||
"version": "2.11.1", | ||
"homepage": "https://tiptap.dev", | ||
@@ -32,4 +32,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@tiptap/extension-bubble-menu": "^2.11.0", | ||
"@tiptap/extension-floating-menu": "^2.11.0", | ||
"@tiptap/extension-bubble-menu": "^2.11.1", | ||
"@tiptap/extension-floating-menu": "^2.11.1", | ||
"@types/use-sync-external-store": "^0.0.6", | ||
@@ -40,4 +40,4 @@ "fast-deep-equal": "^3", | ||
"devDependencies": { | ||
"@tiptap/core": "^2.11.0", | ||
"@tiptap/pm": "^2.11.0", | ||
"@tiptap/core": "^2.11.1", | ||
"@tiptap/pm": "^2.11.1", | ||
"@types/react": "^18.0.0", | ||
@@ -44,0 +44,0 @@ "@types/react-dom": "^18.0.0", |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
557307
1