@fileverse-dev/ddoc 2.0.3-patch-3 → 2.0.3-patch-4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +21864 -21325
- package/dist/package/components/editor-utils.d.ts +2 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
@@ -51,12 +51,13 @@ export declare const EditorList: ({ elementRef, editor, setToolVisibility, }: {
|
|
51
51
|
editor: Editor;
|
52
52
|
setToolVisibility: Dispatch<SetStateAction<IEditorTool>>;
|
53
53
|
}) => import("react/jsx-runtime").JSX.Element;
|
54
|
-
export declare const LinkPopup: ({ elementRef, editor, setToolVisibility, bubbleMenu, setIsLinkPopupOpen, }: {
|
54
|
+
export declare const LinkPopup: ({ elementRef, editor, setToolVisibility, bubbleMenu, setIsLinkPopupOpen, onError, }: {
|
55
55
|
elementRef: React.RefObject<HTMLDivElement>;
|
56
56
|
editor: Editor;
|
57
57
|
setToolVisibility: Dispatch<SetStateAction<IEditorTool>>;
|
58
58
|
bubbleMenu?: boolean;
|
59
59
|
setIsLinkPopupOpen?: Dispatch<SetStateAction<boolean>>;
|
60
|
+
onError?: (errorString: string) => void;
|
60
61
|
}) => import("react/jsx-runtime").JSX.Element;
|
61
62
|
export declare const ScriptsPopup: ({ elementRef, editor, setToolVisibility, }: {
|
62
63
|
elementRef: React.RefObject<HTMLDivElement>;
|