reactjs-tiptap-editor 0.2.20 → 0.2.21
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/lib/extension-bundle.cjs +3 -3
- package/lib/extension-bundle.d.cts +86 -59
- package/lib/extension-bundle.d.ts +86 -59
- package/lib/extension-bundle.js +667 -666
- package/lib/index.d.cts +58 -58
- package/lib/index.d.ts +58 -58
- package/lib/locale-bundle.d.cts +58 -58
- package/lib/locale-bundle.d.ts +58 -58
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -267,9 +267,24 @@ declare module '@tiptap/core' {
|
|
|
267
267
|
|
|
268
268
|
declare module '@tiptap/core' {
|
|
269
269
|
interface Commands<ReturnType> {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
iframe: {
|
|
271
|
+
/**
|
|
272
|
+
* Add an iframe
|
|
273
|
+
*/
|
|
274
|
+
setIframe: (options: {
|
|
275
|
+
src: string;
|
|
276
|
+
service: string;
|
|
277
|
+
}) => ReturnType;
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
declare module '@tiptap/core' {
|
|
284
|
+
interface Commands<ReturnType> {
|
|
285
|
+
lineHeight: {
|
|
286
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
287
|
+
unsetLineHeight: () => ReturnType;
|
|
273
288
|
};
|
|
274
289
|
}
|
|
275
290
|
}
|
|
@@ -297,8 +312,9 @@ declare module '@tiptap/core' {
|
|
|
297
312
|
|
|
298
313
|
declare module '@tiptap/core' {
|
|
299
314
|
interface Commands<ReturnType> {
|
|
300
|
-
|
|
301
|
-
|
|
315
|
+
tableCellBackground: {
|
|
316
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
317
|
+
unsetTableCellBackground: () => ReturnType;
|
|
302
318
|
};
|
|
303
319
|
}
|
|
304
320
|
}
|
|
@@ -306,13 +322,8 @@ declare module '@tiptap/core' {
|
|
|
306
322
|
|
|
307
323
|
declare module '@tiptap/core' {
|
|
308
324
|
interface Commands<ReturnType> {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
cols: number;
|
|
312
|
-
}) => ReturnType;
|
|
313
|
-
addColBefore: () => ReturnType;
|
|
314
|
-
addColAfter: () => ReturnType;
|
|
315
|
-
deleteCol: () => ReturnType;
|
|
325
|
+
painter: {
|
|
326
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
316
327
|
};
|
|
317
328
|
}
|
|
318
329
|
}
|
|
@@ -320,11 +331,14 @@ declare module '@tiptap/core' {
|
|
|
320
331
|
|
|
321
332
|
declare module '@tiptap/core' {
|
|
322
333
|
interface Commands<ReturnType> {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
334
|
+
search: {
|
|
335
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
336
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
337
|
+
replace: () => ReturnType;
|
|
338
|
+
replaceAll: () => ReturnType;
|
|
339
|
+
goToPrevSearchResult: () => void;
|
|
340
|
+
goToNextSearchResult: () => void;
|
|
341
|
+
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
328
342
|
};
|
|
329
343
|
}
|
|
330
344
|
}
|
|
@@ -332,9 +346,11 @@ declare module '@tiptap/core' {
|
|
|
332
346
|
|
|
333
347
|
declare module '@tiptap/core' {
|
|
334
348
|
interface Commands<ReturnType> {
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
349
|
+
emoji: {
|
|
350
|
+
setEmoji: (emoji: {
|
|
351
|
+
name: string;
|
|
352
|
+
emoji: string;
|
|
353
|
+
}) => ReturnType;
|
|
338
354
|
};
|
|
339
355
|
}
|
|
340
356
|
}
|
|
@@ -342,14 +358,13 @@ declare module '@tiptap/core' {
|
|
|
342
358
|
|
|
343
359
|
declare module '@tiptap/core' {
|
|
344
360
|
interface Commands<ReturnType> {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
*/
|
|
349
|
-
setIframe: (options: {
|
|
350
|
-
src: string;
|
|
351
|
-
service: string;
|
|
361
|
+
columns: {
|
|
362
|
+
insertColumns: (attrs?: {
|
|
363
|
+
cols: number;
|
|
352
364
|
}) => ReturnType;
|
|
365
|
+
addColBefore: () => ReturnType;
|
|
366
|
+
addColAfter: () => ReturnType;
|
|
367
|
+
deleteCol: () => ReturnType;
|
|
353
368
|
};
|
|
354
369
|
}
|
|
355
370
|
}
|
|
@@ -357,14 +372,8 @@ declare module '@tiptap/core' {
|
|
|
357
372
|
|
|
358
373
|
declare module '@tiptap/core' {
|
|
359
374
|
interface Commands<ReturnType> {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
363
|
-
replace: () => ReturnType;
|
|
364
|
-
replaceAll: () => ReturnType;
|
|
365
|
-
goToPrevSearchResult: () => void;
|
|
366
|
-
goToNextSearchResult: () => void;
|
|
367
|
-
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
375
|
+
katex: {
|
|
376
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
368
377
|
};
|
|
369
378
|
}
|
|
370
379
|
}
|
|
@@ -372,8 +381,8 @@ declare module '@tiptap/core' {
|
|
|
372
381
|
|
|
373
382
|
declare module '@tiptap/core' {
|
|
374
383
|
interface Commands<ReturnType> {
|
|
375
|
-
|
|
376
|
-
|
|
384
|
+
exportWord: {
|
|
385
|
+
exportToWord: () => ReturnType;
|
|
377
386
|
};
|
|
378
387
|
}
|
|
379
388
|
}
|
|
@@ -381,8 +390,8 @@ declare module '@tiptap/core' {
|
|
|
381
390
|
|
|
382
391
|
declare module '@tiptap/core' {
|
|
383
392
|
interface Commands<ReturnType> {
|
|
384
|
-
|
|
385
|
-
|
|
393
|
+
excalidraw: {
|
|
394
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
386
395
|
};
|
|
387
396
|
}
|
|
388
397
|
}
|
|
@@ -398,15 +407,6 @@ declare module '@tiptap/core' {
|
|
|
398
407
|
}
|
|
399
408
|
|
|
400
409
|
|
|
401
|
-
declare module '@tiptap/core' {
|
|
402
|
-
interface Commands<ReturnType> {
|
|
403
|
-
excalidraw: {
|
|
404
|
-
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
405
|
-
};
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
|
|
410
410
|
declare module '@tiptap/core' {
|
|
411
411
|
interface Commands<ReturnType> {
|
|
412
412
|
attachment: {
|
|
@@ -436,16 +436,6 @@ declare module '@tiptap/core' {
|
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
|
|
439
|
-
declare module '@tiptap/core' {
|
|
440
|
-
interface Commands<ReturnType> {
|
|
441
|
-
drawer: {
|
|
442
|
-
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
443
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
444
|
-
};
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
|
|
449
439
|
declare module '@tiptap/core' {
|
|
450
440
|
interface Commands<ReturnType> {
|
|
451
441
|
twitter: {
|
|
@@ -461,6 +451,16 @@ declare module '@tiptap/core' {
|
|
|
461
451
|
}
|
|
462
452
|
|
|
463
453
|
|
|
454
|
+
declare module '@tiptap/core' {
|
|
455
|
+
interface Commands<ReturnType> {
|
|
456
|
+
drawer: {
|
|
457
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
458
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
|
|
464
464
|
declare module '@tiptap/core' {
|
|
465
465
|
interface Commands<ReturnType> {
|
|
466
466
|
mermaid: {
|
package/lib/index.d.ts
CHANGED
|
@@ -267,9 +267,24 @@ declare module '@tiptap/core' {
|
|
|
267
267
|
|
|
268
268
|
declare module '@tiptap/core' {
|
|
269
269
|
interface Commands<ReturnType> {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
iframe: {
|
|
271
|
+
/**
|
|
272
|
+
* Add an iframe
|
|
273
|
+
*/
|
|
274
|
+
setIframe: (options: {
|
|
275
|
+
src: string;
|
|
276
|
+
service: string;
|
|
277
|
+
}) => ReturnType;
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
declare module '@tiptap/core' {
|
|
284
|
+
interface Commands<ReturnType> {
|
|
285
|
+
lineHeight: {
|
|
286
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
287
|
+
unsetLineHeight: () => ReturnType;
|
|
273
288
|
};
|
|
274
289
|
}
|
|
275
290
|
}
|
|
@@ -297,8 +312,9 @@ declare module '@tiptap/core' {
|
|
|
297
312
|
|
|
298
313
|
declare module '@tiptap/core' {
|
|
299
314
|
interface Commands<ReturnType> {
|
|
300
|
-
|
|
301
|
-
|
|
315
|
+
tableCellBackground: {
|
|
316
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
317
|
+
unsetTableCellBackground: () => ReturnType;
|
|
302
318
|
};
|
|
303
319
|
}
|
|
304
320
|
}
|
|
@@ -306,13 +322,8 @@ declare module '@tiptap/core' {
|
|
|
306
322
|
|
|
307
323
|
declare module '@tiptap/core' {
|
|
308
324
|
interface Commands<ReturnType> {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
cols: number;
|
|
312
|
-
}) => ReturnType;
|
|
313
|
-
addColBefore: () => ReturnType;
|
|
314
|
-
addColAfter: () => ReturnType;
|
|
315
|
-
deleteCol: () => ReturnType;
|
|
325
|
+
painter: {
|
|
326
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
316
327
|
};
|
|
317
328
|
}
|
|
318
329
|
}
|
|
@@ -320,11 +331,14 @@ declare module '@tiptap/core' {
|
|
|
320
331
|
|
|
321
332
|
declare module '@tiptap/core' {
|
|
322
333
|
interface Commands<ReturnType> {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
334
|
+
search: {
|
|
335
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
336
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
337
|
+
replace: () => ReturnType;
|
|
338
|
+
replaceAll: () => ReturnType;
|
|
339
|
+
goToPrevSearchResult: () => void;
|
|
340
|
+
goToNextSearchResult: () => void;
|
|
341
|
+
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
328
342
|
};
|
|
329
343
|
}
|
|
330
344
|
}
|
|
@@ -332,9 +346,11 @@ declare module '@tiptap/core' {
|
|
|
332
346
|
|
|
333
347
|
declare module '@tiptap/core' {
|
|
334
348
|
interface Commands<ReturnType> {
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
349
|
+
emoji: {
|
|
350
|
+
setEmoji: (emoji: {
|
|
351
|
+
name: string;
|
|
352
|
+
emoji: string;
|
|
353
|
+
}) => ReturnType;
|
|
338
354
|
};
|
|
339
355
|
}
|
|
340
356
|
}
|
|
@@ -342,14 +358,13 @@ declare module '@tiptap/core' {
|
|
|
342
358
|
|
|
343
359
|
declare module '@tiptap/core' {
|
|
344
360
|
interface Commands<ReturnType> {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
*/
|
|
349
|
-
setIframe: (options: {
|
|
350
|
-
src: string;
|
|
351
|
-
service: string;
|
|
361
|
+
columns: {
|
|
362
|
+
insertColumns: (attrs?: {
|
|
363
|
+
cols: number;
|
|
352
364
|
}) => ReturnType;
|
|
365
|
+
addColBefore: () => ReturnType;
|
|
366
|
+
addColAfter: () => ReturnType;
|
|
367
|
+
deleteCol: () => ReturnType;
|
|
353
368
|
};
|
|
354
369
|
}
|
|
355
370
|
}
|
|
@@ -357,14 +372,8 @@ declare module '@tiptap/core' {
|
|
|
357
372
|
|
|
358
373
|
declare module '@tiptap/core' {
|
|
359
374
|
interface Commands<ReturnType> {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
363
|
-
replace: () => ReturnType;
|
|
364
|
-
replaceAll: () => ReturnType;
|
|
365
|
-
goToPrevSearchResult: () => void;
|
|
366
|
-
goToNextSearchResult: () => void;
|
|
367
|
-
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
375
|
+
katex: {
|
|
376
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
368
377
|
};
|
|
369
378
|
}
|
|
370
379
|
}
|
|
@@ -372,8 +381,8 @@ declare module '@tiptap/core' {
|
|
|
372
381
|
|
|
373
382
|
declare module '@tiptap/core' {
|
|
374
383
|
interface Commands<ReturnType> {
|
|
375
|
-
|
|
376
|
-
|
|
384
|
+
exportWord: {
|
|
385
|
+
exportToWord: () => ReturnType;
|
|
377
386
|
};
|
|
378
387
|
}
|
|
379
388
|
}
|
|
@@ -381,8 +390,8 @@ declare module '@tiptap/core' {
|
|
|
381
390
|
|
|
382
391
|
declare module '@tiptap/core' {
|
|
383
392
|
interface Commands<ReturnType> {
|
|
384
|
-
|
|
385
|
-
|
|
393
|
+
excalidraw: {
|
|
394
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
386
395
|
};
|
|
387
396
|
}
|
|
388
397
|
}
|
|
@@ -398,15 +407,6 @@ declare module '@tiptap/core' {
|
|
|
398
407
|
}
|
|
399
408
|
|
|
400
409
|
|
|
401
|
-
declare module '@tiptap/core' {
|
|
402
|
-
interface Commands<ReturnType> {
|
|
403
|
-
excalidraw: {
|
|
404
|
-
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
405
|
-
};
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
|
|
410
410
|
declare module '@tiptap/core' {
|
|
411
411
|
interface Commands<ReturnType> {
|
|
412
412
|
attachment: {
|
|
@@ -436,16 +436,6 @@ declare module '@tiptap/core' {
|
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
|
|
439
|
-
declare module '@tiptap/core' {
|
|
440
|
-
interface Commands<ReturnType> {
|
|
441
|
-
drawer: {
|
|
442
|
-
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
443
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
444
|
-
};
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
|
|
449
439
|
declare module '@tiptap/core' {
|
|
450
440
|
interface Commands<ReturnType> {
|
|
451
441
|
twitter: {
|
|
@@ -461,6 +451,16 @@ declare module '@tiptap/core' {
|
|
|
461
451
|
}
|
|
462
452
|
|
|
463
453
|
|
|
454
|
+
declare module '@tiptap/core' {
|
|
455
|
+
interface Commands<ReturnType> {
|
|
456
|
+
drawer: {
|
|
457
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
458
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
|
|
464
464
|
declare module '@tiptap/core' {
|
|
465
465
|
interface Commands<ReturnType> {
|
|
466
466
|
mermaid: {
|
package/lib/locale-bundle.d.cts
CHANGED
|
@@ -936,9 +936,24 @@ declare module '@tiptap/core' {
|
|
|
936
936
|
|
|
937
937
|
declare module '@tiptap/core' {
|
|
938
938
|
interface Commands<ReturnType> {
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
939
|
+
iframe: {
|
|
940
|
+
/**
|
|
941
|
+
* Add an iframe
|
|
942
|
+
*/
|
|
943
|
+
setIframe: (options: {
|
|
944
|
+
src: string;
|
|
945
|
+
service: string;
|
|
946
|
+
}) => ReturnType;
|
|
947
|
+
};
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
declare module '@tiptap/core' {
|
|
953
|
+
interface Commands<ReturnType> {
|
|
954
|
+
lineHeight: {
|
|
955
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
956
|
+
unsetLineHeight: () => ReturnType;
|
|
942
957
|
};
|
|
943
958
|
}
|
|
944
959
|
}
|
|
@@ -966,8 +981,9 @@ declare module '@tiptap/core' {
|
|
|
966
981
|
|
|
967
982
|
declare module '@tiptap/core' {
|
|
968
983
|
interface Commands<ReturnType> {
|
|
969
|
-
|
|
970
|
-
|
|
984
|
+
tableCellBackground: {
|
|
985
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
986
|
+
unsetTableCellBackground: () => ReturnType;
|
|
971
987
|
};
|
|
972
988
|
}
|
|
973
989
|
}
|
|
@@ -975,13 +991,8 @@ declare module '@tiptap/core' {
|
|
|
975
991
|
|
|
976
992
|
declare module '@tiptap/core' {
|
|
977
993
|
interface Commands<ReturnType> {
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
cols: number;
|
|
981
|
-
}) => ReturnType;
|
|
982
|
-
addColBefore: () => ReturnType;
|
|
983
|
-
addColAfter: () => ReturnType;
|
|
984
|
-
deleteCol: () => ReturnType;
|
|
994
|
+
painter: {
|
|
995
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
985
996
|
};
|
|
986
997
|
}
|
|
987
998
|
}
|
|
@@ -989,11 +1000,14 @@ declare module '@tiptap/core' {
|
|
|
989
1000
|
|
|
990
1001
|
declare module '@tiptap/core' {
|
|
991
1002
|
interface Commands<ReturnType> {
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
1003
|
+
search: {
|
|
1004
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
1005
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
1006
|
+
replace: () => ReturnType;
|
|
1007
|
+
replaceAll: () => ReturnType;
|
|
1008
|
+
goToPrevSearchResult: () => void;
|
|
1009
|
+
goToNextSearchResult: () => void;
|
|
1010
|
+
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
997
1011
|
};
|
|
998
1012
|
}
|
|
999
1013
|
}
|
|
@@ -1001,9 +1015,11 @@ declare module '@tiptap/core' {
|
|
|
1001
1015
|
|
|
1002
1016
|
declare module '@tiptap/core' {
|
|
1003
1017
|
interface Commands<ReturnType> {
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1018
|
+
emoji: {
|
|
1019
|
+
setEmoji: (emoji: {
|
|
1020
|
+
name: string;
|
|
1021
|
+
emoji: string;
|
|
1022
|
+
}) => ReturnType;
|
|
1007
1023
|
};
|
|
1008
1024
|
}
|
|
1009
1025
|
}
|
|
@@ -1011,14 +1027,13 @@ declare module '@tiptap/core' {
|
|
|
1011
1027
|
|
|
1012
1028
|
declare module '@tiptap/core' {
|
|
1013
1029
|
interface Commands<ReturnType> {
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
*/
|
|
1018
|
-
setIframe: (options: {
|
|
1019
|
-
src: string;
|
|
1020
|
-
service: string;
|
|
1030
|
+
columns: {
|
|
1031
|
+
insertColumns: (attrs?: {
|
|
1032
|
+
cols: number;
|
|
1021
1033
|
}) => ReturnType;
|
|
1034
|
+
addColBefore: () => ReturnType;
|
|
1035
|
+
addColAfter: () => ReturnType;
|
|
1036
|
+
deleteCol: () => ReturnType;
|
|
1022
1037
|
};
|
|
1023
1038
|
}
|
|
1024
1039
|
}
|
|
@@ -1026,14 +1041,8 @@ declare module '@tiptap/core' {
|
|
|
1026
1041
|
|
|
1027
1042
|
declare module '@tiptap/core' {
|
|
1028
1043
|
interface Commands<ReturnType> {
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
1032
|
-
replace: () => ReturnType;
|
|
1033
|
-
replaceAll: () => ReturnType;
|
|
1034
|
-
goToPrevSearchResult: () => void;
|
|
1035
|
-
goToNextSearchResult: () => void;
|
|
1036
|
-
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
1044
|
+
katex: {
|
|
1045
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1037
1046
|
};
|
|
1038
1047
|
}
|
|
1039
1048
|
}
|
|
@@ -1041,8 +1050,8 @@ declare module '@tiptap/core' {
|
|
|
1041
1050
|
|
|
1042
1051
|
declare module '@tiptap/core' {
|
|
1043
1052
|
interface Commands<ReturnType> {
|
|
1044
|
-
|
|
1045
|
-
|
|
1053
|
+
exportWord: {
|
|
1054
|
+
exportToWord: () => ReturnType;
|
|
1046
1055
|
};
|
|
1047
1056
|
}
|
|
1048
1057
|
}
|
|
@@ -1050,8 +1059,8 @@ declare module '@tiptap/core' {
|
|
|
1050
1059
|
|
|
1051
1060
|
declare module '@tiptap/core' {
|
|
1052
1061
|
interface Commands<ReturnType> {
|
|
1053
|
-
|
|
1054
|
-
|
|
1062
|
+
excalidraw: {
|
|
1063
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
1055
1064
|
};
|
|
1056
1065
|
}
|
|
1057
1066
|
}
|
|
@@ -1067,15 +1076,6 @@ declare module '@tiptap/core' {
|
|
|
1067
1076
|
}
|
|
1068
1077
|
|
|
1069
1078
|
|
|
1070
|
-
declare module '@tiptap/core' {
|
|
1071
|
-
interface Commands<ReturnType> {
|
|
1072
|
-
excalidraw: {
|
|
1073
|
-
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
1074
|
-
};
|
|
1075
|
-
}
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
1079
|
declare module '@tiptap/core' {
|
|
1080
1080
|
interface Commands<ReturnType> {
|
|
1081
1081
|
attachment: {
|
|
@@ -1105,16 +1105,6 @@ declare module '@tiptap/core' {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
|
|
1107
1107
|
|
|
1108
|
-
declare module '@tiptap/core' {
|
|
1109
|
-
interface Commands<ReturnType> {
|
|
1110
|
-
drawer: {
|
|
1111
|
-
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
1112
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1113
|
-
};
|
|
1114
|
-
}
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
1108
|
declare module '@tiptap/core' {
|
|
1119
1109
|
interface Commands<ReturnType> {
|
|
1120
1110
|
twitter: {
|
|
@@ -1130,6 +1120,16 @@ declare module '@tiptap/core' {
|
|
|
1130
1120
|
}
|
|
1131
1121
|
|
|
1132
1122
|
|
|
1123
|
+
declare module '@tiptap/core' {
|
|
1124
|
+
interface Commands<ReturnType> {
|
|
1125
|
+
drawer: {
|
|
1126
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
1127
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1128
|
+
};
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
1133
|
declare module '@tiptap/core' {
|
|
1134
1134
|
interface Commands<ReturnType> {
|
|
1135
1135
|
mermaid: {
|