@tiptap/vue-2
Advanced tools
Comparing version 2.0.0-beta.61 to 2.0.0-beta.62
import { Extension } from '@tiptap/core'; | ||
declare type CollaborationCursorStorage = { | ||
users: { | ||
clientId: number; | ||
[key: string]: any; | ||
}[]; | ||
}; | ||
export interface CollaborationCursorOptions { | ||
@@ -6,2 +12,5 @@ provider: any; | ||
render(user: Record<string, any>): HTMLElement; | ||
/** | ||
* @deprecated The "onUpdate" option is deprecated. Please use `editor.storage.collaborationCursor.users` instead. Read more: https://tiptap.dev/api/extensions/collaboration-cursor | ||
*/ | ||
onUpdate: (users: { | ||
@@ -18,2 +27,8 @@ clientId: number; | ||
*/ | ||
updateUser: (attributes: Record<string, any>) => ReturnType; | ||
/** | ||
* Update details of the current user | ||
* | ||
* @deprecated The "user" command is deprecated. Please use "updateUser" instead. Read more: https://tiptap.dev/api/extensions/collaboration-cursor | ||
*/ | ||
user: (attributes: Record<string, any>) => ReturnType; | ||
@@ -23,2 +38,3 @@ }; | ||
} | ||
export declare const CollaborationCursor: Extension<CollaborationCursorOptions, any>; | ||
export declare const CollaborationCursor: Extension<CollaborationCursorOptions, CollaborationCursorStorage>; | ||
export {}; |
{ | ||
"name": "@tiptap/vue-2", | ||
"description": "Vue components for tiptap", | ||
"version": "2.0.0-beta.61", | ||
"version": "2.0.0-beta.62", | ||
"homepage": "https://tiptap.dev", | ||
@@ -31,4 +31,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@tiptap/extension-bubble-menu": "^2.0.0-beta.43", | ||
"@tiptap/extension-floating-menu": "^2.0.0-beta.37", | ||
"@tiptap/extension-bubble-menu": "^2.0.0-beta.44", | ||
"@tiptap/extension-floating-menu": "^2.0.0-beta.38", | ||
"prosemirror-view": "^1.20.3" | ||
@@ -41,3 +41,3 @@ }, | ||
}, | ||
"gitHead": "642627ec3635a1d8fa851887d75bee5f193ec63b" | ||
"gitHead": "31c23336d0e5d2be8b250530353531b8a241253c" | ||
} |
254079
5503