@mantine-vue/tiptap 3.2.0 → 3.4.0
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/cjs/index.cjs +462 -15
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +449 -16
- package/esm/index.mjs.map +1 -1
- package/lib/RichTextEditor.context.d.ts +2 -2
- package/lib/RichTextEditor.d.ts +17 -0
- package/lib/RichTextEditor.types.d.ts +19 -2
- package/lib/RichTextEditorControl/RichTextEditorDetailsControl.d.ts +3 -0
- package/lib/RichTextEditorControl/RichTextEditorDetailsControl.types.d.ts +11 -0
- package/lib/RichTextEditorControl/RichTextEditorDetailsControl.vue.d.ts +202 -0
- package/lib/RichTextEditorControl/RichTextEditorInvisibleCharactersControl.d.ts +3 -0
- package/lib/RichTextEditorControl/RichTextEditorInvisibleCharactersControl.types.d.ts +11 -0
- package/lib/RichTextEditorControl/RichTextEditorInvisibleCharactersControl.vue.d.ts +202 -0
- package/lib/RichTextEditorControl/RichTextEditorTableInsertControl.d.ts +3 -0
- package/lib/RichTextEditorControl/RichTextEditorTableInsertControl.types.d.ts +21 -0
- package/lib/RichTextEditorControl/RichTextEditorTableInsertControl.vue.d.ts +209 -0
- package/lib/RichTextEditorControl/controls.d.ts +88 -0
- package/lib/RichTextEditorControl/index.d.ts +3 -0
- package/lib/icons/Icons.d.ts +14 -0
- package/lib/index.d.mts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/labels.d.ts +17 -1
- package/package.json +3 -3
- package/styles.css +276 -108
- package/styles.layer.css +276 -108
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Editor } from '@tiptap/vue-3';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ResolvedRichTextEditorLabels } from './labels';
|
|
3
3
|
export interface RichTextEditorContextValue {
|
|
4
4
|
getStyles: (selector: string, options?: {
|
|
5
5
|
active?: boolean;
|
|
@@ -11,7 +11,7 @@ export interface RichTextEditorContextValue {
|
|
|
11
11
|
variant?: string;
|
|
12
12
|
}) => Record<string, any>;
|
|
13
13
|
editor: Editor | null;
|
|
14
|
-
labels:
|
|
14
|
+
labels: ResolvedRichTextEditorLabels;
|
|
15
15
|
withCodeHighlightStyles: boolean | undefined;
|
|
16
16
|
withTypographyStyles: boolean | undefined;
|
|
17
17
|
unstyled: boolean | undefined;
|
package/lib/RichTextEditor.d.ts
CHANGED
|
@@ -5,6 +5,9 @@ import { RichTextEditorColorControl } from './RichTextEditorControl/RichTextEdit
|
|
|
5
5
|
import { RichTextEditorColorPickerControl } from './RichTextEditorControl/RichTextEditorColorPickerControl';
|
|
6
6
|
import { RichTextEditorLinkControl } from './RichTextEditorControl/RichTextEditorLinkControl';
|
|
7
7
|
import { RichTextEditorSourceCodeControl } from './RichTextEditorControl/RichTextEditorSourceCodeControl';
|
|
8
|
+
import { RichTextEditorTableInsertControl } from './RichTextEditorControl/RichTextEditorTableInsertControl';
|
|
9
|
+
import { RichTextEditorDetailsControl } from './RichTextEditorControl/RichTextEditorDetailsControl';
|
|
10
|
+
import { RichTextEditorInvisibleCharactersControl } from './RichTextEditorControl/RichTextEditorInvisibleCharactersControl';
|
|
8
11
|
import { RichTextEditorControlsGroup } from './RichTextEditorControlsGroup/RichTextEditorControlsGroup';
|
|
9
12
|
import { RichTextEditorToolbar } from './RichTextEditorToolbar/RichTextEditorToolbar';
|
|
10
13
|
export declare const RichTextEditor: import("@mantine-vue/core").MantineComponent<{
|
|
@@ -54,6 +57,20 @@ export declare const RichTextEditor: import("@mantine-vue/core").MantineComponen
|
|
|
54
57
|
TaskListSink: typeof controls.TaskListSinkControl;
|
|
55
58
|
TaskListLift: typeof controls.TaskListLiftControl;
|
|
56
59
|
SourceCode: typeof RichTextEditorSourceCodeControl;
|
|
60
|
+
TableInsert: typeof RichTextEditorTableInsertControl;
|
|
61
|
+
TableDelete: typeof controls.TableDeleteControl;
|
|
62
|
+
TableColumnBefore: typeof controls.TableColumnBeforeControl;
|
|
63
|
+
TableColumnAfter: typeof controls.TableColumnAfterControl;
|
|
64
|
+
TableColumnDelete: typeof controls.TableColumnDeleteControl;
|
|
65
|
+
TableRowBefore: typeof controls.TableRowBeforeControl;
|
|
66
|
+
TableRowAfter: typeof controls.TableRowAfterControl;
|
|
67
|
+
TableRowDelete: typeof controls.TableRowDeleteControl;
|
|
68
|
+
TableToggleHeaderRow: typeof controls.TableToggleHeaderRowControl;
|
|
69
|
+
TableToggleHeaderColumn: typeof controls.TableToggleHeaderColumnControl;
|
|
70
|
+
TableMergeCells: typeof controls.TableMergeCellsControl;
|
|
71
|
+
TableSplitCell: typeof controls.TableSplitCellControl;
|
|
72
|
+
Details: typeof RichTextEditorDetailsControl;
|
|
73
|
+
InvisibleCharacters: typeof RichTextEditorInvisibleCharactersControl;
|
|
57
74
|
};
|
|
58
75
|
}>;
|
|
59
76
|
export type { RichTextEditorFactory, RichTextEditorOwnProps, RichTextEditorProps, RichTextEditorSlots, RichTextEditorStylesNames, RichTextEditorVariant, } from './RichTextEditor.types';
|
|
@@ -4,15 +4,18 @@ import type { BoxProps, Factory, StylesApiProps } from '@mantine-vue/core';
|
|
|
4
4
|
import type { RichTextEditorLabels } from './labels';
|
|
5
5
|
import type { RichTextEditorContent } from './RichTextEditorContent/RichTextEditorContent';
|
|
6
6
|
import type { RichTextEditorControl } from './RichTextEditorControl/RichTextEditorControl';
|
|
7
|
-
import type { BoldControl, ItalicControl, StrikeThroughControl, UnderlineControl, ClearFormattingControl, H1Control, H2Control, H3Control, H4Control, H5Control, H6Control, BulletListControl, OrderedListControl, UnlinkControl, BlockquoteControl, AlignLeftControl, AlignRightControl, AlignCenterControl, AlignJustifyControl, SuperscriptControl, SubscriptControl, CodeControl, CodeBlockControl, HighlightControl, HrControl, UnsetColorControl, UndoControl, RedoControl, TaskListControl, TaskListSinkControl, TaskListLiftControl } from './RichTextEditorControl/controls';
|
|
7
|
+
import type { BoldControl, ItalicControl, StrikeThroughControl, UnderlineControl, ClearFormattingControl, H1Control, H2Control, H3Control, H4Control, H5Control, H6Control, BulletListControl, OrderedListControl, UnlinkControl, BlockquoteControl, AlignLeftControl, AlignRightControl, AlignCenterControl, AlignJustifyControl, SuperscriptControl, SubscriptControl, CodeControl, CodeBlockControl, HighlightControl, HrControl, UnsetColorControl, UndoControl, RedoControl, TaskListControl, TaskListSinkControl, TaskListLiftControl, TableDeleteControl, TableColumnBeforeControl, TableColumnAfterControl, TableColumnDeleteControl, TableRowBeforeControl, TableRowAfterControl, TableRowDeleteControl, TableToggleHeaderRowControl, TableToggleHeaderColumnControl, TableMergeCellsControl, TableSplitCellControl } from './RichTextEditorControl/controls';
|
|
8
8
|
import type { RichTextEditorColorControl } from './RichTextEditorControl/RichTextEditorColorControl';
|
|
9
9
|
import type { RichTextEditorColorPickerControl } from './RichTextEditorControl/RichTextEditorColorPickerControl';
|
|
10
10
|
import type { RichTextEditorLinkControl } from './RichTextEditorControl/RichTextEditorLinkControl';
|
|
11
11
|
import type { RichTextEditorSourceCodeControl } from './RichTextEditorControl/RichTextEditorSourceCodeControl';
|
|
12
|
+
import type { RichTextEditorTableInsertControl } from './RichTextEditorControl/RichTextEditorTableInsertControl';
|
|
13
|
+
import type { RichTextEditorDetailsControl } from './RichTextEditorControl/RichTextEditorDetailsControl';
|
|
14
|
+
import type { RichTextEditorInvisibleCharactersControl } from './RichTextEditorControl/RichTextEditorInvisibleCharactersControl';
|
|
12
15
|
import type { RichTextEditorControlsGroup } from './RichTextEditorControlsGroup/RichTextEditorControlsGroup';
|
|
13
16
|
import type { RichTextEditorToolbar } from './RichTextEditorToolbar/RichTextEditorToolbar';
|
|
14
17
|
export type RichTextEditorVariant = 'default' | 'subtle';
|
|
15
|
-
export type RichTextEditorStylesNames = 'linkEditorSave' | 'linkEditorDropdown' | 'root' | 'content' | 'Typography' | 'control' | 'controlIcon' | 'controlsGroup' | 'toolbar' | 'linkEditor' | 'linkEditorInput' | 'linkEditorExternalControl';
|
|
18
|
+
export type RichTextEditorStylesNames = 'linkEditorSave' | 'linkEditorDropdown' | 'root' | 'content' | 'Typography' | 'control' | 'controlIcon' | 'controlsGroup' | 'toolbar' | 'linkEditor' | 'linkEditorInput' | 'linkEditorExternalControl' | 'tableInsertDropdown' | 'tableInsertGrid' | 'tableInsertCell' | 'tableInsertLabel';
|
|
16
19
|
export interface RichTextEditorOwnProps extends StylesApiProps<RichTextEditorFactory> {
|
|
17
20
|
/** Tiptap editor instance. */
|
|
18
21
|
editor: Editor | null | undefined;
|
|
@@ -79,5 +82,19 @@ export type RichTextEditorFactory = Factory<{
|
|
|
79
82
|
TaskListSink: typeof TaskListSinkControl;
|
|
80
83
|
TaskListLift: typeof TaskListLiftControl;
|
|
81
84
|
SourceCode: typeof RichTextEditorSourceCodeControl;
|
|
85
|
+
TableInsert: typeof RichTextEditorTableInsertControl;
|
|
86
|
+
TableDelete: typeof TableDeleteControl;
|
|
87
|
+
TableColumnBefore: typeof TableColumnBeforeControl;
|
|
88
|
+
TableColumnAfter: typeof TableColumnAfterControl;
|
|
89
|
+
TableColumnDelete: typeof TableColumnDeleteControl;
|
|
90
|
+
TableRowBefore: typeof TableRowBeforeControl;
|
|
91
|
+
TableRowAfter: typeof TableRowAfterControl;
|
|
92
|
+
TableRowDelete: typeof TableRowDeleteControl;
|
|
93
|
+
TableToggleHeaderRow: typeof TableToggleHeaderRowControl;
|
|
94
|
+
TableToggleHeaderColumn: typeof TableToggleHeaderColumnControl;
|
|
95
|
+
TableMergeCells: typeof TableMergeCellsControl;
|
|
96
|
+
TableSplitCell: typeof TableSplitCellControl;
|
|
97
|
+
Details: typeof RichTextEditorDetailsControl;
|
|
98
|
+
InvisibleCharacters: typeof RichTextEditorInvisibleCharactersControl;
|
|
82
99
|
};
|
|
83
100
|
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Factory } from '@mantine-vue/core';
|
|
2
|
+
import type { RichTextEditorControlBaseProps, RichTextEditorControlBaseSlots } from './RichTextEditorControl.types';
|
|
3
|
+
export type RichTextEditorDetailsControlProps = RichTextEditorControlBaseProps;
|
|
4
|
+
export type RichTextEditorDetailsControlFactory = Factory<{
|
|
5
|
+
props: RichTextEditorDetailsControlProps;
|
|
6
|
+
slots: RichTextEditorControlBaseSlots;
|
|
7
|
+
ref: HTMLButtonElement;
|
|
8
|
+
element: 'button';
|
|
9
|
+
stylesNames: 'control';
|
|
10
|
+
compound: true;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import type { RichTextEditorControlBaseRuntimeProps } from './RichTextEditorControl.types';
|
|
2
|
+
declare var __VLS_11: {
|
|
3
|
+
innerHTML?: string | undefined;
|
|
4
|
+
class?: import("vue").ClassValue | undefined;
|
|
5
|
+
style?: import("vue").StyleValue | undefined;
|
|
6
|
+
accesskey?: string | undefined;
|
|
7
|
+
contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
8
|
+
contextmenu?: string | undefined;
|
|
9
|
+
dir?: string | undefined;
|
|
10
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
11
|
+
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
12
|
+
enterKeyHint?: import("vue").HTMLAttributes["enterkeyhint"];
|
|
13
|
+
hidden?: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
14
|
+
id?: string | undefined;
|
|
15
|
+
inert?: (boolean | "true" | "false") | undefined;
|
|
16
|
+
lang?: string | undefined;
|
|
17
|
+
placeholder?: string | undefined;
|
|
18
|
+
spellcheck?: (boolean | "true" | "false") | undefined;
|
|
19
|
+
tabindex?: (string | number) | undefined;
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
translate?: "yes" | "no" | undefined;
|
|
22
|
+
radiogroup?: string | undefined;
|
|
23
|
+
role?: string | undefined;
|
|
24
|
+
about?: string | undefined;
|
|
25
|
+
datatype?: string | undefined;
|
|
26
|
+
inlist?: any;
|
|
27
|
+
prefix?: string | undefined;
|
|
28
|
+
property?: string | undefined;
|
|
29
|
+
resource?: string | undefined;
|
|
30
|
+
typeof?: string | undefined;
|
|
31
|
+
vocab?: string | undefined;
|
|
32
|
+
autocapitalize?: string | undefined;
|
|
33
|
+
autocorrect?: string | undefined;
|
|
34
|
+
autosave?: string | undefined;
|
|
35
|
+
color?: string | undefined;
|
|
36
|
+
itemprop?: string | undefined;
|
|
37
|
+
itemscope?: (boolean | "true" | "false") | undefined;
|
|
38
|
+
itemtype?: string | undefined;
|
|
39
|
+
itemid?: string | undefined;
|
|
40
|
+
itemref?: string | undefined;
|
|
41
|
+
results?: (string | number) | undefined;
|
|
42
|
+
security?: string | undefined;
|
|
43
|
+
unselectable?: "on" | "off" | undefined;
|
|
44
|
+
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
45
|
+
is?: string | undefined;
|
|
46
|
+
exportparts?: string;
|
|
47
|
+
part?: string;
|
|
48
|
+
'aria-activedescendant'?: string | undefined;
|
|
49
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
50
|
+
'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
|
|
51
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
52
|
+
'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
|
|
53
|
+
'aria-colcount'?: (string | number) | undefined;
|
|
54
|
+
'aria-colindex'?: (string | number) | undefined;
|
|
55
|
+
'aria-colspan'?: (string | number) | undefined;
|
|
56
|
+
'aria-controls'?: string | undefined;
|
|
57
|
+
'aria-current'?: (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
58
|
+
'aria-describedby'?: string | undefined;
|
|
59
|
+
'aria-details'?: string | undefined;
|
|
60
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
61
|
+
'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
62
|
+
'aria-errormessage'?: string | undefined;
|
|
63
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
64
|
+
'aria-flowto'?: string | undefined;
|
|
65
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
66
|
+
'aria-haspopup'?: (boolean | "true" | "false") | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
67
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
68
|
+
'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
|
|
69
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
70
|
+
'aria-label'?: string | undefined;
|
|
71
|
+
'aria-labelledby'?: string | undefined;
|
|
72
|
+
'aria-level'?: (string | number) | undefined;
|
|
73
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
74
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
75
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
76
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
77
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
78
|
+
'aria-owns'?: string | undefined;
|
|
79
|
+
'aria-placeholder'?: string | undefined;
|
|
80
|
+
'aria-posinset'?: (string | number) | undefined;
|
|
81
|
+
'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
|
|
82
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
83
|
+
'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
84
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
85
|
+
'aria-roledescription'?: string | undefined;
|
|
86
|
+
'aria-rowcount'?: (string | number) | undefined;
|
|
87
|
+
'aria-rowindex'?: (string | number) | undefined;
|
|
88
|
+
'aria-rowspan'?: (string | number) | undefined;
|
|
89
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
'aria-setsize'?: (string | number) | undefined;
|
|
91
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
92
|
+
'aria-valuemax'?: (string | number) | undefined;
|
|
93
|
+
'aria-valuemin'?: (string | number) | undefined;
|
|
94
|
+
'aria-valuenow'?: (string | number) | undefined;
|
|
95
|
+
'aria-valuetext'?: string | undefined;
|
|
96
|
+
onCopy?: ((payload: ClipboardEvent) => void) | undefined;
|
|
97
|
+
onCut?: ((payload: ClipboardEvent) => void) | undefined;
|
|
98
|
+
onPaste?: ((payload: ClipboardEvent) => void) | undefined;
|
|
99
|
+
onCompositionend?: ((payload: CompositionEvent) => void) | undefined;
|
|
100
|
+
onCompositionstart?: ((payload: CompositionEvent) => void) | undefined;
|
|
101
|
+
onCompositionupdate?: ((payload: CompositionEvent) => void) | undefined;
|
|
102
|
+
onDrag?: ((payload: DragEvent) => void) | undefined;
|
|
103
|
+
onDragend?: ((payload: DragEvent) => void) | undefined;
|
|
104
|
+
onDragenter?: ((payload: DragEvent) => void) | undefined;
|
|
105
|
+
onDragexit?: ((payload: DragEvent) => void) | undefined;
|
|
106
|
+
onDragleave?: ((payload: DragEvent) => void) | undefined;
|
|
107
|
+
onDragover?: ((payload: DragEvent) => void) | undefined;
|
|
108
|
+
onDragstart?: ((payload: DragEvent) => void) | undefined;
|
|
109
|
+
onDrop?: ((payload: DragEvent) => void) | undefined;
|
|
110
|
+
onFocus?: ((payload: FocusEvent) => void) | undefined;
|
|
111
|
+
onFocusin?: ((payload: FocusEvent) => void) | undefined;
|
|
112
|
+
onFocusout?: ((payload: FocusEvent) => void) | undefined;
|
|
113
|
+
onBlur?: ((payload: FocusEvent) => void) | undefined;
|
|
114
|
+
onChange?: ((payload: Event) => void) | undefined;
|
|
115
|
+
onBeforeinput?: ((payload: InputEvent) => void) | undefined;
|
|
116
|
+
onFormdata?: ((payload: FormDataEvent) => void) | undefined;
|
|
117
|
+
onInput?: ((payload: InputEvent) => void) | undefined;
|
|
118
|
+
onReset?: ((payload: Event) => void) | undefined;
|
|
119
|
+
onSubmit?: ((payload: SubmitEvent) => void) | undefined;
|
|
120
|
+
onInvalid?: ((payload: Event) => void) | undefined;
|
|
121
|
+
onFullscreenchange?: ((payload: Event) => void) | undefined;
|
|
122
|
+
onFullscreenerror?: ((payload: Event) => void) | undefined;
|
|
123
|
+
onLoad?: ((payload: Event) => void) | undefined;
|
|
124
|
+
onError?: ((payload: Event) => void) | undefined;
|
|
125
|
+
onKeydown?: ((payload: KeyboardEvent) => void) | undefined;
|
|
126
|
+
onKeypress?: ((payload: KeyboardEvent) => void) | undefined;
|
|
127
|
+
onKeyup?: ((payload: KeyboardEvent) => void) | undefined;
|
|
128
|
+
onDblclick?: ((payload: MouseEvent) => void) | undefined;
|
|
129
|
+
onMousedown?: ((payload: MouseEvent) => void) | undefined;
|
|
130
|
+
onMouseenter?: ((payload: MouseEvent) => void) | undefined;
|
|
131
|
+
onMouseleave?: ((payload: MouseEvent) => void) | undefined;
|
|
132
|
+
onMousemove?: ((payload: MouseEvent) => void) | undefined;
|
|
133
|
+
onMouseout?: ((payload: MouseEvent) => void) | undefined;
|
|
134
|
+
onMouseover?: ((payload: MouseEvent) => void) | undefined;
|
|
135
|
+
onMouseup?: ((payload: MouseEvent) => void) | undefined;
|
|
136
|
+
onAbort?: ((payload: UIEvent) => void) | undefined;
|
|
137
|
+
onCanplay?: ((payload: Event) => void) | undefined;
|
|
138
|
+
onCanplaythrough?: ((payload: Event) => void) | undefined;
|
|
139
|
+
onDurationchange?: ((payload: Event) => void) | undefined;
|
|
140
|
+
onEmptied?: ((payload: Event) => void) | undefined;
|
|
141
|
+
onEncrypted?: ((payload: MediaEncryptedEvent) => void) | undefined;
|
|
142
|
+
onEnded?: ((payload: Event) => void) | undefined;
|
|
143
|
+
onLoadeddata?: ((payload: Event) => void) | undefined;
|
|
144
|
+
onLoadedmetadata?: ((payload: Event) => void) | undefined;
|
|
145
|
+
onLoadstart?: ((payload: Event) => void) | undefined;
|
|
146
|
+
onPause?: ((payload: Event) => void) | undefined;
|
|
147
|
+
onPlay?: ((payload: Event) => void) | undefined;
|
|
148
|
+
onPlaying?: ((payload: Event) => void) | undefined;
|
|
149
|
+
onProgress?: ((payload: ProgressEvent<EventTarget>) => void) | undefined;
|
|
150
|
+
onRatechange?: ((payload: Event) => void) | undefined;
|
|
151
|
+
onSeeked?: ((payload: Event) => void) | undefined;
|
|
152
|
+
onSeeking?: ((payload: Event) => void) | undefined;
|
|
153
|
+
onStalled?: ((payload: Event) => void) | undefined;
|
|
154
|
+
onSuspend?: ((payload: Event) => void) | undefined;
|
|
155
|
+
onTimeupdate?: ((payload: Event) => void) | undefined;
|
|
156
|
+
onVolumechange?: ((payload: Event) => void) | undefined;
|
|
157
|
+
onWaiting?: ((payload: Event) => void) | undefined;
|
|
158
|
+
onSelect?: ((payload: Event) => void) | undefined;
|
|
159
|
+
onScroll?: ((payload: Event) => void) | undefined;
|
|
160
|
+
onScrollend?: ((payload: Event) => void) | undefined;
|
|
161
|
+
onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
|
|
162
|
+
onTouchend?: ((payload: TouchEvent) => void) | undefined;
|
|
163
|
+
onTouchmove?: ((payload: TouchEvent) => void) | undefined;
|
|
164
|
+
onTouchstart?: ((payload: TouchEvent) => void) | undefined;
|
|
165
|
+
onAuxclick?: ((payload: PointerEvent) => void) | undefined;
|
|
166
|
+
onClick?: ((payload: PointerEvent) => void) | undefined;
|
|
167
|
+
onContextmenu?: ((payload: PointerEvent) => void) | undefined;
|
|
168
|
+
onGotpointercapture?: ((payload: PointerEvent) => void) | undefined;
|
|
169
|
+
onLostpointercapture?: ((payload: PointerEvent) => void) | undefined;
|
|
170
|
+
onPointerdown?: ((payload: PointerEvent) => void) | undefined;
|
|
171
|
+
onPointermove?: ((payload: PointerEvent) => void) | undefined;
|
|
172
|
+
onPointerup?: ((payload: PointerEvent) => void) | undefined;
|
|
173
|
+
onPointercancel?: ((payload: PointerEvent) => void) | undefined;
|
|
174
|
+
onPointerenter?: ((payload: PointerEvent) => void) | undefined;
|
|
175
|
+
onPointerleave?: ((payload: PointerEvent) => void) | undefined;
|
|
176
|
+
onPointerover?: ((payload: PointerEvent) => void) | undefined;
|
|
177
|
+
onPointerout?: ((payload: PointerEvent) => void) | undefined;
|
|
178
|
+
onBeforetoggle?: ((payload: ToggleEvent) => void) | undefined;
|
|
179
|
+
onToggle?: ((payload: ToggleEvent) => void) | undefined;
|
|
180
|
+
onWheel?: ((payload: WheelEvent) => void) | undefined;
|
|
181
|
+
onAnimationcancel?: ((payload: AnimationEvent) => void) | undefined;
|
|
182
|
+
onAnimationstart?: ((payload: AnimationEvent) => void) | undefined;
|
|
183
|
+
onAnimationend?: ((payload: AnimationEvent) => void) | undefined;
|
|
184
|
+
onAnimationiteration?: ((payload: AnimationEvent) => void) | undefined;
|
|
185
|
+
onSecuritypolicyviolation?: ((payload: SecurityPolicyViolationEvent) => void) | undefined;
|
|
186
|
+
onTransitioncancel?: ((payload: TransitionEvent) => void) | undefined;
|
|
187
|
+
onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
|
|
188
|
+
onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
|
|
189
|
+
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
190
|
+
};
|
|
191
|
+
type __VLS_Slots = {} & {
|
|
192
|
+
icon?: (props: typeof __VLS_11) => any;
|
|
193
|
+
};
|
|
194
|
+
declare const __VLS_base: import("vue").DefineComponent<RichTextEditorControlBaseRuntimeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RichTextEditorControlBaseRuntimeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
195
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
196
|
+
declare const _default: typeof __VLS_export;
|
|
197
|
+
export default _default;
|
|
198
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
199
|
+
new (): {
|
|
200
|
+
$slots: S;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import RichTextEditorInvisibleCharactersControl from './RichTextEditorInvisibleCharactersControl.vue';
|
|
2
|
+
export { RichTextEditorInvisibleCharactersControl };
|
|
3
|
+
export type { RichTextEditorInvisibleCharactersControlFactory, RichTextEditorInvisibleCharactersControlProps, } from './RichTextEditorInvisibleCharactersControl.types';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Factory } from '@mantine-vue/core';
|
|
2
|
+
import type { RichTextEditorControlBaseProps, RichTextEditorControlBaseSlots } from './RichTextEditorControl.types';
|
|
3
|
+
export type RichTextEditorInvisibleCharactersControlProps = RichTextEditorControlBaseProps;
|
|
4
|
+
export type RichTextEditorInvisibleCharactersControlFactory = Factory<{
|
|
5
|
+
props: RichTextEditorInvisibleCharactersControlProps;
|
|
6
|
+
slots: RichTextEditorControlBaseSlots;
|
|
7
|
+
ref: HTMLButtonElement;
|
|
8
|
+
element: 'button';
|
|
9
|
+
stylesNames: 'control';
|
|
10
|
+
compound: true;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import type { RichTextEditorControlBaseRuntimeProps } from './RichTextEditorControl.types';
|
|
2
|
+
declare var __VLS_11: {
|
|
3
|
+
innerHTML?: string | undefined;
|
|
4
|
+
class?: import("vue").ClassValue | undefined;
|
|
5
|
+
style?: import("vue").StyleValue | undefined;
|
|
6
|
+
accesskey?: string | undefined;
|
|
7
|
+
contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
8
|
+
contextmenu?: string | undefined;
|
|
9
|
+
dir?: string | undefined;
|
|
10
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
11
|
+
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
12
|
+
enterKeyHint?: import("vue").HTMLAttributes["enterkeyhint"];
|
|
13
|
+
hidden?: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
14
|
+
id?: string | undefined;
|
|
15
|
+
inert?: (boolean | "true" | "false") | undefined;
|
|
16
|
+
lang?: string | undefined;
|
|
17
|
+
placeholder?: string | undefined;
|
|
18
|
+
spellcheck?: (boolean | "true" | "false") | undefined;
|
|
19
|
+
tabindex?: (string | number) | undefined;
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
translate?: "yes" | "no" | undefined;
|
|
22
|
+
radiogroup?: string | undefined;
|
|
23
|
+
role?: string | undefined;
|
|
24
|
+
about?: string | undefined;
|
|
25
|
+
datatype?: string | undefined;
|
|
26
|
+
inlist?: any;
|
|
27
|
+
prefix?: string | undefined;
|
|
28
|
+
property?: string | undefined;
|
|
29
|
+
resource?: string | undefined;
|
|
30
|
+
typeof?: string | undefined;
|
|
31
|
+
vocab?: string | undefined;
|
|
32
|
+
autocapitalize?: string | undefined;
|
|
33
|
+
autocorrect?: string | undefined;
|
|
34
|
+
autosave?: string | undefined;
|
|
35
|
+
color?: string | undefined;
|
|
36
|
+
itemprop?: string | undefined;
|
|
37
|
+
itemscope?: (boolean | "true" | "false") | undefined;
|
|
38
|
+
itemtype?: string | undefined;
|
|
39
|
+
itemid?: string | undefined;
|
|
40
|
+
itemref?: string | undefined;
|
|
41
|
+
results?: (string | number) | undefined;
|
|
42
|
+
security?: string | undefined;
|
|
43
|
+
unselectable?: "on" | "off" | undefined;
|
|
44
|
+
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
45
|
+
is?: string | undefined;
|
|
46
|
+
exportparts?: string;
|
|
47
|
+
part?: string;
|
|
48
|
+
'aria-activedescendant'?: string | undefined;
|
|
49
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
50
|
+
'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
|
|
51
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
52
|
+
'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
|
|
53
|
+
'aria-colcount'?: (string | number) | undefined;
|
|
54
|
+
'aria-colindex'?: (string | number) | undefined;
|
|
55
|
+
'aria-colspan'?: (string | number) | undefined;
|
|
56
|
+
'aria-controls'?: string | undefined;
|
|
57
|
+
'aria-current'?: (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
58
|
+
'aria-describedby'?: string | undefined;
|
|
59
|
+
'aria-details'?: string | undefined;
|
|
60
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
61
|
+
'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
62
|
+
'aria-errormessage'?: string | undefined;
|
|
63
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
64
|
+
'aria-flowto'?: string | undefined;
|
|
65
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
66
|
+
'aria-haspopup'?: (boolean | "true" | "false") | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
67
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
68
|
+
'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
|
|
69
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
70
|
+
'aria-label'?: string | undefined;
|
|
71
|
+
'aria-labelledby'?: string | undefined;
|
|
72
|
+
'aria-level'?: (string | number) | undefined;
|
|
73
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
74
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
75
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
76
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
77
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
78
|
+
'aria-owns'?: string | undefined;
|
|
79
|
+
'aria-placeholder'?: string | undefined;
|
|
80
|
+
'aria-posinset'?: (string | number) | undefined;
|
|
81
|
+
'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
|
|
82
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
83
|
+
'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
84
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
85
|
+
'aria-roledescription'?: string | undefined;
|
|
86
|
+
'aria-rowcount'?: (string | number) | undefined;
|
|
87
|
+
'aria-rowindex'?: (string | number) | undefined;
|
|
88
|
+
'aria-rowspan'?: (string | number) | undefined;
|
|
89
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
'aria-setsize'?: (string | number) | undefined;
|
|
91
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
92
|
+
'aria-valuemax'?: (string | number) | undefined;
|
|
93
|
+
'aria-valuemin'?: (string | number) | undefined;
|
|
94
|
+
'aria-valuenow'?: (string | number) | undefined;
|
|
95
|
+
'aria-valuetext'?: string | undefined;
|
|
96
|
+
onCopy?: ((payload: ClipboardEvent) => void) | undefined;
|
|
97
|
+
onCut?: ((payload: ClipboardEvent) => void) | undefined;
|
|
98
|
+
onPaste?: ((payload: ClipboardEvent) => void) | undefined;
|
|
99
|
+
onCompositionend?: ((payload: CompositionEvent) => void) | undefined;
|
|
100
|
+
onCompositionstart?: ((payload: CompositionEvent) => void) | undefined;
|
|
101
|
+
onCompositionupdate?: ((payload: CompositionEvent) => void) | undefined;
|
|
102
|
+
onDrag?: ((payload: DragEvent) => void) | undefined;
|
|
103
|
+
onDragend?: ((payload: DragEvent) => void) | undefined;
|
|
104
|
+
onDragenter?: ((payload: DragEvent) => void) | undefined;
|
|
105
|
+
onDragexit?: ((payload: DragEvent) => void) | undefined;
|
|
106
|
+
onDragleave?: ((payload: DragEvent) => void) | undefined;
|
|
107
|
+
onDragover?: ((payload: DragEvent) => void) | undefined;
|
|
108
|
+
onDragstart?: ((payload: DragEvent) => void) | undefined;
|
|
109
|
+
onDrop?: ((payload: DragEvent) => void) | undefined;
|
|
110
|
+
onFocus?: ((payload: FocusEvent) => void) | undefined;
|
|
111
|
+
onFocusin?: ((payload: FocusEvent) => void) | undefined;
|
|
112
|
+
onFocusout?: ((payload: FocusEvent) => void) | undefined;
|
|
113
|
+
onBlur?: ((payload: FocusEvent) => void) | undefined;
|
|
114
|
+
onChange?: ((payload: Event) => void) | undefined;
|
|
115
|
+
onBeforeinput?: ((payload: InputEvent) => void) | undefined;
|
|
116
|
+
onFormdata?: ((payload: FormDataEvent) => void) | undefined;
|
|
117
|
+
onInput?: ((payload: InputEvent) => void) | undefined;
|
|
118
|
+
onReset?: ((payload: Event) => void) | undefined;
|
|
119
|
+
onSubmit?: ((payload: SubmitEvent) => void) | undefined;
|
|
120
|
+
onInvalid?: ((payload: Event) => void) | undefined;
|
|
121
|
+
onFullscreenchange?: ((payload: Event) => void) | undefined;
|
|
122
|
+
onFullscreenerror?: ((payload: Event) => void) | undefined;
|
|
123
|
+
onLoad?: ((payload: Event) => void) | undefined;
|
|
124
|
+
onError?: ((payload: Event) => void) | undefined;
|
|
125
|
+
onKeydown?: ((payload: KeyboardEvent) => void) | undefined;
|
|
126
|
+
onKeypress?: ((payload: KeyboardEvent) => void) | undefined;
|
|
127
|
+
onKeyup?: ((payload: KeyboardEvent) => void) | undefined;
|
|
128
|
+
onDblclick?: ((payload: MouseEvent) => void) | undefined;
|
|
129
|
+
onMousedown?: ((payload: MouseEvent) => void) | undefined;
|
|
130
|
+
onMouseenter?: ((payload: MouseEvent) => void) | undefined;
|
|
131
|
+
onMouseleave?: ((payload: MouseEvent) => void) | undefined;
|
|
132
|
+
onMousemove?: ((payload: MouseEvent) => void) | undefined;
|
|
133
|
+
onMouseout?: ((payload: MouseEvent) => void) | undefined;
|
|
134
|
+
onMouseover?: ((payload: MouseEvent) => void) | undefined;
|
|
135
|
+
onMouseup?: ((payload: MouseEvent) => void) | undefined;
|
|
136
|
+
onAbort?: ((payload: UIEvent) => void) | undefined;
|
|
137
|
+
onCanplay?: ((payload: Event) => void) | undefined;
|
|
138
|
+
onCanplaythrough?: ((payload: Event) => void) | undefined;
|
|
139
|
+
onDurationchange?: ((payload: Event) => void) | undefined;
|
|
140
|
+
onEmptied?: ((payload: Event) => void) | undefined;
|
|
141
|
+
onEncrypted?: ((payload: MediaEncryptedEvent) => void) | undefined;
|
|
142
|
+
onEnded?: ((payload: Event) => void) | undefined;
|
|
143
|
+
onLoadeddata?: ((payload: Event) => void) | undefined;
|
|
144
|
+
onLoadedmetadata?: ((payload: Event) => void) | undefined;
|
|
145
|
+
onLoadstart?: ((payload: Event) => void) | undefined;
|
|
146
|
+
onPause?: ((payload: Event) => void) | undefined;
|
|
147
|
+
onPlay?: ((payload: Event) => void) | undefined;
|
|
148
|
+
onPlaying?: ((payload: Event) => void) | undefined;
|
|
149
|
+
onProgress?: ((payload: ProgressEvent<EventTarget>) => void) | undefined;
|
|
150
|
+
onRatechange?: ((payload: Event) => void) | undefined;
|
|
151
|
+
onSeeked?: ((payload: Event) => void) | undefined;
|
|
152
|
+
onSeeking?: ((payload: Event) => void) | undefined;
|
|
153
|
+
onStalled?: ((payload: Event) => void) | undefined;
|
|
154
|
+
onSuspend?: ((payload: Event) => void) | undefined;
|
|
155
|
+
onTimeupdate?: ((payload: Event) => void) | undefined;
|
|
156
|
+
onVolumechange?: ((payload: Event) => void) | undefined;
|
|
157
|
+
onWaiting?: ((payload: Event) => void) | undefined;
|
|
158
|
+
onSelect?: ((payload: Event) => void) | undefined;
|
|
159
|
+
onScroll?: ((payload: Event) => void) | undefined;
|
|
160
|
+
onScrollend?: ((payload: Event) => void) | undefined;
|
|
161
|
+
onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
|
|
162
|
+
onTouchend?: ((payload: TouchEvent) => void) | undefined;
|
|
163
|
+
onTouchmove?: ((payload: TouchEvent) => void) | undefined;
|
|
164
|
+
onTouchstart?: ((payload: TouchEvent) => void) | undefined;
|
|
165
|
+
onAuxclick?: ((payload: PointerEvent) => void) | undefined;
|
|
166
|
+
onClick?: ((payload: PointerEvent) => void) | undefined;
|
|
167
|
+
onContextmenu?: ((payload: PointerEvent) => void) | undefined;
|
|
168
|
+
onGotpointercapture?: ((payload: PointerEvent) => void) | undefined;
|
|
169
|
+
onLostpointercapture?: ((payload: PointerEvent) => void) | undefined;
|
|
170
|
+
onPointerdown?: ((payload: PointerEvent) => void) | undefined;
|
|
171
|
+
onPointermove?: ((payload: PointerEvent) => void) | undefined;
|
|
172
|
+
onPointerup?: ((payload: PointerEvent) => void) | undefined;
|
|
173
|
+
onPointercancel?: ((payload: PointerEvent) => void) | undefined;
|
|
174
|
+
onPointerenter?: ((payload: PointerEvent) => void) | undefined;
|
|
175
|
+
onPointerleave?: ((payload: PointerEvent) => void) | undefined;
|
|
176
|
+
onPointerover?: ((payload: PointerEvent) => void) | undefined;
|
|
177
|
+
onPointerout?: ((payload: PointerEvent) => void) | undefined;
|
|
178
|
+
onBeforetoggle?: ((payload: ToggleEvent) => void) | undefined;
|
|
179
|
+
onToggle?: ((payload: ToggleEvent) => void) | undefined;
|
|
180
|
+
onWheel?: ((payload: WheelEvent) => void) | undefined;
|
|
181
|
+
onAnimationcancel?: ((payload: AnimationEvent) => void) | undefined;
|
|
182
|
+
onAnimationstart?: ((payload: AnimationEvent) => void) | undefined;
|
|
183
|
+
onAnimationend?: ((payload: AnimationEvent) => void) | undefined;
|
|
184
|
+
onAnimationiteration?: ((payload: AnimationEvent) => void) | undefined;
|
|
185
|
+
onSecuritypolicyviolation?: ((payload: SecurityPolicyViolationEvent) => void) | undefined;
|
|
186
|
+
onTransitioncancel?: ((payload: TransitionEvent) => void) | undefined;
|
|
187
|
+
onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
|
|
188
|
+
onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
|
|
189
|
+
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
190
|
+
};
|
|
191
|
+
type __VLS_Slots = {} & {
|
|
192
|
+
icon?: (props: typeof __VLS_11) => any;
|
|
193
|
+
};
|
|
194
|
+
declare const __VLS_base: import("vue").DefineComponent<RichTextEditorControlBaseRuntimeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RichTextEditorControlBaseRuntimeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
195
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
196
|
+
declare const _default: typeof __VLS_export;
|
|
197
|
+
export default _default;
|
|
198
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
199
|
+
new (): {
|
|
200
|
+
$slots: S;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import RichTextEditorTableInsertControl from './RichTextEditorTableInsertControl.vue';
|
|
2
|
+
export { RichTextEditorTableInsertControl };
|
|
3
|
+
export type { RichTextEditorTableInsertControlFactory, RichTextEditorTableInsertControlProps, RichTextEditorTableInsertControlStylesNames, } from './RichTextEditorTableInsertControl.types';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Factory, PopoverProps } from '@mantine-vue/core';
|
|
2
|
+
import type { RichTextEditorControlBaseProps, RichTextEditorControlBaseSlots } from './RichTextEditorControl.types';
|
|
3
|
+
export type RichTextEditorTableInsertControlStylesNames = 'control' | 'tableInsertDropdown' | 'tableInsertGrid' | 'tableInsertCell' | 'tableInsertLabel';
|
|
4
|
+
export interface RichTextEditorTableInsertControlProps extends RichTextEditorControlBaseProps {
|
|
5
|
+
/** Maximum number of columns selectable in the grid. @default 10 */
|
|
6
|
+
maxColumns?: number;
|
|
7
|
+
/** Maximum number of rows selectable in the grid. @default 10 */
|
|
8
|
+
maxRows?: number;
|
|
9
|
+
/** Whether the inserted table has a header row. @default true */
|
|
10
|
+
withHeaderRow?: boolean;
|
|
11
|
+
/** Props passed to the Popover. */
|
|
12
|
+
popoverProps?: Partial<PopoverProps>;
|
|
13
|
+
}
|
|
14
|
+
export type RichTextEditorTableInsertControlFactory = Factory<{
|
|
15
|
+
props: RichTextEditorTableInsertControlProps;
|
|
16
|
+
slots: RichTextEditorControlBaseSlots;
|
|
17
|
+
ref: HTMLButtonElement;
|
|
18
|
+
element: 'button';
|
|
19
|
+
stylesNames: RichTextEditorTableInsertControlStylesNames;
|
|
20
|
+
compound: true;
|
|
21
|
+
}>;
|