@fileverse-dev/ddoc 1.4.0 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +1246 -1251
- package/dist/index.umd.js +32 -32
- package/dist/packages/ddoc/use-ddoc-editor.d.ts +1 -1
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import { DdocProps } from './types';
|
2
2
|
|
3
3
|
import * as Y from 'yjs';
|
4
|
-
export declare const useDdocEditor: ({ isPreviewMode, initialContent, enableCollaboration, collaborationId, ensProviderUrl, username, onAutoSave, onChange, onCollaboratorChange }: Partial<DdocProps>) => {
|
4
|
+
export declare const useDdocEditor: ({ isPreviewMode, initialContent, enableCollaboration, collaborationId, ensProviderUrl, username, onAutoSave, onChange, onCollaboratorChange, }: Partial<DdocProps>) => {
|
5
5
|
editor: import('@tiptap/react').Editor | null;
|
6
6
|
focusEditor: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
7
7
|
ref: import('react').RefObject<HTMLDivElement>;
|