@fileverse-dev/ddoc 1.6.8 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ import { DdocProps } from './types';
|
|
2
2
|
|
3
3
|
import * as Y from 'yjs';
|
4
4
|
export declare const useDdocEditor: ({ isPreviewMode, initialContent, enableCollaboration, collaborationId, walletAddress, username, onChange, onCollaboratorChange, onCommentInteraction, onTextSelection, ensResolutionUrl, handleImageUploadToIpfs, }: Partial<DdocProps>) => {
|
5
|
-
editor: import('@tiptap/react').Editor;
|
5
|
+
editor: import('@tiptap/react').Editor | null;
|
6
6
|
ref: import('react').RefObject<HTMLDivElement>;
|
7
7
|
connect: (username: string | null | undefined, isEns?: boolean) => () => void;
|
8
8
|
ydoc: Y.Doc;
|