@fileverse-dev/ddoc 2.1.0-yjs-patch-3 → 2.1.0-yjs-patch-4
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +15 -0
- package/dist/index.es.js +21748 -21662
- package/dist/package/components/presentation-mode/presentation-mode.d.ts +2 -1
- package/dist/package/extensions/d-block/dblock-node-view.d.ts +0 -1
- package/dist/package/extensions/d-block/dblock.d.ts +0 -1
- package/dist/package/extensions/default-extension.d.ts +1 -1
- package/dist/package/types.d.ts +1 -0
- package/dist/package/utils/template-utils.d.ts +1 -1
- package/dist/package/zoom-service.d.ts +10 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/package/useZoomLevelListener.d.ts +0 -14
package/package.json
CHANGED
@@ -1,14 +0,0 @@
|
|
1
|
-
import { AnyExtension } from '@tiptap/react';
|
2
|
-
|
3
|
-
import * as Y from 'yjs';
|
4
|
-
export declare function useZoomLevelListener({ zoomLevel, setExtensions, defaultExtensions, onError, secureImageUploadUrl, customTextInputRules, SlashCommand, PageBreak, ydoc, }: {
|
5
|
-
zoomLevel: string | undefined;
|
6
|
-
setExtensions: React.Dispatch<React.SetStateAction<AnyExtension[]>>;
|
7
|
-
defaultExtensions: (zoomLevel: string, errorHandler: (error: string) => void, secureImageUploadUrl?: string) => AnyExtension[];
|
8
|
-
onError?: (error: string) => void;
|
9
|
-
secureImageUploadUrl?: string;
|
10
|
-
customTextInputRules: AnyExtension;
|
11
|
-
SlashCommand: (errorHandler: (error: string) => void, secureImageUploadUrl: string) => AnyExtension;
|
12
|
-
PageBreak: AnyExtension;
|
13
|
-
ydoc: Y.Doc;
|
14
|
-
}): void;
|