reactjs-tiptap-editor-pro 0.2.32 → 0.2.33
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/ColorPicker-MEAh4MhG.js +28181 -0
- package/lib/ColorPicker-ZncOwjAP.cjs +142 -0
- package/lib/extension-bundle.cjs +103 -3
- package/lib/extension-bundle.d.cts +56 -56
- package/lib/extension-bundle.d.ts +56 -56
- package/lib/extension-bundle.js +20643 -2477
- package/lib/index.cjs +140 -1
- package/lib/index.d.cts +56 -56
- package/lib/index.d.ts +56 -56
- package/lib/index.js +3697 -13
- package/lib/locale-bundle-DiqW5jwb.cjs +1 -0
- package/lib/{index-M6H3FoBi.js → locale-bundle-DxCAtRDI.js} +445 -105
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.d.cts +56 -56
- package/lib/locale-bundle.d.ts +56 -56
- package/lib/locale-bundle.js +6 -6
- package/lib/lucide-react-BFZtMawV.js +30462 -0
- package/lib/lucide-react-CMPhLW1m.cjs +7851 -0
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/lib/RichTextEditor-BwbqJLnA.cjs +0 -141
- package/lib/RichTextEditor-iGJ6-rbq.js +0 -8833
- package/lib/index-DV-nXpU1.cjs +0 -1
- package/lib/tiptap-DkWHMWDt.js +0 -6061
- package/lib/tiptap-gBG-1T-V.cjs +0 -116
- package/lib/vendor-BJ0Yf78E.cjs +0 -8114
- package/lib/vendor-Cpa6z-M0.js +0 -67575
package/lib/index.d.ts
CHANGED
|
@@ -309,30 +309,9 @@ declare module '@tiptap/core' {
|
|
|
309
309
|
|
|
310
310
|
declare module '@tiptap/core' {
|
|
311
311
|
interface Commands<ReturnType> {
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
};
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
declare module '@tiptap/core' {
|
|
321
|
-
interface Commands<ReturnType> {
|
|
322
|
-
emoji: {
|
|
323
|
-
setEmoji: (emoji: {
|
|
324
|
-
name: string;
|
|
325
|
-
emoji: string;
|
|
326
|
-
}) => ReturnType;
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
declare module '@tiptap/core' {
|
|
333
|
-
interface Commands<ReturnType> {
|
|
334
|
-
painter: {
|
|
335
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
312
|
+
lineHeight: {
|
|
313
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
314
|
+
unsetLineHeight: () => ReturnType;
|
|
336
315
|
};
|
|
337
316
|
}
|
|
338
317
|
}
|
|
@@ -360,8 +339,8 @@ declare module '@tiptap/core' {
|
|
|
360
339
|
|
|
361
340
|
declare module '@tiptap/core' {
|
|
362
341
|
interface Commands<ReturnType> {
|
|
363
|
-
|
|
364
|
-
|
|
342
|
+
painter: {
|
|
343
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
365
344
|
};
|
|
366
345
|
}
|
|
367
346
|
}
|
|
@@ -369,14 +348,23 @@ declare module '@tiptap/core' {
|
|
|
369
348
|
|
|
370
349
|
declare module '@tiptap/core' {
|
|
371
350
|
interface Commands<ReturnType> {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
351
|
+
columns: {
|
|
352
|
+
insertColumns: (attrs?: {
|
|
353
|
+
cols: number;
|
|
354
|
+
}) => ReturnType;
|
|
355
|
+
addColBefore: () => ReturnType;
|
|
356
|
+
addColAfter: () => ReturnType;
|
|
357
|
+
deleteCol: () => ReturnType;
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
declare module '@tiptap/core' {
|
|
364
|
+
interface Commands<ReturnType> {
|
|
365
|
+
tableCellBackground: {
|
|
366
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
367
|
+
unsetTableCellBackground: () => ReturnType;
|
|
380
368
|
};
|
|
381
369
|
}
|
|
382
370
|
}
|
|
@@ -399,13 +387,14 @@ declare module '@tiptap/core' {
|
|
|
399
387
|
|
|
400
388
|
declare module '@tiptap/core' {
|
|
401
389
|
interface Commands<ReturnType> {
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
390
|
+
search: {
|
|
391
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
392
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
393
|
+
replace: () => ReturnType;
|
|
394
|
+
replaceAll: () => ReturnType;
|
|
395
|
+
goToPrevSearchResult: () => void;
|
|
396
|
+
goToNextSearchResult: () => void;
|
|
397
|
+
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
409
398
|
};
|
|
410
399
|
}
|
|
411
400
|
}
|
|
@@ -413,9 +402,11 @@ declare module '@tiptap/core' {
|
|
|
413
402
|
|
|
414
403
|
declare module '@tiptap/core' {
|
|
415
404
|
interface Commands<ReturnType> {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
405
|
+
emoji: {
|
|
406
|
+
setEmoji: (emoji: {
|
|
407
|
+
name: string;
|
|
408
|
+
emoji: string;
|
|
409
|
+
}) => ReturnType;
|
|
419
410
|
};
|
|
420
411
|
}
|
|
421
412
|
}
|
|
@@ -423,8 +414,8 @@ declare module '@tiptap/core' {
|
|
|
423
414
|
|
|
424
415
|
declare module '@tiptap/core' {
|
|
425
416
|
interface Commands<ReturnType> {
|
|
426
|
-
|
|
427
|
-
|
|
417
|
+
katex: {
|
|
418
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
428
419
|
};
|
|
429
420
|
}
|
|
430
421
|
}
|
|
@@ -449,6 +440,15 @@ declare module '@tiptap/core' {
|
|
|
449
440
|
}
|
|
450
441
|
|
|
451
442
|
|
|
443
|
+
declare module '@tiptap/core' {
|
|
444
|
+
interface Commands<ReturnType> {
|
|
445
|
+
exportWord: {
|
|
446
|
+
exportToWord: () => ReturnType;
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
|
|
452
452
|
declare module '@tiptap/core' {
|
|
453
453
|
interface Commands<ReturnType> {
|
|
454
454
|
imageGifUpload: {
|
|
@@ -488,16 +488,6 @@ declare module '@tiptap/core' {
|
|
|
488
488
|
}
|
|
489
489
|
|
|
490
490
|
|
|
491
|
-
declare module '@tiptap/core' {
|
|
492
|
-
interface Commands<ReturnType> {
|
|
493
|
-
drawer: {
|
|
494
|
-
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
495
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
496
|
-
};
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
|
|
501
491
|
declare module '@tiptap/core' {
|
|
502
492
|
interface Commands<ReturnType> {
|
|
503
493
|
twitter: {
|
|
@@ -511,3 +501,13 @@ declare module '@tiptap/core' {
|
|
|
511
501
|
};
|
|
512
502
|
}
|
|
513
503
|
}
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
declare module '@tiptap/core' {
|
|
507
|
+
interface Commands<ReturnType> {
|
|
508
|
+
drawer: {
|
|
509
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
510
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
511
|
+
};
|
|
512
|
+
}
|
|
513
|
+
}
|