@bigbinary/neeto-editor 1.23.3 → 1.24.1
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/index.cjs.js +2 -2
- package/index.js +7 -7
- package/package.json +1 -1
- package/types.d.ts +5 -1
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import {
|
|
2
3
|
Editor as TiptapEditor,
|
|
3
4
|
Extension,
|
|
@@ -75,7 +76,6 @@ interface MenuProps {
|
|
|
75
76
|
isIndependant?: boolean;
|
|
76
77
|
className?: string;
|
|
77
78
|
}
|
|
78
|
-
|
|
79
79
|
interface attachment {
|
|
80
80
|
filename?: string;
|
|
81
81
|
signedId?: string;
|
|
@@ -91,6 +91,9 @@ interface attachmentsConfig {
|
|
|
91
91
|
|
|
92
92
|
interface EditorProps {
|
|
93
93
|
attachmentsConfig?: attachmentsConfig;
|
|
94
|
+
isMenuIndependent?: boolean;
|
|
95
|
+
menuClassName?: string;
|
|
96
|
+
attachmentsClassName?: string;
|
|
94
97
|
tooltips?: tooltips;
|
|
95
98
|
initialValue?: string;
|
|
96
99
|
menuType?: "fixed" | "bubble" | "headless" | "none";
|
|
@@ -119,6 +122,7 @@ interface EditorProps {
|
|
|
119
122
|
error?: string;
|
|
120
123
|
attachments?: Array<attachment>;
|
|
121
124
|
onChangeAttachments?: (attachments: attachment[]) => void;
|
|
125
|
+
children?: ReactNode;
|
|
122
126
|
[otherProps: string]: any;
|
|
123
127
|
}
|
|
124
128
|
|