@fileverse-dev/ddoc 2.0.3-patch-2 → 2.0.3-patch-3
Sign up to get free protection for your applications and to get access to all the features.
@@ -58,6 +58,11 @@ export declare const LinkPopup: ({ elementRef, editor, setToolVisibility, bubble
|
|
58
58
|
bubbleMenu?: boolean;
|
59
59
|
setIsLinkPopupOpen?: Dispatch<SetStateAction<boolean>>;
|
60
60
|
}) => import("react/jsx-runtime").JSX.Element;
|
61
|
+
export declare const ScriptsPopup: ({ elementRef, editor, setToolVisibility, }: {
|
62
|
+
elementRef: React.RefObject<HTMLDivElement>;
|
63
|
+
editor: Editor;
|
64
|
+
setToolVisibility: Dispatch<SetStateAction<IEditorTool>>;
|
65
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
61
66
|
export declare const TextColor: ({ editor, setVisibility, elementRef, }: {
|
62
67
|
editor: Editor;
|
63
68
|
elementRef: React.RefObject<HTMLDivElement>;
|
@@ -9,7 +9,8 @@ export declare enum IEditorTool {
|
|
9
9
|
LIST = 7,
|
10
10
|
TEXT_FORMATING = 8,
|
11
11
|
TEXT_COLOR_PICKER = 9,
|
12
|
-
LINK_POPUP = 10
|
12
|
+
LINK_POPUP = 10,
|
13
|
+
SCRIPTS = 11
|
13
14
|
}
|
14
15
|
export default function useComponentVisibility(initialIsVisible: boolean): {
|
15
16
|
ref: import('react').RefObject<HTMLDivElement>;
|