@lofcz/platejs-utils 52.3.4
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/LICENSE +24 -0
- package/README.md +9 -0
- package/dist/index.d.ts +528 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +143 -0
- package/dist/index.js.map +1 -0
- package/dist/plate-keys-C2YNmTqZ.js +127 -0
- package/dist/plate-keys-C2YNmTqZ.js.map +1 -0
- package/dist/react/index.d.ts +107 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react/index.js +300 -0
- package/dist/react/index.js.map +1 -0
- package/package.json +63 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) Ziad Beyens, Dylan Schiemann, Joe Anderson, Felix Feng
|
|
4
|
+
|
|
5
|
+
Unless otherwise specified in a LICENSE file within an individual package directory,
|
|
6
|
+
this license applies to all files in this repository outside of those package directories.
|
|
7
|
+
|
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
10
|
+
in the Software without restriction, including without limitation the rights
|
|
11
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
13
|
+
furnished to do so, subject to the following conditions:
|
|
14
|
+
|
|
15
|
+
The above copyright notice and this permission notice shall be included in
|
|
16
|
+
all copies or substantial portions of the Software.
|
|
17
|
+
|
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
23
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
24
|
+
THE SOFTWARE.
|
package/README.md
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,528 @@
|
|
|
1
|
+
import * as _platejs_core0 from "@platejs/core";
|
|
2
|
+
import { InsertExitBreakOptions, OverrideEditor, PluginConfig } from "@platejs/core";
|
|
3
|
+
import { Descendant, Path, QueryNodeOptions, TElement, TText } from "@platejs/slate";
|
|
4
|
+
import { UnknownObject } from "@udecode/utils";
|
|
5
|
+
|
|
6
|
+
//#region src/lib/plate-keys.d.ts
|
|
7
|
+
declare const NODES: {
|
|
8
|
+
readonly a: "a";
|
|
9
|
+
readonly ai: "ai";
|
|
10
|
+
readonly aiChat: "aiChat";
|
|
11
|
+
readonly audio: "audio";
|
|
12
|
+
readonly blockquote: "blockquote";
|
|
13
|
+
readonly bold: "bold";
|
|
14
|
+
readonly callout: "callout";
|
|
15
|
+
readonly code: "code";
|
|
16
|
+
readonly codeBlock: "code_block";
|
|
17
|
+
readonly codeDrawing: "code_drawing";
|
|
18
|
+
readonly codeLine: "code_line";
|
|
19
|
+
readonly codeSyntax: "code_syntax";
|
|
20
|
+
readonly column: "column";
|
|
21
|
+
readonly columnGroup: "column_group";
|
|
22
|
+
readonly comment: "comment";
|
|
23
|
+
readonly date: "date";
|
|
24
|
+
readonly emojiInput: "emoji_input";
|
|
25
|
+
readonly equation: "equation";
|
|
26
|
+
readonly excalidraw: "excalidraw";
|
|
27
|
+
readonly file: "file";
|
|
28
|
+
readonly h1: "h1";
|
|
29
|
+
readonly h2: "h2";
|
|
30
|
+
readonly h3: "h3";
|
|
31
|
+
readonly h4: "h4";
|
|
32
|
+
readonly h5: "h5";
|
|
33
|
+
readonly h6: "h6";
|
|
34
|
+
readonly highlight: "highlight";
|
|
35
|
+
readonly hr: "hr";
|
|
36
|
+
readonly img: "img";
|
|
37
|
+
readonly inlineEquation: "inline_equation";
|
|
38
|
+
readonly italic: "italic";
|
|
39
|
+
readonly kbd: "kbd";
|
|
40
|
+
readonly li: "li";
|
|
41
|
+
readonly lic: "lic";
|
|
42
|
+
readonly link: "a";
|
|
43
|
+
readonly listTodoClassic: "action_item";
|
|
44
|
+
readonly mediaEmbed: "media_embed";
|
|
45
|
+
readonly mention: "mention";
|
|
46
|
+
readonly mentionInput: "mention_input";
|
|
47
|
+
readonly olClassic: "ol";
|
|
48
|
+
readonly p: "p";
|
|
49
|
+
readonly searchHighlight: "search_highlight";
|
|
50
|
+
readonly slashInput: "slash_input";
|
|
51
|
+
readonly strikethrough: "strikethrough";
|
|
52
|
+
readonly sub: "subscript";
|
|
53
|
+
readonly suggestion: "suggestion";
|
|
54
|
+
readonly sup: "superscript";
|
|
55
|
+
readonly table: "table";
|
|
56
|
+
readonly tag: "tag";
|
|
57
|
+
readonly taskList: "taskList";
|
|
58
|
+
readonly td: "td";
|
|
59
|
+
readonly th: "th";
|
|
60
|
+
readonly toc: "toc";
|
|
61
|
+
readonly toggle: "toggle";
|
|
62
|
+
readonly tr: "tr";
|
|
63
|
+
readonly ulClassic: "ul";
|
|
64
|
+
readonly underline: "underline";
|
|
65
|
+
readonly video: "video";
|
|
66
|
+
};
|
|
67
|
+
declare const STYLE_KEYS: {
|
|
68
|
+
readonly backgroundColor: "backgroundColor";
|
|
69
|
+
readonly color: "color";
|
|
70
|
+
readonly fontFamily: "fontFamily";
|
|
71
|
+
readonly fontSize: "fontSize";
|
|
72
|
+
readonly fontWeight: "fontWeight";
|
|
73
|
+
readonly indent: "indent";
|
|
74
|
+
readonly lineHeight: "lineHeight";
|
|
75
|
+
readonly listType: "listStyleType";
|
|
76
|
+
readonly textAlign: "textAlign";
|
|
77
|
+
readonly textIndent: "textIndent";
|
|
78
|
+
};
|
|
79
|
+
declare const KEYS: {
|
|
80
|
+
readonly autoformat: "autoformat";
|
|
81
|
+
readonly blockMenu: "blockMenu";
|
|
82
|
+
readonly blockPlaceholder: "blockPlaceholder";
|
|
83
|
+
readonly blockSelection: "blockSelection";
|
|
84
|
+
readonly caption: "caption";
|
|
85
|
+
readonly copilot: "copilot";
|
|
86
|
+
readonly csv: "csv";
|
|
87
|
+
readonly cursorOverlay: "cursorOverlay";
|
|
88
|
+
readonly delete: "delete";
|
|
89
|
+
readonly dnd: "dnd";
|
|
90
|
+
readonly docx: "docx";
|
|
91
|
+
readonly emoji: "emoji";
|
|
92
|
+
readonly exitBreak: "exitBreak";
|
|
93
|
+
readonly heading: string[];
|
|
94
|
+
readonly html: "html";
|
|
95
|
+
readonly juice: "juice";
|
|
96
|
+
readonly list: "list";
|
|
97
|
+
readonly listChecked: "checked";
|
|
98
|
+
readonly listClassic: "listClassic";
|
|
99
|
+
readonly listRestart: "listRestart";
|
|
100
|
+
readonly listRestartPolite: "listRestartPolite";
|
|
101
|
+
readonly listStart: "listStart";
|
|
102
|
+
readonly listTodo: "todo";
|
|
103
|
+
readonly markdown: "markdown";
|
|
104
|
+
readonly nodeId: "nodeId";
|
|
105
|
+
readonly normalizeTypes: "normalizeTypes";
|
|
106
|
+
readonly ol: "decimal";
|
|
107
|
+
readonly placeholder: "placeholder";
|
|
108
|
+
readonly playwright: "playwright";
|
|
109
|
+
readonly removeEmptyNodes: "removeEmptyNodes";
|
|
110
|
+
readonly resetNode: "resetNode";
|
|
111
|
+
readonly singleBlock: "singleBlock";
|
|
112
|
+
readonly singleLine: "singleLine";
|
|
113
|
+
readonly slashCommand: "slash_command";
|
|
114
|
+
readonly softBreak: "softBreak";
|
|
115
|
+
readonly tabbable: "tabbable";
|
|
116
|
+
readonly trailingBlock: "trailingBlock";
|
|
117
|
+
readonly ul: "disc";
|
|
118
|
+
readonly yjs: "yjs";
|
|
119
|
+
readonly backgroundColor: "backgroundColor";
|
|
120
|
+
readonly color: "color";
|
|
121
|
+
readonly fontFamily: "fontFamily";
|
|
122
|
+
readonly fontSize: "fontSize";
|
|
123
|
+
readonly fontWeight: "fontWeight";
|
|
124
|
+
readonly indent: "indent";
|
|
125
|
+
readonly lineHeight: "lineHeight";
|
|
126
|
+
readonly listType: "listStyleType";
|
|
127
|
+
readonly textAlign: "textAlign";
|
|
128
|
+
readonly textIndent: "textIndent";
|
|
129
|
+
readonly a: "a";
|
|
130
|
+
readonly ai: "ai";
|
|
131
|
+
readonly aiChat: "aiChat";
|
|
132
|
+
readonly audio: "audio";
|
|
133
|
+
readonly blockquote: "blockquote";
|
|
134
|
+
readonly bold: "bold";
|
|
135
|
+
readonly callout: "callout";
|
|
136
|
+
readonly code: "code";
|
|
137
|
+
readonly codeBlock: "code_block";
|
|
138
|
+
readonly codeDrawing: "code_drawing";
|
|
139
|
+
readonly codeLine: "code_line";
|
|
140
|
+
readonly codeSyntax: "code_syntax";
|
|
141
|
+
readonly column: "column";
|
|
142
|
+
readonly columnGroup: "column_group";
|
|
143
|
+
readonly comment: "comment";
|
|
144
|
+
readonly date: "date";
|
|
145
|
+
readonly emojiInput: "emoji_input";
|
|
146
|
+
readonly equation: "equation";
|
|
147
|
+
readonly excalidraw: "excalidraw";
|
|
148
|
+
readonly file: "file";
|
|
149
|
+
readonly h1: "h1";
|
|
150
|
+
readonly h2: "h2";
|
|
151
|
+
readonly h3: "h3";
|
|
152
|
+
readonly h4: "h4";
|
|
153
|
+
readonly h5: "h5";
|
|
154
|
+
readonly h6: "h6";
|
|
155
|
+
readonly highlight: "highlight";
|
|
156
|
+
readonly hr: "hr";
|
|
157
|
+
readonly img: "img";
|
|
158
|
+
readonly inlineEquation: "inline_equation";
|
|
159
|
+
readonly italic: "italic";
|
|
160
|
+
readonly kbd: "kbd";
|
|
161
|
+
readonly li: "li";
|
|
162
|
+
readonly lic: "lic";
|
|
163
|
+
readonly link: "a";
|
|
164
|
+
readonly listTodoClassic: "action_item";
|
|
165
|
+
readonly mediaEmbed: "media_embed";
|
|
166
|
+
readonly mention: "mention";
|
|
167
|
+
readonly mentionInput: "mention_input";
|
|
168
|
+
readonly olClassic: "ol";
|
|
169
|
+
readonly p: "p";
|
|
170
|
+
readonly searchHighlight: "search_highlight";
|
|
171
|
+
readonly slashInput: "slash_input";
|
|
172
|
+
readonly strikethrough: "strikethrough";
|
|
173
|
+
readonly sub: "subscript";
|
|
174
|
+
readonly suggestion: "suggestion";
|
|
175
|
+
readonly sup: "superscript";
|
|
176
|
+
readonly table: "table";
|
|
177
|
+
readonly tag: "tag";
|
|
178
|
+
readonly taskList: "taskList";
|
|
179
|
+
readonly td: "td";
|
|
180
|
+
readonly th: "th";
|
|
181
|
+
readonly toc: "toc";
|
|
182
|
+
readonly toggle: "toggle";
|
|
183
|
+
readonly tr: "tr";
|
|
184
|
+
readonly ulClassic: "ul";
|
|
185
|
+
readonly underline: "underline";
|
|
186
|
+
readonly video: "video";
|
|
187
|
+
};
|
|
188
|
+
type NodeKey = (typeof NODES)[keyof typeof NODES];
|
|
189
|
+
type StyleKey = (typeof STYLE_KEYS)[keyof typeof STYLE_KEYS];
|
|
190
|
+
type PlateKey = (typeof KEYS)[keyof typeof KEYS];
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region src/lib/plate-types.d.ts
|
|
193
|
+
interface TCalloutElement extends TElement {
|
|
194
|
+
backgroundColor?: string;
|
|
195
|
+
icon?: string;
|
|
196
|
+
variant?: (string & {}) | 'error' | 'info' | 'note' | 'success' | 'tip' | 'warning';
|
|
197
|
+
}
|
|
198
|
+
type TTagProps = {
|
|
199
|
+
value: string;
|
|
200
|
+
} & UnknownObject;
|
|
201
|
+
type TTagElement = TElement & TTagProps;
|
|
202
|
+
interface TCodeBlockElement extends TElement {
|
|
203
|
+
lang?: string;
|
|
204
|
+
}
|
|
205
|
+
interface TCodeSyntaxLeaf extends TText {
|
|
206
|
+
className?: string;
|
|
207
|
+
}
|
|
208
|
+
interface TColumnElement extends TElement {
|
|
209
|
+
type: 'column';
|
|
210
|
+
width: string;
|
|
211
|
+
id?: string;
|
|
212
|
+
}
|
|
213
|
+
interface TColumnGroupElement extends TElement {
|
|
214
|
+
children: TColumnElement[];
|
|
215
|
+
type: 'column_group';
|
|
216
|
+
id?: string;
|
|
217
|
+
layout?: number[];
|
|
218
|
+
}
|
|
219
|
+
interface TDateElement extends TElement {
|
|
220
|
+
date?: string;
|
|
221
|
+
}
|
|
222
|
+
interface TEquationElement extends TElement {
|
|
223
|
+
texExpression: string;
|
|
224
|
+
}
|
|
225
|
+
interface TImageElement extends TMediaElement {
|
|
226
|
+
initialHeight?: number;
|
|
227
|
+
initialWidth?: number;
|
|
228
|
+
}
|
|
229
|
+
interface TPlaceholderElement extends TElement {
|
|
230
|
+
mediaType: string;
|
|
231
|
+
}
|
|
232
|
+
interface TAudioElement extends TMediaElement {}
|
|
233
|
+
interface TFileElement extends TMediaElement {}
|
|
234
|
+
interface TVideoElement extends TMediaElement {}
|
|
235
|
+
interface TMediaEmbedElement extends TMediaElement {}
|
|
236
|
+
interface TLinkElement extends TElement {
|
|
237
|
+
url: string;
|
|
238
|
+
target?: string;
|
|
239
|
+
}
|
|
240
|
+
interface TMentionElement extends TElement {
|
|
241
|
+
value: string;
|
|
242
|
+
}
|
|
243
|
+
interface TComboboxInputElement extends TElement {
|
|
244
|
+
value: string;
|
|
245
|
+
}
|
|
246
|
+
interface TTableElement extends TElement {
|
|
247
|
+
colSizes?: number[];
|
|
248
|
+
marginLeft?: number;
|
|
249
|
+
}
|
|
250
|
+
interface TTableRowElement extends TElement {
|
|
251
|
+
size?: number;
|
|
252
|
+
}
|
|
253
|
+
interface TTableCellElement extends TElement {
|
|
254
|
+
id?: string;
|
|
255
|
+
attributes?: {
|
|
256
|
+
colspan?: string;
|
|
257
|
+
rowspan?: string;
|
|
258
|
+
};
|
|
259
|
+
background?: string;
|
|
260
|
+
borders?: {
|
|
261
|
+
/** Only the last row cells have a bottom border. */
|
|
262
|
+
bottom?: TTableCellBorder;
|
|
263
|
+
left?: TTableCellBorder;
|
|
264
|
+
/** Only the last column cells have a right border. */
|
|
265
|
+
right?: TTableCellBorder;
|
|
266
|
+
top?: TTableCellBorder;
|
|
267
|
+
};
|
|
268
|
+
colSpan?: number;
|
|
269
|
+
rowSpan?: number;
|
|
270
|
+
size?: number;
|
|
271
|
+
}
|
|
272
|
+
type TTableCellBorder = {
|
|
273
|
+
color?: string;
|
|
274
|
+
size?: number;
|
|
275
|
+
style?: string;
|
|
276
|
+
};
|
|
277
|
+
type TIdProps = {
|
|
278
|
+
id: string;
|
|
279
|
+
};
|
|
280
|
+
type TIdElement = TElement & TIdProps;
|
|
281
|
+
type TTextAlignProps = {
|
|
282
|
+
align?: React.CSSProperties['textAlign'];
|
|
283
|
+
};
|
|
284
|
+
type TResizableProps = {
|
|
285
|
+
align?: 'center' | 'left' | 'right';
|
|
286
|
+
width?: number;
|
|
287
|
+
};
|
|
288
|
+
type TResizableElement = TElement & TResizableProps;
|
|
289
|
+
type TMediaProps = {
|
|
290
|
+
url: string;
|
|
291
|
+
id?: string;
|
|
292
|
+
isUpload?: boolean;
|
|
293
|
+
name?: string;
|
|
294
|
+
placeholderId?: string;
|
|
295
|
+
};
|
|
296
|
+
type TMediaElement = TElement & TMediaProps;
|
|
297
|
+
type TCaptionProps = {
|
|
298
|
+
caption?: Descendant[];
|
|
299
|
+
};
|
|
300
|
+
type TCaptionElement = TElement & TCaptionProps;
|
|
301
|
+
type TIndentProps = {
|
|
302
|
+
indent: number;
|
|
303
|
+
};
|
|
304
|
+
type TIndentElement = TElement & TIndentProps;
|
|
305
|
+
type TListProps = TIndentProps & {
|
|
306
|
+
listStyleType: string;
|
|
307
|
+
checked?: boolean;
|
|
308
|
+
listRestart?: number;
|
|
309
|
+
listRestartPolite?: number;
|
|
310
|
+
listStart?: number;
|
|
311
|
+
};
|
|
312
|
+
type TListElement = TElement & TListProps;
|
|
313
|
+
type TSuggestionProps = {
|
|
314
|
+
suggestion: TSuggestionData;
|
|
315
|
+
};
|
|
316
|
+
type TSuggestionElement = TElement & TSuggestionProps;
|
|
317
|
+
type TLineHeightProps = {
|
|
318
|
+
lineHeight?: React.CSSProperties['lineHeight'];
|
|
319
|
+
};
|
|
320
|
+
type TBasicMarks = {
|
|
321
|
+
bold?: boolean;
|
|
322
|
+
code?: boolean;
|
|
323
|
+
italic?: boolean;
|
|
324
|
+
strikethrough?: boolean;
|
|
325
|
+
subscript?: boolean;
|
|
326
|
+
underline?: boolean;
|
|
327
|
+
};
|
|
328
|
+
type TFontMarks = {
|
|
329
|
+
backgroundColor?: React.CSSProperties['backgroundColor'];
|
|
330
|
+
color?: React.CSSProperties['color'];
|
|
331
|
+
fontFamily?: React.CSSProperties['fontFamily'];
|
|
332
|
+
fontSize?: React.CSSProperties['fontSize'];
|
|
333
|
+
fontWeight?: React.CSSProperties['fontWeight'];
|
|
334
|
+
};
|
|
335
|
+
interface TCommentText extends TText {
|
|
336
|
+
comment?: boolean;
|
|
337
|
+
}
|
|
338
|
+
type TSuggestionData = {
|
|
339
|
+
id: string;
|
|
340
|
+
createdAt: number;
|
|
341
|
+
type: 'insert' | 'remove';
|
|
342
|
+
userId: string;
|
|
343
|
+
isLineBreak?: boolean;
|
|
344
|
+
};
|
|
345
|
+
type TSuggestionText = TText & {
|
|
346
|
+
[key: string]: TInlineSuggestionData | boolean | string;
|
|
347
|
+
suggestion: true;
|
|
348
|
+
text: string;
|
|
349
|
+
};
|
|
350
|
+
type TInlineSuggestionData = TInsertSuggestionData | TRemoveSuggestionData | TUpdateSuggestionData;
|
|
351
|
+
type TInsertSuggestionData = {
|
|
352
|
+
id: string;
|
|
353
|
+
createdAt: number;
|
|
354
|
+
type: 'insert';
|
|
355
|
+
userId: string;
|
|
356
|
+
};
|
|
357
|
+
type TRemoveSuggestionData = {
|
|
358
|
+
id: string;
|
|
359
|
+
createdAt: number;
|
|
360
|
+
type: 'remove';
|
|
361
|
+
userId: string;
|
|
362
|
+
};
|
|
363
|
+
type TUpdateSuggestionData = {
|
|
364
|
+
id: string;
|
|
365
|
+
createdAt: number;
|
|
366
|
+
type: 'update';
|
|
367
|
+
userId: string;
|
|
368
|
+
newProperties?: any;
|
|
369
|
+
properties?: any;
|
|
370
|
+
};
|
|
371
|
+
type EmptyText = {
|
|
372
|
+
text: '';
|
|
373
|
+
};
|
|
374
|
+
type PlainText = {
|
|
375
|
+
text: string;
|
|
376
|
+
};
|
|
377
|
+
type TNodeMap = {
|
|
378
|
+
a: TLinkElement;
|
|
379
|
+
action_item: TListElement;
|
|
380
|
+
ai: TText & {
|
|
381
|
+
ai: true;
|
|
382
|
+
};
|
|
383
|
+
aiChat: TElement;
|
|
384
|
+
audio: TAudioElement;
|
|
385
|
+
blockquote: TElement;
|
|
386
|
+
bold: TText & {
|
|
387
|
+
bold: true;
|
|
388
|
+
};
|
|
389
|
+
callout: TCalloutElement;
|
|
390
|
+
code: TText & {
|
|
391
|
+
code: true;
|
|
392
|
+
};
|
|
393
|
+
code_block: TCodeBlockElement;
|
|
394
|
+
code_line: TElement;
|
|
395
|
+
code_syntax: TCodeSyntaxLeaf;
|
|
396
|
+
column: TColumnElement;
|
|
397
|
+
column_group: TColumnGroupElement;
|
|
398
|
+
comment: TText & {
|
|
399
|
+
comment: true;
|
|
400
|
+
};
|
|
401
|
+
date: TDateElement;
|
|
402
|
+
emoji_input: TComboboxInputElement;
|
|
403
|
+
equation: TEquationElement;
|
|
404
|
+
excalidraw: TElement;
|
|
405
|
+
file: TFileElement;
|
|
406
|
+
h1: TElement;
|
|
407
|
+
h2: TElement;
|
|
408
|
+
h3: TElement;
|
|
409
|
+
h4: TElement;
|
|
410
|
+
h5: TElement;
|
|
411
|
+
h6: TElement;
|
|
412
|
+
highlight: TText & {
|
|
413
|
+
highlight: true;
|
|
414
|
+
};
|
|
415
|
+
hr: TElement;
|
|
416
|
+
img: TImageElement & TCaptionProps;
|
|
417
|
+
inline_equation: TEquationElement;
|
|
418
|
+
italic: TText & {
|
|
419
|
+
italic: true;
|
|
420
|
+
};
|
|
421
|
+
kbd: TText & {
|
|
422
|
+
kbd: true;
|
|
423
|
+
};
|
|
424
|
+
li: TElement;
|
|
425
|
+
lic: TElement;
|
|
426
|
+
media_embed: TMediaEmbedElement & TCaptionProps;
|
|
427
|
+
mention: TMentionElement;
|
|
428
|
+
mention_input: TComboboxInputElement;
|
|
429
|
+
ol: TListElement;
|
|
430
|
+
p: TElement;
|
|
431
|
+
search_highlight: TText & {
|
|
432
|
+
search_highlight: true;
|
|
433
|
+
};
|
|
434
|
+
slash_input: TComboboxInputElement;
|
|
435
|
+
strikethrough: TText & {
|
|
436
|
+
strikethrough: true;
|
|
437
|
+
};
|
|
438
|
+
subscript: TText & {
|
|
439
|
+
subscript: true;
|
|
440
|
+
};
|
|
441
|
+
suggestion: TSuggestionText;
|
|
442
|
+
superscript: TText & {
|
|
443
|
+
superscript: true;
|
|
444
|
+
};
|
|
445
|
+
table: TTableElement;
|
|
446
|
+
tag: TTagElement;
|
|
447
|
+
td: TTableCellElement;
|
|
448
|
+
th: TTableCellElement;
|
|
449
|
+
toc: TElement;
|
|
450
|
+
toggle: TElement;
|
|
451
|
+
tr: TTableRowElement;
|
|
452
|
+
ul: TListElement;
|
|
453
|
+
underline: TText & {
|
|
454
|
+
underline: true;
|
|
455
|
+
};
|
|
456
|
+
video: TVideoElement & TCaptionProps;
|
|
457
|
+
};
|
|
458
|
+
//#endregion
|
|
459
|
+
//#region src/lib/plugins/ExitBreakPlugin.d.ts
|
|
460
|
+
/**
|
|
461
|
+
* Insert soft break following configurable rules. Each rule specifies a hotkey
|
|
462
|
+
* and query options.
|
|
463
|
+
*/
|
|
464
|
+
declare const ExitBreakPlugin: _platejs_core0.SlatePlugin<_platejs_core0.PluginConfig<"exitBreak", {}, {}, Record<"exitBreak", {
|
|
465
|
+
insert: (options: Omit<InsertExitBreakOptions, "reverse">) => true | undefined;
|
|
466
|
+
insertBefore: (options: Omit<InsertExitBreakOptions, "reverse">) => true | undefined;
|
|
467
|
+
}>, {}>>;
|
|
468
|
+
//#endregion
|
|
469
|
+
//#region src/lib/plugins/normalize-types/NormalizeTypesPlugin.d.ts
|
|
470
|
+
type NormalizeTypesConfig = PluginConfig<'normalizeTypes', {
|
|
471
|
+
/**
|
|
472
|
+
* Set of rules for the types. For each rule, provide a `path` and either
|
|
473
|
+
* `strictType` or `type`. If there is no node existing at `path`: insert a
|
|
474
|
+
* node with `strictType`. If there is a node existing at `path` but its
|
|
475
|
+
* type is not `strictType` or `type`: set the node type to `strictType` or
|
|
476
|
+
* `type`.
|
|
477
|
+
*/
|
|
478
|
+
rules?: Rule[];
|
|
479
|
+
onError?: (err: any) => void;
|
|
480
|
+
}>;
|
|
481
|
+
type Rule = {
|
|
482
|
+
/** Path where the rule applies */
|
|
483
|
+
path: Path;
|
|
484
|
+
/** Force the type of the node at the given path */
|
|
485
|
+
strictType?: string;
|
|
486
|
+
/** Type of the inserted node at the given path if `strictType` is not provided */
|
|
487
|
+
type?: string;
|
|
488
|
+
};
|
|
489
|
+
/** @see {@link withNormalizeTypes} */
|
|
490
|
+
declare const NormalizeTypesPlugin: _platejs_core0.SlatePlugin<NormalizeTypesConfig>;
|
|
491
|
+
//#endregion
|
|
492
|
+
//#region src/lib/plugins/normalize-types/withNormalizeTypes.d.ts
|
|
493
|
+
declare const withNormalizeTypes: OverrideEditor<NormalizeTypesConfig>;
|
|
494
|
+
//#endregion
|
|
495
|
+
//#region src/lib/plugins/single-block/SingleBlockPlugin.d.ts
|
|
496
|
+
/** Forces editor to only have one block. */
|
|
497
|
+
declare const SingleBlockPlugin: _platejs_core0.SlatePlugin<_platejs_core0.PluginConfig<"singleBlock", {}, {}, {}, {}>>;
|
|
498
|
+
//#endregion
|
|
499
|
+
//#region src/lib/plugins/single-block/SingleLinePlugin.d.ts
|
|
500
|
+
/** Forces editor to only have one line. */
|
|
501
|
+
declare const SingleLinePlugin: _platejs_core0.SlatePlugin<_platejs_core0.PluginConfig<"singleLine", {}, {}, {}, {}>>;
|
|
502
|
+
//#endregion
|
|
503
|
+
//#region src/lib/plugins/trailing-block/TrailingBlockPlugin.d.ts
|
|
504
|
+
type TrailingBlockConfig = PluginConfig<'trailingBlock', {
|
|
505
|
+
/** Level where the trailing node should be, the first level being 0. */
|
|
506
|
+
level?: number;
|
|
507
|
+
/** Type of the trailing block */
|
|
508
|
+
type?: string;
|
|
509
|
+
} & QueryNodeOptions>;
|
|
510
|
+
/** @see {@link withTrailingBlock} */
|
|
511
|
+
declare const TrailingBlockPlugin: _platejs_core0.SlatePlugin<PluginConfig<"trailingBlock", {
|
|
512
|
+
type: string;
|
|
513
|
+
} & {
|
|
514
|
+
/** Level where the trailing node should be, the first level being 0. */
|
|
515
|
+
level?: number;
|
|
516
|
+
/** Type of the trailing block */
|
|
517
|
+
type?: string;
|
|
518
|
+
} & QueryNodeOptions, {}, {}, {}>>;
|
|
519
|
+
//#endregion
|
|
520
|
+
//#region src/lib/plugins/trailing-block/withTrailingBlock.d.ts
|
|
521
|
+
/**
|
|
522
|
+
* Add a trailing block when the last node type is not `type` and when the
|
|
523
|
+
* editor has .
|
|
524
|
+
*/
|
|
525
|
+
declare const withTrailingBlock: OverrideEditor<TrailingBlockConfig>;
|
|
526
|
+
//#endregion
|
|
527
|
+
export { EmptyText, ExitBreakPlugin, KEYS, NODES, NodeKey, NormalizeTypesConfig, NormalizeTypesPlugin, PlainText, PlateKey, STYLE_KEYS, SingleBlockPlugin, SingleLinePlugin, StyleKey, TAudioElement, TBasicMarks, TCalloutElement, TCaptionElement, TCaptionProps, TCodeBlockElement, TCodeSyntaxLeaf, TColumnElement, TColumnGroupElement, TComboboxInputElement, TCommentText, TDateElement, TEquationElement, TFileElement, TFontMarks, TIdElement, TIdProps, TImageElement, TIndentElement, TIndentProps, TInlineSuggestionData, TInsertSuggestionData, TLineHeightProps, TLinkElement, TListElement, TListProps, TMediaElement, TMediaEmbedElement, TMediaProps, TMentionElement, TNodeMap, TPlaceholderElement, TRemoveSuggestionData, TResizableElement, TResizableProps, TSuggestionData, TSuggestionElement, TSuggestionProps, TSuggestionText, TTableCellBorder, TTableCellElement, TTableElement, TTableRowElement, TTagElement, TTagProps, TTextAlignProps, TUpdateSuggestionData, TVideoElement, TrailingBlockConfig, TrailingBlockPlugin, withNormalizeTypes, withTrailingBlock };
|
|
528
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/lib/plate-keys.ts","../src/lib/plate-types.ts","../src/lib/plugins/ExitBreakPlugin.ts","../src/lib/plugins/normalize-types/NormalizeTypesPlugin.ts","../src/lib/plugins/normalize-types/withNormalizeTypes.ts","../src/lib/plugins/single-block/SingleBlockPlugin.ts","../src/lib/plugins/single-block/SingleLinePlugin.ts","../src/lib/plugins/trailing-block/TrailingBlockPlugin.ts","../src/lib/plugins/trailing-block/withTrailingBlock.ts"],"sourcesContent":[],"mappings":";;;;;;cAAa;;;;;;EAAA,SA2DH,IAAA,EAAA,MAAA;EAEG,SAAA,OAWH,EAAA,SAAA;EAEG,SA0CH,IAAA,EAAA,MAAA;EAEE,SAAA,SAAO,EAAA,YAA+B;EACtC,SAAA,WAAQ,EAAA,cAAoC;EAC5C,SAAA,QAAQ,EAAA,WAA8B;;;;ECjHjC,SAAA,OAAA,EAAgB,SAAA;EAarB,SAAA,IAAS,EAAA,MAAA;EAET,SAAA,UAAW,EAAA,aAAG;EAET,SAAA,QAAA,EAAA,UAAkB;EAIlB,SAAA,UAAgB,EAAA,YAAQ;EAIxB,SAAA,IAAA,EAAA,MAAe;EAMf,SAAA,EAAA,EAAA,IAAA;EAOA,SAAA,EAAA,EAAA,IAAa;EAIb,SAAA,EAAA,EAAA,IAAA;EAIA,SAAA,EAAA,EAAA,IAAc;EAKd,SAAA,EAAA,EAAA,IAAA;EAIA,SAAA,EAAA,EAAA,IAAc;EAEd,SAAA,SAAa,EAAA,WAAQ;EAErB,SAAA,EAAA,EAAA,IAAc;EAEd,SAAA,GAAA,EAAA,KAAA;EAMA,SA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