@fileverse-dev/ddoc 2.0.3-patch-1 → 2.0.3-patch-2

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, onError, setCharacterCount, setWordCount, }: Partial<DdocProps>) => {
5
- editor: import('@tiptap/react').Editor | null;
5
+ editor: import('@tiptap/core').Editor | null;
6
6
  isContentLoading: boolean;
7
7
  ref: import('react').RefObject<HTMLDivElement>;
8
8
  connect: (username: string | null | undefined, isEns?: boolean) => () => void;