@fileverse-dev/ddoc 2.0.2-patch-3 → 2.0.2-patch-5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +3675 -3657
- package/dist/package/use-ddoc-editor.d.ts +1 -0
- package/package.json +1 -1
@@ -3,6 +3,7 @@ import { DdocProps } from './types';
|
|
3
3
|
import * as Y from 'yjs';
|
4
4
|
export declare const useDdocEditor: ({ isPreviewMode, initialContent, enableCollaboration, collaborationId, walletAddress, username, onChange, onCollaboratorChange, onCommentInteraction, onTextSelection, ensResolutionUrl, onError, setCharacterCount, setWordCount, }: Partial<DdocProps>) => {
|
5
5
|
editor: import('@tiptap/react').Editor | null;
|
6
|
+
isContentLoading: boolean;
|
6
7
|
ref: import('react').RefObject<HTMLDivElement>;
|
7
8
|
connect: (username: string | null | undefined, isEns?: boolean) => () => void;
|
8
9
|
ydoc: Y.Doc;
|