tinacms 2.7.10 → 2.8.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/dist/index.js +100633 -13993
- package/dist/index.mjs +100669 -14028
- package/dist/rich-text/index.js +10 -4
- package/dist/rich-text/index.mjs +10 -4
- package/dist/toolkit/fields/components/reference/components/button.d.ts +1 -1
- package/dist/toolkit/fields/components/reference/components/command.d.ts +21 -33
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/editor.d.ts +20 -18
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/blockquote-element.d.ts +14 -10
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/button.d.ts +3 -3
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/code-block/code-block-element.d.ts +17 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/code-block/error-message.d.ts +6 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/code-block-combobox.d.ts +6 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/code-block-toolbar-button.d.ts +6 -6
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/code-leaf.d.ts +2 -11
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/code-line-element.d.ts +14 -10
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/code-syntax-leaf.d.ts +2 -11
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/command.d.ts +112 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/dialog.d.ts +12 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/dropdown-menu.d.ts +10 -10
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/floating-toolbar.d.ts +2 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/hr-element.d.ts +3 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/hr-toolbar-button.d.ts +18 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/icons.d.ts +2 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/image-toolbar-button.d.ts +6 -6
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/indent-list-toolbar-button.d.ts +6 -19
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/inline-combobox.d.ts +1 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/input.d.ts +3 -3
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/link-element.d.ts +4 -11
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/link-floating-toolbar.d.ts +4 -5
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/link-toolbar-button.d.ts +4 -4
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/list-element.d.ts +28 -11
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/mermaid-element.d.ts +3 -10
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/mermaid-toolbar-button.d.ts +6 -8
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/paragraph-element.d.ts +15 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/popover.d.ts +7 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/quote-toolbar-button.d.ts +6 -6
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/raw-markdown-toolbar-button.d.ts +6 -6
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/resizable.d.ts +24 -21
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/separator.d.ts +2 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/slash-input-element.d.ts +15 -11
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/table/block-selection.d.ts +6 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/table/table-cell-element.d.ts +33 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/{table-dropdown-menu.d.ts → table/table-dropdown-menu.d.ts} +1 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/table/table-element.d.ts +20 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/table/table-row-element.d.ts +15 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/toolbar.d.ts +7 -7
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/use-floating-toolbar-hook.d.ts +10 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/use-floating-toolbar-state.d.ts +22 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/hooks/use-create-editor.d.ts +6 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/core/autoformat/autoformat-block.d.ts +1 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/core/autoformat/autoformat-lists.d.ts +1 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/core/autoformat/autoformat-marks.d.ts +1 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/core/autoformat/autoformat-utils.d.ts +3 -5
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/core/common.d.ts +11 -6
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/core/formatting.d.ts +18 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/core/index.d.ts +0 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-html-block/index.d.ts +6 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-img-plugin/index.d.ts +2 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-invalid-markdown-plugin/index.d.ts +5 -5
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-mdx-plugins/component.d.ts +7 -4
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-mdx-plugins/index.d.ts +3 -5
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/editor-plugins.d.ts +520 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/components.d.ts +262 -207
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/floating-toolbar-plugin.d.ts +1 -0
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/toolbar/toolbar-overrides.d.ts +1 -1
- package/dist/toolkit/react-sidebar/components/nav.d.ts +2 -1
- package/package.json +32 -26
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/code-block-element.d.ts +0 -11
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/table-cell-element.d.ts +0 -27
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/table-element.d.ts +0 -14
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/table-row-element.d.ts +0 -13
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/core/with-correct-void-behavior.d.ts +0 -8
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-code-block/index.d.ts +0 -3
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-link-plugin/index.d.ts +0 -15
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/custom/mermaid-plugin.d.ts +0 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/soft-break/create-soft-break-plugin.d.ts +0 -7
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/soft-break/index.d.ts +0 -6
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/soft-break/on-key-down-soft-break.d.ts +0 -5
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/soft-break/types.d.ts +0 -11
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/code-block/index.d.ts +0 -11
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/transforms/insert-empty-block.d.ts +0 -2
|
@@ -0,0 +1,520 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AutoformatRule } from '@udecode/plate-autoformat';
|
|
3
|
+
import { ListStyleType } from '@udecode/plate-indent-list';
|
|
4
|
+
import { createLowlight } from 'lowlight';
|
|
5
|
+
export declare const HANDLES_MDX: ("h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p")[];
|
|
6
|
+
export declare const viewPlugins: readonly [import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"basicMarks", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"underline", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"heading", {
|
|
7
|
+
levels?: import("@udecode/plate-heading").HeadingLevel | import("@udecode/plate-heading").HeadingLevel[];
|
|
8
|
+
}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"p", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"code_block", {
|
|
9
|
+
defaultLanguage?: string | null;
|
|
10
|
+
lowlight?: ReturnType<typeof createLowlight> | null;
|
|
11
|
+
}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"blockquote", {}, {}, {}, {}>>];
|
|
12
|
+
export declare const editorPlugins: readonly [import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"mdxJsxFlowElement", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"mdxJsxTextElement", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"img", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"html", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"html_inline", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"blockquote-enter-break", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"invalid_markdown", {
|
|
13
|
+
isElement: boolean;
|
|
14
|
+
isVoid: boolean;
|
|
15
|
+
isInline: boolean;
|
|
16
|
+
}, {}, {}, {}>>, import("@udecode/plate").SlatePlugin<import("@udecode/plate").PluginConfig<"WITH_CORRECT_NODE_BEHAVIOR", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"a", {
|
|
17
|
+
allowedSchemes?: string[];
|
|
18
|
+
dangerouslySkipSanitization?: boolean;
|
|
19
|
+
defaultLinkAttributes?: React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
20
|
+
forceSubmit?: boolean;
|
|
21
|
+
keepSelectedTextOnPaste?: boolean;
|
|
22
|
+
rangeBeforeOptions?: import("@udecode/plate").EditorBeforeOptions;
|
|
23
|
+
triggerFloatingLinkHotkeys?: string[] | string;
|
|
24
|
+
getLinkUrl?: (prevUrl: string | null) => Promise<string | null>;
|
|
25
|
+
getUrlHref?: (url: string) => string | undefined;
|
|
26
|
+
isUrl?: (text: string) => boolean;
|
|
27
|
+
transformInput?: (url: string) => string | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
isEditing: boolean;
|
|
30
|
+
mode: import("@udecode/plate-link/react").FloatingLinkMode;
|
|
31
|
+
mouseDown: boolean;
|
|
32
|
+
newTab: boolean;
|
|
33
|
+
openEditorId: string | null;
|
|
34
|
+
text: string;
|
|
35
|
+
updated: boolean;
|
|
36
|
+
url: string;
|
|
37
|
+
triggerFloatingLinkHotkeys?: string;
|
|
38
|
+
}, {
|
|
39
|
+
floatingLink: {
|
|
40
|
+
hide: () => void;
|
|
41
|
+
reset: () => void;
|
|
42
|
+
show: (mode: import("@udecode/plate-link/react").FloatingLinkMode, editorId: string) => void;
|
|
43
|
+
};
|
|
44
|
+
link: {
|
|
45
|
+
getAttributes: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, link: import("@udecode/plate-link").TLinkElement) => {
|
|
46
|
+
download?: any;
|
|
47
|
+
href?: string | undefined;
|
|
48
|
+
hrefLang?: string | undefined;
|
|
49
|
+
media?: string | undefined;
|
|
50
|
+
ping?: string | undefined;
|
|
51
|
+
target?: React.HTMLAttributeAnchorTarget | undefined;
|
|
52
|
+
type?: string | undefined;
|
|
53
|
+
referrerPolicy?: React.HTMLAttributeReferrerPolicy | undefined;
|
|
54
|
+
defaultChecked?: boolean | undefined;
|
|
55
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
56
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
57
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
58
|
+
accessKey?: string | undefined;
|
|
59
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
60
|
+
autoFocus?: boolean | undefined;
|
|
61
|
+
className?: string | undefined;
|
|
62
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
63
|
+
contextMenu?: string | undefined;
|
|
64
|
+
dir?: string | undefined;
|
|
65
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
66
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
67
|
+
hidden?: boolean | undefined;
|
|
68
|
+
id?: string | undefined;
|
|
69
|
+
lang?: string | undefined;
|
|
70
|
+
nonce?: string | undefined;
|
|
71
|
+
slot?: string | undefined;
|
|
72
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
73
|
+
style?: React.CSSProperties | undefined;
|
|
74
|
+
tabIndex?: number | undefined;
|
|
75
|
+
title?: string | undefined;
|
|
76
|
+
translate?: "yes" | "no" | undefined;
|
|
77
|
+
radioGroup?: string | undefined;
|
|
78
|
+
role?: React.AriaRole | undefined;
|
|
79
|
+
about?: string | undefined;
|
|
80
|
+
content?: string | undefined;
|
|
81
|
+
datatype?: string | undefined;
|
|
82
|
+
inlist?: any;
|
|
83
|
+
prefix?: string | undefined;
|
|
84
|
+
property?: string | undefined;
|
|
85
|
+
rel?: string | undefined;
|
|
86
|
+
resource?: string | undefined;
|
|
87
|
+
rev?: string | undefined;
|
|
88
|
+
typeof?: string | undefined;
|
|
89
|
+
vocab?: string | undefined;
|
|
90
|
+
autoCorrect?: string | undefined;
|
|
91
|
+
autoSave?: string | undefined;
|
|
92
|
+
color?: string | undefined;
|
|
93
|
+
itemProp?: string | undefined;
|
|
94
|
+
itemScope?: boolean | undefined;
|
|
95
|
+
itemType?: string | undefined;
|
|
96
|
+
itemID?: string | undefined;
|
|
97
|
+
itemRef?: string | undefined;
|
|
98
|
+
results?: number | undefined;
|
|
99
|
+
security?: string | undefined;
|
|
100
|
+
unselectable?: "on" | "off" | undefined;
|
|
101
|
+
popover?: "" | "auto" | "manual" | undefined;
|
|
102
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
103
|
+
popoverTarget?: string | undefined;
|
|
104
|
+
inert?: boolean | undefined;
|
|
105
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
106
|
+
is?: string | undefined;
|
|
107
|
+
exportparts?: string | undefined;
|
|
108
|
+
part?: string | undefined;
|
|
109
|
+
"aria-activedescendant"?: string | undefined;
|
|
110
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
111
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
112
|
+
"aria-braillelabel"?: string | undefined;
|
|
113
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
114
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
115
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
116
|
+
"aria-colcount"?: number | undefined;
|
|
117
|
+
"aria-colindex"?: number | undefined;
|
|
118
|
+
"aria-colindextext"?: string | undefined;
|
|
119
|
+
"aria-colspan"?: number | undefined;
|
|
120
|
+
"aria-controls"?: string | undefined;
|
|
121
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
122
|
+
"aria-describedby"?: string | undefined;
|
|
123
|
+
"aria-description"?: string | undefined;
|
|
124
|
+
"aria-details"?: string | undefined;
|
|
125
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
126
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
127
|
+
"aria-errormessage"?: string | undefined;
|
|
128
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
129
|
+
"aria-flowto"?: string | undefined;
|
|
130
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
131
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
132
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
133
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
134
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
135
|
+
"aria-label"?: string | undefined;
|
|
136
|
+
"aria-labelledby"?: string | undefined;
|
|
137
|
+
"aria-level"?: number | undefined;
|
|
138
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
139
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
140
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
141
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
142
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
143
|
+
"aria-owns"?: string | undefined;
|
|
144
|
+
"aria-placeholder"?: string | undefined;
|
|
145
|
+
"aria-posinset"?: number | undefined;
|
|
146
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
147
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
148
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
149
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
150
|
+
"aria-roledescription"?: string | undefined;
|
|
151
|
+
"aria-rowcount"?: number | undefined;
|
|
152
|
+
"aria-rowindex"?: number | undefined;
|
|
153
|
+
"aria-rowindextext"?: string | undefined;
|
|
154
|
+
"aria-rowspan"?: number | undefined;
|
|
155
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
156
|
+
"aria-setsize"?: number | undefined;
|
|
157
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
158
|
+
"aria-valuemax"?: number | undefined;
|
|
159
|
+
"aria-valuemin"?: number | undefined;
|
|
160
|
+
"aria-valuenow"?: number | undefined;
|
|
161
|
+
"aria-valuetext"?: string | undefined;
|
|
162
|
+
children?: React.ReactNode | undefined;
|
|
163
|
+
dangerouslySetInnerHTML?: {
|
|
164
|
+
__html: string | TrustedHTML;
|
|
165
|
+
} | undefined;
|
|
166
|
+
onCopy?: React.ClipboardEventHandler<HTMLAnchorElement> | undefined;
|
|
167
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLAnchorElement> | undefined;
|
|
168
|
+
onCut?: React.ClipboardEventHandler<HTMLAnchorElement> | undefined;
|
|
169
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLAnchorElement> | undefined;
|
|
170
|
+
onPaste?: React.ClipboardEventHandler<HTMLAnchorElement> | undefined;
|
|
171
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLAnchorElement> | undefined;
|
|
172
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLAnchorElement> | undefined;
|
|
173
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLAnchorElement> | undefined;
|
|
174
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLAnchorElement> | undefined;
|
|
175
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLAnchorElement> | undefined;
|
|
176
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLAnchorElement> | undefined;
|
|
177
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLAnchorElement> | undefined;
|
|
178
|
+
onFocus?: React.FocusEventHandler<HTMLAnchorElement> | undefined;
|
|
179
|
+
onFocusCapture?: React.FocusEventHandler<HTMLAnchorElement> | undefined;
|
|
180
|
+
onBlur?: React.FocusEventHandler<HTMLAnchorElement> | undefined;
|
|
181
|
+
onBlurCapture?: React.FocusEventHandler<HTMLAnchorElement> | undefined;
|
|
182
|
+
onChange?: React.FormEventHandler<HTMLAnchorElement> | undefined;
|
|
183
|
+
onChangeCapture?: React.FormEventHandler<HTMLAnchorElement> | undefined;
|
|
184
|
+
onBeforeInput?: React.FormEventHandler<HTMLAnchorElement> | undefined;
|
|
185
|
+
onBeforeInputCapture?: React.FormEventHandler<HTMLAnchorElement> | undefined;
|
|
186
|
+
onInput?: React.FormEventHandler<HTMLAnchorElement> | undefined;
|
|
187
|
+
onInputCapture?: React.FormEventHandler<HTMLAnchorElement> | undefined;
|
|
188
|
+
onReset?: React.FormEventHandler<HTMLAnchorElement> | undefined;
|
|
189
|
+
onResetCapture?: React.FormEventHandler<HTMLAnchorElement> | undefined;
|
|
190
|
+
onSubmit?: React.FormEventHandler<HTMLAnchorElement> | undefined;
|
|
191
|
+
onSubmitCapture?: React.FormEventHandler<HTMLAnchorElement> | undefined;
|
|
192
|
+
onInvalid?: React.FormEventHandler<HTMLAnchorElement> | undefined;
|
|
193
|
+
onInvalidCapture?: React.FormEventHandler<HTMLAnchorElement> | undefined;
|
|
194
|
+
onLoad?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
195
|
+
onLoadCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
196
|
+
onError?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
197
|
+
onErrorCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
198
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLAnchorElement> | undefined;
|
|
199
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLAnchorElement> | undefined;
|
|
200
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLAnchorElement> | undefined;
|
|
201
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLAnchorElement> | undefined;
|
|
202
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLAnchorElement> | undefined;
|
|
203
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLAnchorElement> | undefined;
|
|
204
|
+
onAbort?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
205
|
+
onAbortCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
206
|
+
onCanPlay?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
207
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
208
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
209
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
210
|
+
onDurationChange?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
211
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
212
|
+
onEmptied?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
213
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
214
|
+
onEncrypted?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
215
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
216
|
+
onEnded?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
217
|
+
onEndedCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
218
|
+
onLoadedData?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
219
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
220
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
221
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
222
|
+
onLoadStart?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
223
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
224
|
+
onPause?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
225
|
+
onPauseCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
226
|
+
onPlay?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
227
|
+
onPlayCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
228
|
+
onPlaying?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
229
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
230
|
+
onProgress?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
231
|
+
onProgressCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
232
|
+
onRateChange?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
233
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
234
|
+
onResize?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
235
|
+
onResizeCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
236
|
+
onSeeked?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
237
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
238
|
+
onSeeking?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
239
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
240
|
+
onStalled?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
241
|
+
onStalledCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
242
|
+
onSuspend?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
243
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
244
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
245
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
246
|
+
onVolumeChange?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
247
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
248
|
+
onWaiting?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
249
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
250
|
+
onAuxClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
251
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
252
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
253
|
+
onClickCapture?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
254
|
+
onContextMenu?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
255
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
256
|
+
onDoubleClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
257
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
258
|
+
onDrag?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
259
|
+
onDragCapture?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
260
|
+
onDragEnd?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
261
|
+
onDragEndCapture?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
262
|
+
onDragEnter?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
263
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
264
|
+
onDragExit?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
265
|
+
onDragExitCapture?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
266
|
+
onDragLeave?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
267
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
268
|
+
onDragOver?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
269
|
+
onDragOverCapture?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
270
|
+
onDragStart?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
271
|
+
onDragStartCapture?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
272
|
+
onDrop?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
273
|
+
onDropCapture?: React.DragEventHandler<HTMLAnchorElement> | undefined;
|
|
274
|
+
onMouseDown?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
275
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
276
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
277
|
+
onMouseLeave?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
278
|
+
onMouseMove?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
279
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
280
|
+
onMouseOut?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
281
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
282
|
+
onMouseOver?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
283
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
284
|
+
onMouseUp?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
285
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
286
|
+
onSelect?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
287
|
+
onSelectCapture?: React.ReactEventHandler<HTMLAnchorElement> | undefined;
|
|
288
|
+
onTouchCancel?: React.TouchEventHandler<HTMLAnchorElement> | undefined;
|
|
289
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLAnchorElement> | undefined;
|
|
290
|
+
onTouchEnd?: React.TouchEventHandler<HTMLAnchorElement> | undefined;
|
|
291
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLAnchorElement> | undefined;
|
|
292
|
+
onTouchMove?: React.TouchEventHandler<HTMLAnchorElement> | undefined;
|
|
293
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLAnchorElement> | undefined;
|
|
294
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement> | undefined;
|
|
295
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLAnchorElement> | undefined;
|
|
296
|
+
onPointerDown?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
297
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
298
|
+
onPointerMove?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
299
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
300
|
+
onPointerUp?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
301
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
302
|
+
onPointerCancel?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
303
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
304
|
+
onPointerEnter?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
305
|
+
onPointerLeave?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
306
|
+
onPointerOver?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
307
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
308
|
+
onPointerOut?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
309
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
310
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
311
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
312
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
313
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLAnchorElement> | undefined;
|
|
314
|
+
onScroll?: React.UIEventHandler<HTMLAnchorElement> | undefined;
|
|
315
|
+
onScrollCapture?: React.UIEventHandler<HTMLAnchorElement> | undefined;
|
|
316
|
+
onScrollEnd?: React.UIEventHandler<HTMLAnchorElement> | undefined;
|
|
317
|
+
onScrollEndCapture?: React.UIEventHandler<HTMLAnchorElement> | undefined;
|
|
318
|
+
onWheel?: React.WheelEventHandler<HTMLAnchorElement> | undefined;
|
|
319
|
+
onWheelCapture?: React.WheelEventHandler<HTMLAnchorElement> | undefined;
|
|
320
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLAnchorElement> | undefined;
|
|
321
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLAnchorElement> | undefined;
|
|
322
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLAnchorElement> | undefined;
|
|
323
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLAnchorElement> | undefined;
|
|
324
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLAnchorElement> | undefined;
|
|
325
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLAnchorElement> | undefined;
|
|
326
|
+
onToggle?: React$1.ToggleEventHandler<HTMLAnchorElement> | undefined;
|
|
327
|
+
onBeforeToggle?: React$1.ToggleEventHandler<HTMLAnchorElement> | undefined;
|
|
328
|
+
onTransitionCancel?: React.TransitionEventHandler<HTMLAnchorElement> | undefined;
|
|
329
|
+
onTransitionCancelCapture?: React.TransitionEventHandler<HTMLAnchorElement> | undefined;
|
|
330
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLAnchorElement> | undefined;
|
|
331
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLAnchorElement> | undefined;
|
|
332
|
+
onTransitionRun?: React.TransitionEventHandler<HTMLAnchorElement> | undefined;
|
|
333
|
+
onTransitionRunCapture?: React.TransitionEventHandler<HTMLAnchorElement> | undefined;
|
|
334
|
+
onTransitionStart?: React.TransitionEventHandler<HTMLAnchorElement> | undefined;
|
|
335
|
+
onTransitionStartCapture?: React.TransitionEventHandler<HTMLAnchorElement> | undefined;
|
|
336
|
+
}>;
|
|
337
|
+
};
|
|
338
|
+
}, {}, {
|
|
339
|
+
isOpen?: (editorId: string) => boolean;
|
|
340
|
+
}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"basicMarks", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"underline", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"heading", {
|
|
341
|
+
levels?: import("@udecode/plate-heading").HeadingLevel | import("@udecode/plate-heading").HeadingLevel[];
|
|
342
|
+
}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"p", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"code_block", {
|
|
343
|
+
defaultLanguage?: string | null;
|
|
344
|
+
lowlight?: ReturnType<typeof createLowlight> | null;
|
|
345
|
+
}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"blockquote", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"list", {
|
|
346
|
+
enableResetOnShiftTab?: boolean;
|
|
347
|
+
validLiChildrenTypes?: string[];
|
|
348
|
+
}, {}, {
|
|
349
|
+
toggle: {
|
|
350
|
+
bulletedList: (() => boolean) & (() => boolean);
|
|
351
|
+
list: ((args_0: {
|
|
352
|
+
type: string;
|
|
353
|
+
}) => boolean) & ((args_0: {
|
|
354
|
+
type: string;
|
|
355
|
+
}) => boolean);
|
|
356
|
+
numberedList: (() => boolean) & (() => boolean);
|
|
357
|
+
};
|
|
358
|
+
}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"listStyleType", {
|
|
359
|
+
getSiblingIndentListOptions?: import("@udecode/plate-indent-list").GetSiblingIndentListOptions<import("@udecode/plate").TElement>;
|
|
360
|
+
listStyleTypes?: Record<string, {
|
|
361
|
+
type: string;
|
|
362
|
+
isOrdered?: boolean;
|
|
363
|
+
liComponent?: React.FC<import("@udecode/plate").SlateRenderElementProps>;
|
|
364
|
+
markerComponent?: React.FC<Omit<import("@udecode/plate").SlateRenderElementProps, "children">>;
|
|
365
|
+
}>;
|
|
366
|
+
getListStyleType?: (element: HTMLElement) => ListStyleType;
|
|
367
|
+
}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"hr", {}, {}, {}, {}>>, import("@udecode/plate").SlatePlugin<import("@udecode/plate-node-id").NodeIdConfig>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"table", {
|
|
368
|
+
_cellIndices: Record<string, {
|
|
369
|
+
col: number;
|
|
370
|
+
row: number;
|
|
371
|
+
}>;
|
|
372
|
+
selectedCells: import("@udecode/plate").TElement[] | null;
|
|
373
|
+
selectedTables: import("@udecode/plate").TElement[] | null;
|
|
374
|
+
disableExpandOnInsert?: boolean;
|
|
375
|
+
disableMarginLeft?: boolean;
|
|
376
|
+
disableMerge?: boolean;
|
|
377
|
+
enableUnsetSingleColSize?: boolean;
|
|
378
|
+
initialTableWidth?: number;
|
|
379
|
+
minColumnWidth?: number;
|
|
380
|
+
}, {
|
|
381
|
+
create: {
|
|
382
|
+
table: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, { colCount, header, rowCount, ...cellOptions }?: import("@udecode/plate-table").GetEmptyTableNodeOptions) => import("@udecode/plate-table").TTableElement>;
|
|
383
|
+
tableCell: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, { children, header, row }?: import("@udecode/plate-table").CreateCellOptions) => {
|
|
384
|
+
children: import("@udecode/plate").Descendant[];
|
|
385
|
+
type: string;
|
|
386
|
+
}>;
|
|
387
|
+
tableRow: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, { colCount, ...cellOptions }?: import("@udecode/plate-table").GetEmptyRowNodeOptions) => {
|
|
388
|
+
children: {
|
|
389
|
+
children: import("@udecode/plate").Descendant[];
|
|
390
|
+
type: string;
|
|
391
|
+
}[];
|
|
392
|
+
type: string;
|
|
393
|
+
}>;
|
|
394
|
+
};
|
|
395
|
+
table: {
|
|
396
|
+
getCellBorders: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, { cellIndices, defaultBorder, element, }: {
|
|
397
|
+
element: import("@udecode/plate-table").TTableCellElement;
|
|
398
|
+
cellIndices?: import("@udecode/plate-table").CellIndices;
|
|
399
|
+
defaultBorder?: import("@udecode/plate-table").BorderStyle;
|
|
400
|
+
}) => import("@udecode/plate-table").BorderStylesDefault>;
|
|
401
|
+
getCellSize: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, { cellIndices, colSizes, element, rowSize, }: {
|
|
402
|
+
element: import("@udecode/plate-table").TTableCellElement;
|
|
403
|
+
cellIndices?: import("@udecode/plate-table").CellIndices;
|
|
404
|
+
colSizes?: number[];
|
|
405
|
+
rowSize?: number;
|
|
406
|
+
}) => {
|
|
407
|
+
minHeight: number | undefined;
|
|
408
|
+
width: number;
|
|
409
|
+
}>;
|
|
410
|
+
getColSpan: (cellElem: import("@udecode/plate-table").TTableCellElement) => number;
|
|
411
|
+
getRowSpan: (cellElem: import("@udecode/plate-table").TTableCellElement) => number;
|
|
412
|
+
getCellChildren: (cell: import("@udecode/plate-table").TTableCellElement) => import("@udecode/plate").Descendant[];
|
|
413
|
+
};
|
|
414
|
+
} & {
|
|
415
|
+
create: {
|
|
416
|
+
table: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, { colCount, header, rowCount, ...cellOptions }?: import("@udecode/plate-table").GetEmptyTableNodeOptions) => import("@udecode/plate-table").TTableElement>;
|
|
417
|
+
tableCell: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, { children, header, row }?: import("@udecode/plate-table").CreateCellOptions) => {
|
|
418
|
+
children: import("@udecode/plate").Descendant[];
|
|
419
|
+
type: string;
|
|
420
|
+
}>;
|
|
421
|
+
tableRow: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, { colCount, ...cellOptions }?: import("@udecode/plate-table").GetEmptyRowNodeOptions) => {
|
|
422
|
+
children: {
|
|
423
|
+
children: import("@udecode/plate").Descendant[];
|
|
424
|
+
type: string;
|
|
425
|
+
}[];
|
|
426
|
+
type: string;
|
|
427
|
+
}>;
|
|
428
|
+
};
|
|
429
|
+
table: {
|
|
430
|
+
getCellBorders: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, { cellIndices, defaultBorder, element, }: {
|
|
431
|
+
element: import("@udecode/plate-table").TTableCellElement;
|
|
432
|
+
cellIndices?: import("@udecode/plate-table").CellIndices;
|
|
433
|
+
defaultBorder?: import("@udecode/plate-table").BorderStyle;
|
|
434
|
+
}) => import("@udecode/plate-table").BorderStylesDefault>;
|
|
435
|
+
getCellSize: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, { cellIndices, colSizes, element, rowSize, }: {
|
|
436
|
+
element: import("@udecode/plate-table").TTableCellElement;
|
|
437
|
+
cellIndices?: import("@udecode/plate-table").CellIndices;
|
|
438
|
+
colSizes?: number[];
|
|
439
|
+
rowSize?: number;
|
|
440
|
+
}) => {
|
|
441
|
+
minHeight: number | undefined;
|
|
442
|
+
width: number;
|
|
443
|
+
}>;
|
|
444
|
+
getColSpan: (cellElem: import("@udecode/plate-table").TTableCellElement) => number;
|
|
445
|
+
getRowSpan: (cellElem: import("@udecode/plate-table").TTableCellElement) => number;
|
|
446
|
+
getCellChildren: (cell: import("@udecode/plate-table").TTableCellElement) => import("@udecode/plate").Descendant[];
|
|
447
|
+
};
|
|
448
|
+
}, {
|
|
449
|
+
insert: {
|
|
450
|
+
table: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, { colCount, header, rowCount }?: import("@udecode/plate-table").GetEmptyTableNodeOptions, { select: shouldSelect, ...options }?: import("@udecode/plate").InsertNodesOptions) => void>;
|
|
451
|
+
tableColumn: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, options?: {
|
|
452
|
+
at?: import("@udecode/plate").Path;
|
|
453
|
+
before?: boolean;
|
|
454
|
+
fromCell?: import("@udecode/plate").Path;
|
|
455
|
+
header?: boolean;
|
|
456
|
+
select?: boolean;
|
|
457
|
+
}) => void>;
|
|
458
|
+
tableRow: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, options?: {
|
|
459
|
+
at?: import("@udecode/plate").Path;
|
|
460
|
+
before?: boolean;
|
|
461
|
+
fromRow?: import("@udecode/plate").Path;
|
|
462
|
+
header?: boolean;
|
|
463
|
+
select?: boolean;
|
|
464
|
+
}) => void>;
|
|
465
|
+
};
|
|
466
|
+
remove: {
|
|
467
|
+
table: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor) => void>;
|
|
468
|
+
tableColumn: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor) => void>;
|
|
469
|
+
tableRow: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor) => void>;
|
|
470
|
+
};
|
|
471
|
+
table: {
|
|
472
|
+
merge: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor) => void>;
|
|
473
|
+
split: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor) => void>;
|
|
474
|
+
};
|
|
475
|
+
} & {
|
|
476
|
+
insert: {
|
|
477
|
+
table: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, { colCount, header, rowCount }?: import("@udecode/plate-table").GetEmptyTableNodeOptions, { select: shouldSelect, ...options }?: import("@udecode/plate").InsertNodesOptions) => void>;
|
|
478
|
+
tableColumn: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, options?: {
|
|
479
|
+
at?: import("@udecode/plate").Path;
|
|
480
|
+
before?: boolean;
|
|
481
|
+
fromCell?: import("@udecode/plate").Path;
|
|
482
|
+
header?: boolean;
|
|
483
|
+
select?: boolean;
|
|
484
|
+
}) => void>;
|
|
485
|
+
tableRow: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor, options?: {
|
|
486
|
+
at?: import("@udecode/plate").Path;
|
|
487
|
+
before?: boolean;
|
|
488
|
+
fromRow?: import("@udecode/plate").Path;
|
|
489
|
+
header?: boolean;
|
|
490
|
+
select?: boolean;
|
|
491
|
+
}) => void>;
|
|
492
|
+
};
|
|
493
|
+
remove: {
|
|
494
|
+
table: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor) => void>;
|
|
495
|
+
tableColumn: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor) => void>;
|
|
496
|
+
tableRow: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor) => void>;
|
|
497
|
+
};
|
|
498
|
+
table: {
|
|
499
|
+
merge: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor) => void>;
|
|
500
|
+
split: import("@udecode/plate").OmitFirst<(editor: import("@udecode/plate").SlateEditor) => void>;
|
|
501
|
+
};
|
|
502
|
+
}, {
|
|
503
|
+
cellIndices?: (id: string) => import("@udecode/plate-table").CellIndices;
|
|
504
|
+
}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"slash_command", import("@udecode/plate-combobox").TriggerComboboxPluginOptions, {}, {}, {}>>, import("@udecode/plate").SlatePlugin<import("@udecode/plate").PluginConfig<"trailingBlock", {
|
|
505
|
+
type: string;
|
|
506
|
+
} & {
|
|
507
|
+
level?: number;
|
|
508
|
+
type?: string;
|
|
509
|
+
} & import("@udecode/plate").QueryNodeOptions, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"break", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"floating-toolbar", {}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"autoformat", {
|
|
510
|
+
enableUndoOnDelete?: boolean;
|
|
511
|
+
rules?: AutoformatRule[];
|
|
512
|
+
}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"exitBreak", {
|
|
513
|
+
rules?: import("node_modules/@udecode/plate-break/dist/BaseSoftBreakPlugin-CeLtcSTo").E[];
|
|
514
|
+
}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"resetNode", {
|
|
515
|
+
disableEditorReset?: boolean;
|
|
516
|
+
disableFirstBlockReset?: boolean;
|
|
517
|
+
rules?: import("@udecode/plate-reset-node").ResetNodePluginRule[];
|
|
518
|
+
}, {}, {}, {}>>, import("@udecode/plate/react").PlatePlugin<import("@udecode/plate").PluginConfig<"softBreak", {
|
|
519
|
+
rules?: import("node_modules/@udecode/plate-break/dist/BaseSoftBreakPlugin-CeLtcSTo").b[];
|
|
520
|
+
}, {}, {}, {}>>];
|