@fileverse-dev/ddoc 2.1.0-yjs-patch-2 → 2.1.0-yjs-patch-3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +6576 -6571
- package/dist/package/useZoomLevelListener.d.ts +3 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
@@ -1,6 +1,7 @@
|
|
1
1
|
import { AnyExtension } from '@tiptap/react';
|
2
2
|
|
3
|
-
|
3
|
+
import * as Y from 'yjs';
|
4
|
+
export declare function useZoomLevelListener({ zoomLevel, setExtensions, defaultExtensions, onError, secureImageUploadUrl, customTextInputRules, SlashCommand, PageBreak, ydoc, }: {
|
4
5
|
zoomLevel: string | undefined;
|
5
6
|
setExtensions: React.Dispatch<React.SetStateAction<AnyExtension[]>>;
|
6
7
|
defaultExtensions: (zoomLevel: string, errorHandler: (error: string) => void, secureImageUploadUrl?: string) => AnyExtension[];
|
@@ -9,4 +10,5 @@ export declare function useZoomLevelListener({ zoomLevel, setExtensions, default
|
|
9
10
|
customTextInputRules: AnyExtension;
|
10
11
|
SlashCommand: (errorHandler: (error: string) => void, secureImageUploadUrl: string) => AnyExtension;
|
11
12
|
PageBreak: AnyExtension;
|
13
|
+
ydoc: Y.Doc;
|
12
14
|
}): void;
|