@fileverse-dev/ddoc 2.0.4-patch-1 → 2.0.4-patch-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
|
|
1
1
|
import { NodeType } from '@tiptap/pm/model';
|
2
2
|
import { InputRule } from '@tiptap/core';
|
3
3
|
|
4
|
-
export declare const defaultExtensions: (import('@tiptap/core').Node<any, any> | import('@tiptap/core').Extension<any, any> | import('@tiptap/core').Mark<any, any>)[];
|
4
|
+
export declare const defaultExtensions: (onError: (error: string) => void) => (import('@tiptap/core').Node<any, any> | import('@tiptap/core').Extension<any, any> | import('@tiptap/core').Mark<any, any>)[];
|
5
5
|
export declare const createInputRule: (pattern: RegExp, data: string, type: NodeType) => InputRule;
|
@@ -21,6 +21,7 @@ declare module '@tiptap/core' {
|
|
21
21
|
export interface MediaOptions {
|
22
22
|
HTMLAttributes: Record<string, any>;
|
23
23
|
uploadFn: UploadFnType;
|
24
|
+
onError: (error: string) => void;
|
24
25
|
}
|
25
26
|
export declare const IMAGE_INPUT_REGEX: RegExp;
|
26
27
|
export declare const VIDEO_INPUT_REGEX: RegExp;
|