@fileverse-dev/ddoc 2.0.3-sync-patch-8 → 2.0.3-sync-patch-9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +6145 -6133
- package/dist/package/types.d.ts +1 -0
- package/dist/package/use-ddoc-editor.d.ts +1 -1
- package/package.json +2 -2
package/dist/package/types.d.ts
CHANGED
@@ -31,6 +31,7 @@ export interface DdocProps {
|
|
31
31
|
setCharacterCount?: React.Dispatch<SetStateAction<number>>;
|
32
32
|
setWordCount?: React.Dispatch<SetStateAction<number>>;
|
33
33
|
collaborationKey?: string;
|
34
|
+
yjsUpdate?: string;
|
34
35
|
}
|
35
36
|
export interface IEditorSelectionData {
|
36
37
|
from: number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { DdocProps } from './types';
|
2
2
|
|
3
|
-
export declare const useDdocEditor: ({ isPreviewMode, initialContent, enableCollaboration, collaborationId, walletAddress, username, onChange, onCollaboratorChange, onCommentInteraction, onTextSelection, ensResolutionUrl, onError, setCharacterCount, setWordCount, collaborationKey, }: Partial<DdocProps>) => {
|
3
|
+
export declare const useDdocEditor: ({ isPreviewMode, initialContent, enableCollaboration, collaborationId, walletAddress, username, onChange, onCollaboratorChange, onCommentInteraction, onTextSelection, ensResolutionUrl, onError, setCharacterCount, setWordCount, collaborationKey, yjsUpdate, }: Partial<DdocProps>) => {
|
4
4
|
editor: import('@tiptap/core').Editor | null;
|
5
5
|
isContentLoading: boolean;
|
6
6
|
ref: import('react').RefObject<HTMLDivElement>;
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@fileverse-dev/ddoc",
|
3
3
|
"private": false,
|
4
4
|
"description": "DDoc",
|
5
|
-
"version": "2.0.3-sync-patch-
|
5
|
+
"version": "2.0.3-sync-patch-9",
|
6
6
|
"main": "dist/index.es.js",
|
7
7
|
"module": "dist/index.es.js",
|
8
8
|
"exports": {
|
@@ -28,7 +28,7 @@
|
|
28
28
|
"dependencies": {
|
29
29
|
"@_ueberdosis/prosemirror-tables": "^1.1.3",
|
30
30
|
"@aarkue/tiptap-math-extension": "^1.3.3",
|
31
|
-
"@fileverse-dev/sync": "^0.1.3-patch-
|
31
|
+
"@fileverse-dev/sync": "^0.1.3-patch-2",
|
32
32
|
"@fileverse/ui": "^4.1.1-patch-8",
|
33
33
|
"@radix-ui/react-focus-scope": "^1.1.0",
|
34
34
|
"@radix-ui/react-popover": "^1.0.7",
|