@fileverse-dev/ddoc 2.0.9-patch-5 → 2.0.9-patch-6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { BubbleMenuProps, Editor } from '@tiptap/react';
1
+ import { BubbleMenuProps } from '@tiptap/react';
2
2
  import { default as React } from 'react';
3
3
 
4
4
  export interface BubbleMenuItem {
@@ -10,11 +10,9 @@ export interface BubbleMenuItem {
10
10
  type EditorBubbleMenuProps = Omit<BubbleMenuProps, 'children'> & {
11
11
  isPreviewMode: boolean;
12
12
  onError?: (errorString: string) => void;
13
- zoomLevel: string;
14
13
  setIsCommentSectionOpen?: (isOpen: boolean) => void;
15
14
  inlineCommentData?: InlineCommentData;
16
15
  setInlineCommentData?: React.Dispatch<React.SetStateAction<InlineCommentData>>;
17
- editor: Editor;
18
16
  };
19
17
  export declare const EditorBubbleMenu: (props: EditorBubbleMenuProps) => import("react/jsx-runtime").JSX.Element;
20
18
  export {};
@@ -1,11 +1,9 @@
1
1
  import { default as React } from 'react';
2
2
  import { Editor } from '@tiptap/react';
3
3
 
4
- declare const TiptapToolBar: ({ editor, onError, zoomLevel, setZoomLevel, isNavbarVisible, setIsNavbarVisible, secureImageUploadUrl, }: {
4
+ declare const TiptapToolBar: ({ editor, onError, isNavbarVisible, setIsNavbarVisible, secureImageUploadUrl, }: {
5
5
  editor: Editor;
6
6
  onError?: (errorString: string) => void;
7
- zoomLevel: string;
8
- setZoomLevel: (zoom: string) => void;
9
7
  isNavbarVisible: boolean;
10
8
  setIsNavbarVisible: React.Dispatch<React.SetStateAction<boolean>>;
11
9
  secureImageUploadUrl?: string;
@@ -22,8 +22,6 @@ 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>>;
27
25
  isCommentSectionOpen?: boolean;
28
26
  collaborationId?: string;
29
27
  isPreviewMode: boolean;