asma-ui-richeditor 0.6.0 → 0.6.2
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.
|
@@ -11800,9 +11800,6 @@ var If = {
|
|
|
11800
11800
|
children: r
|
|
11801
11801
|
}) })
|
|
11802
11802
|
}), x(de, {
|
|
11803
|
-
disablePortal: !0,
|
|
11804
|
-
disableEnforceFocus: !0,
|
|
11805
|
-
disableAutoFocus: !0,
|
|
11806
11803
|
open: l,
|
|
11807
11804
|
anchorEl: c,
|
|
11808
11805
|
onClose: u,
|
|
@@ -12063,6 +12060,7 @@ var If = {
|
|
|
12063
12060
|
}) })
|
|
12064
12061
|
}),
|
|
12065
12062
|
u >= 4 && x(Rf, {
|
|
12063
|
+
dataTest: "toolbar-font-size-select",
|
|
12066
12064
|
editor: e,
|
|
12067
12065
|
locale: c
|
|
12068
12066
|
}),
|
|
@@ -12238,9 +12236,6 @@ var If = {
|
|
|
12238
12236
|
})
|
|
12239
12237
|
}) })
|
|
12240
12238
|
}), x(de, {
|
|
12241
|
-
disablePortal: !0,
|
|
12242
|
-
disableEnforceFocus: !0,
|
|
12243
|
-
disableAutoFocus: !0,
|
|
12244
12239
|
open: me,
|
|
12245
12240
|
anchorEl: pe,
|
|
12246
12241
|
onClose: ge,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ChipProps } from '@mui/material';
|
|
2
1
|
import { Editor, UseEditorOptions } from '@tiptap/react';
|
|
3
2
|
import { YoutubeOptions } from '@tiptap/extension-youtube';
|
|
4
3
|
import { RefObject } from 'react';
|
|
5
4
|
import { ImageOptions } from '@tiptap/extension-image';
|
|
5
|
+
import { StyledChipProps } from 'asma-ui-core';
|
|
6
6
|
export interface CustomCSSProperties extends React.CSSProperties {
|
|
7
7
|
'--max-scrollable-height'?: string;
|
|
8
8
|
}
|
|
@@ -42,7 +42,7 @@ export interface IRichInput extends UseEditorOptions {
|
|
|
42
42
|
maxScrollableHeight?: number;
|
|
43
43
|
toolbarDefaultVisible?: boolean;
|
|
44
44
|
locale?: ILocale;
|
|
45
|
-
attachments?: (
|
|
45
|
+
attachments?: (StyledChipProps & {
|
|
46
46
|
key: string;
|
|
47
47
|
dataTest: string;
|
|
48
48
|
})[];
|