@fileverse-dev/ddoc 2.0.9-patch-2 → 2.0.9-patch-4
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,7 @@ export interface BubbleMenuItem {
|
|
10
10
|
type EditorBubbleMenuProps = Omit<BubbleMenuProps, 'children'> & {
|
11
11
|
isPreviewMode: boolean;
|
12
12
|
onError?: (errorString: string) => void;
|
13
|
+
zoomLevel: string;
|
13
14
|
setIsCommentSectionOpen?: (isOpen: boolean) => void;
|
14
15
|
inlineCommentData?: InlineCommentData;
|
15
16
|
setInlineCommentData?: React.Dispatch<React.SetStateAction<InlineCommentData>>;
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
2
|
import { Editor } from '@tiptap/react';
|
3
3
|
|
4
|
-
declare const TiptapToolBar: ({ editor, onError, isNavbarVisible, setIsNavbarVisible, secureImageUploadUrl, }: {
|
4
|
+
declare const TiptapToolBar: ({ editor, onError, zoomLevel, setZoomLevel, isNavbarVisible, setIsNavbarVisible, secureImageUploadUrl, }: {
|
5
5
|
editor: Editor;
|
6
6
|
onError?: (errorString: string) => void;
|
7
|
+
zoomLevel: string;
|
8
|
+
setZoomLevel: (zoom: string) => void;
|
7
9
|
isNavbarVisible: boolean;
|
8
10
|
setIsNavbarVisible: React.Dispatch<React.SetStateAction<boolean>>;
|
9
11
|
secureImageUploadUrl?: string;
|
package/dist/package/types.d.ts
CHANGED
@@ -22,6 +22,8 @@ export interface DdocProps {
|
|
22
22
|
setIsCommentSectionOpen?: React.Dispatch<SetStateAction<boolean>>;
|
23
23
|
inlineCommentData?: InlineCommentData;
|
24
24
|
setInlineCommentData?: React.Dispatch<React.SetStateAction<InlineCommentData>>;
|
25
|
+
zoomLevel: string;
|
26
|
+
setZoomLevel: React.Dispatch<SetStateAction<string>>;
|
25
27
|
isCommentSectionOpen?: boolean;
|
26
28
|
collaborationId?: string;
|
27
29
|
isPreviewMode: boolean;
|