@livetiles/reach-plugin-types 0.5.0-preview.990 → 0.5.0-preview.991
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.
- package/lib/index.d.ts +14 -4
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -11644,7 +11644,13 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/Custo
|
|
|
11644
11644
|
}
|
|
11645
11645
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/CustomGallery" {
|
|
11646
11646
|
import { Node } from '@tiptap/react';
|
|
11647
|
-
|
|
11647
|
+
interface ICustomGallery {
|
|
11648
|
+
onEditFiles?: (files: {
|
|
11649
|
+
caption: string;
|
|
11650
|
+
id: string;
|
|
11651
|
+
}[]) => void;
|
|
11652
|
+
}
|
|
11653
|
+
const CustomGallery: (props: ICustomGallery) => Node;
|
|
11648
11654
|
export default CustomGallery;
|
|
11649
11655
|
}
|
|
11650
11656
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/index" {
|
|
@@ -11671,14 +11677,18 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
|
|
|
11671
11677
|
characterLimit?: number;
|
|
11672
11678
|
className?: string;
|
|
11673
11679
|
footer?: (editor: Editor, clearContent: () => void, content: EnhancedRichTextEditorContent, getCharacterCount: () => number, recoverContent: (content: EnhancedRichTextEditorContent) => void) => JSX.Element;
|
|
11674
|
-
handleAddFiles?: (files?: {
|
|
11675
|
-
file: File;
|
|
11676
|
-
}[]) => Promise<void>;
|
|
11677
11680
|
header?: (clearContent: () => void) => JSX.Element;
|
|
11678
11681
|
initialContent: string;
|
|
11679
11682
|
isReadOnly?: boolean;
|
|
11680
11683
|
main: (editor: Editor) => JSX.Element;
|
|
11681
11684
|
mentionSearchHandler?: (searchText: string) => Promise<Account[]>;
|
|
11685
|
+
onAddFiles?: (files?: {
|
|
11686
|
+
file: File;
|
|
11687
|
+
}[]) => Promise<void>;
|
|
11688
|
+
onEditFiles?: (files: {
|
|
11689
|
+
caption: string;
|
|
11690
|
+
id: string;
|
|
11691
|
+
}[]) => void;
|
|
11682
11692
|
onCreate?: (editor: Editor) => void;
|
|
11683
11693
|
onFocus?: (editor: Editor) => void;
|
|
11684
11694
|
onShortcut?: (shortcut: string) => void;
|