reactjs-tiptap-editor 0.0.43 → 0.0.45

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/index.d.cts CHANGED
@@ -218,6 +218,13 @@ declare interface BubbleMenuProps {
218
218
  */
219
219
  hidden?: boolean;
220
220
  };
221
+ imageGifConfig?: {
222
+ /**
223
+ * @description Image menu hidden
224
+ * @default false
225
+ */
226
+ hidden?: boolean;
227
+ };
221
228
  videoConfig?: {
222
229
  /**
223
230
  * @description Video menu hidden
@@ -516,6 +523,7 @@ export declare const en: {
516
523
  'editor.attachment.tooltip': string;
517
524
  'editor.attachment.uploading': string;
518
525
  'editor.attachment.please_upload': string;
526
+ 'editor.imageGif.tooltip': string;
519
527
  };
520
528
 
521
529
  export declare const Excalidraw: Node_2<any, any>;
@@ -607,10 +615,20 @@ declare interface IKatexOptions {
607
615
  declare const Image_2: Node_2<ImageOptions, any>;
608
616
  export { Image_2 as Image }
609
617
 
618
+ export declare const ImageGif: Node_2<ImageGifOptions, any>;
619
+
620
+ declare interface ImageGifOptions extends ImageOptions {
621
+ /**
622
+ * The key for the gif https://giphy.com/
623
+ */
624
+ GIPHY_API_KEY: string;
625
+ }
626
+
610
627
  export declare const ImageUpload: Node_3<ImageUploadOptions, any>;
611
628
 
612
629
  export declare interface ImageUploadOptions {
613
630
  upload: (file: File) => Promise<string>;
631
+ postUpload?: (url: string) => Promise<string>;
614
632
  acceptMimes: string[];
615
633
  maxSize: number;
616
634
  }
@@ -869,6 +887,7 @@ export declare const pt_BR: {
869
887
  'editor.attachment.tooltip': string;
870
888
  'editor.attachment.uploading': string;
871
889
  'editor.attachment.please_upload': string;
890
+ 'editor.imageGif.tooltip': string;
872
891
  };
873
892
 
874
893
  declare interface Result {
@@ -1207,6 +1226,7 @@ export declare const vi: {
1207
1226
  'editor.attachment.tooltip': string;
1208
1227
  'editor.attachment.uploading': string;
1209
1228
  'editor.attachment.please_upload': string;
1229
+ 'editor.imageGif.tooltip': string;
1210
1230
  };
1211
1231
 
1212
1232
  export declare const Video: Node_2<VideoOptions, any>;
@@ -1403,6 +1423,7 @@ export declare const zh_CN: {
1403
1423
  'editor.attachment.tooltip': string;
1404
1424
  'editor.attachment.uploading': string;
1405
1425
  'editor.attachment.please_upload': string;
1426
+ 'editor.imageGif.tooltip': string;
1406
1427
  };
1407
1428
 
1408
1429
  export { }
@@ -1444,9 +1465,9 @@ declare module '@tiptap/core' {
1444
1465
 
1445
1466
  declare module '@tiptap/core' {
1446
1467
  interface Commands<ReturnType> {
1447
- tableCellBackground: {
1448
- setTableCellBackground: (color: string) => ReturnType;
1449
- unsetTableCellBackground: () => ReturnType;
1468
+ lineHeight: {
1469
+ setLineHeight: (lineHeight: string) => ReturnType;
1470
+ unsetLineHeight: () => ReturnType;
1450
1471
  };
1451
1472
  }
1452
1473
  }
@@ -1454,13 +1475,15 @@ declare module '@tiptap/core' {
1454
1475
 
1455
1476
  declare module '@tiptap/core' {
1456
1477
  interface Commands<ReturnType> {
1457
- search: {
1458
- setSearchTerm: (searchTerm: string) => ReturnType;
1459
- setReplaceTerm: (replaceTerm: string) => ReturnType;
1460
- replace: () => ReturnType;
1461
- replaceAll: () => ReturnType;
1462
- goToPrevSearchResult: () => void;
1463
- goToNextSearchResult: () => void;
1478
+ indent: {
1479
+ /**
1480
+ * Set the indent attribute
1481
+ */
1482
+ indent: () => ReturnType;
1483
+ /**
1484
+ * Set the outdent attribute
1485
+ */
1486
+ outdent: () => ReturnType;
1464
1487
  };
1465
1488
  }
1466
1489
  }
@@ -1468,8 +1491,19 @@ declare module '@tiptap/core' {
1468
1491
 
1469
1492
  declare module '@tiptap/core' {
1470
1493
  interface Commands<ReturnType> {
1471
- videoUpload: {
1472
- setVideoUpload: () => ReturnType;
1494
+ imageResize: {
1495
+ /**
1496
+ * Add an image
1497
+ */
1498
+ setImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1499
+ /**
1500
+ * Update an image
1501
+ */
1502
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1503
+ /**
1504
+ * Set image alignment
1505
+ */
1506
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
1473
1507
  };
1474
1508
  }
1475
1509
  }
@@ -1477,14 +1511,9 @@ declare module '@tiptap/core' {
1477
1511
 
1478
1512
  declare module '@tiptap/core' {
1479
1513
  interface Commands<ReturnType> {
1480
- iframe: {
1481
- /**
1482
- * Add an iframe
1483
- */
1484
- setIframe: (options: {
1485
- src: string;
1486
- service: string;
1487
- }) => ReturnType;
1514
+ tableCellBackground: {
1515
+ setTableCellBackground: (color: string) => ReturnType;
1516
+ unsetTableCellBackground: () => ReturnType;
1488
1517
  };
1489
1518
  }
1490
1519
  }
@@ -1492,9 +1521,8 @@ declare module '@tiptap/core' {
1492
1521
 
1493
1522
  declare module '@tiptap/core' {
1494
1523
  interface Commands<ReturnType> {
1495
- lineHeight: {
1496
- setLineHeight: (lineHeight: string) => ReturnType;
1497
- unsetLineHeight: () => ReturnType;
1524
+ imageUpload: {
1525
+ setImageUpload: () => ReturnType;
1498
1526
  };
1499
1527
  }
1500
1528
  }
@@ -1502,8 +1530,8 @@ declare module '@tiptap/core' {
1502
1530
 
1503
1531
  declare module '@tiptap/core' {
1504
1532
  interface Commands<ReturnType> {
1505
- imageUpload: {
1506
- setImageUpload: () => ReturnType;
1533
+ videoUpload: {
1534
+ setVideoUpload: () => ReturnType;
1507
1535
  };
1508
1536
  }
1509
1537
  }
@@ -1511,15 +1539,8 @@ declare module '@tiptap/core' {
1511
1539
 
1512
1540
  declare module '@tiptap/core' {
1513
1541
  interface Commands<ReturnType> {
1514
- indent: {
1515
- /**
1516
- * Set the indent attribute
1517
- */
1518
- indent: () => ReturnType;
1519
- /**
1520
- * Set the outdent attribute
1521
- */
1522
- outdent: () => ReturnType;
1542
+ painter: {
1543
+ setPainter: (marks: Mark[]) => ReturnType;
1523
1544
  };
1524
1545
  }
1525
1546
  }
@@ -1527,8 +1548,13 @@ declare module '@tiptap/core' {
1527
1548
 
1528
1549
  declare module '@tiptap/core' {
1529
1550
  interface Commands<ReturnType> {
1530
- katex: {
1531
- setKatex: (arg?: IKatexAttrs) => ReturnType;
1551
+ columns: {
1552
+ insertColumns: (attrs?: {
1553
+ cols: number;
1554
+ }) => ReturnType;
1555
+ addColBefore: () => ReturnType;
1556
+ addColAfter: () => ReturnType;
1557
+ deleteCol: () => ReturnType;
1532
1558
  };
1533
1559
  }
1534
1560
  }
@@ -1536,8 +1562,14 @@ declare module '@tiptap/core' {
1536
1562
 
1537
1563
  declare module '@tiptap/core' {
1538
1564
  interface Commands<ReturnType> {
1539
- painter: {
1540
- setPainter: (marks: Mark[]) => ReturnType;
1565
+ iframe: {
1566
+ /**
1567
+ * Add an iframe
1568
+ */
1569
+ setIframe: (options: {
1570
+ src: string;
1571
+ service: string;
1572
+ }) => ReturnType;
1541
1573
  };
1542
1574
  }
1543
1575
  }
@@ -1545,13 +1577,13 @@ declare module '@tiptap/core' {
1545
1577
 
1546
1578
  declare module '@tiptap/core' {
1547
1579
  interface Commands<ReturnType> {
1548
- columns: {
1549
- insertColumns: (attrs?: {
1550
- cols: number;
1551
- }) => ReturnType;
1552
- addColBefore: () => ReturnType;
1553
- addColAfter: () => ReturnType;
1554
- deleteCol: () => ReturnType;
1580
+ search: {
1581
+ setSearchTerm: (searchTerm: string) => ReturnType;
1582
+ setReplaceTerm: (replaceTerm: string) => ReturnType;
1583
+ replace: () => ReturnType;
1584
+ replaceAll: () => ReturnType;
1585
+ goToPrevSearchResult: () => void;
1586
+ goToNextSearchResult: () => void;
1555
1587
  };
1556
1588
  }
1557
1589
  }
@@ -1569,6 +1601,15 @@ declare module '@tiptap/core' {
1569
1601
  }
1570
1602
 
1571
1603
 
1604
+ declare module '@tiptap/core' {
1605
+ interface Commands<ReturnType> {
1606
+ katex: {
1607
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
1608
+ };
1609
+ }
1610
+ }
1611
+
1612
+
1572
1613
  declare module '@tiptap/core' {
1573
1614
  interface Commands<ReturnType> {
1574
1615
  exportWord: {
@@ -1580,19 +1621,8 @@ declare module '@tiptap/core' {
1580
1621
 
1581
1622
  declare module '@tiptap/core' {
1582
1623
  interface Commands<ReturnType> {
1583
- imageResize: {
1584
- /**
1585
- * Add an image
1586
- */
1587
- setImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1588
- /**
1589
- * Update an image
1590
- */
1591
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1592
- /**
1593
- * Set image alignment
1594
- */
1595
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
1624
+ excalidraw: {
1625
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1596
1626
  };
1597
1627
  }
1598
1628
  }
@@ -1600,9 +1630,8 @@ declare module '@tiptap/core' {
1600
1630
 
1601
1631
  declare module '@tiptap/core' {
1602
1632
  interface Commands<ReturnType> {
1603
- tableOfContents: {
1604
- setTableOfContents: () => ReturnType;
1605
- removeTableOfContents: () => ReturnType;
1633
+ attachment: {
1634
+ setAttachment: (attrs?: unknown) => ReturnType;
1606
1635
  };
1607
1636
  }
1608
1637
  }
@@ -1610,8 +1639,9 @@ declare module '@tiptap/core' {
1610
1639
 
1611
1640
  declare module '@tiptap/core' {
1612
1641
  interface Commands<ReturnType> {
1613
- excalidraw: {
1614
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1642
+ tableOfContents: {
1643
+ setTableOfContents: () => ReturnType;
1644
+ removeTableOfContents: () => ReturnType;
1615
1645
  };
1616
1646
  }
1617
1647
  }
@@ -1619,8 +1649,19 @@ declare module '@tiptap/core' {
1619
1649
 
1620
1650
  declare module '@tiptap/core' {
1621
1651
  interface Commands<ReturnType> {
1622
- attachment: {
1623
- setAttachment: (attrs?: unknown) => ReturnType;
1652
+ imageResize: {
1653
+ /**
1654
+ * Add an image gif
1655
+ */
1656
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1657
+ /**
1658
+ * Update an image gif
1659
+ */
1660
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1661
+ /**
1662
+ * Set image alignment
1663
+ */
1664
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
1624
1665
  };
1625
1666
  }
1626
1667
  }
package/lib/index.d.ts CHANGED
@@ -218,6 +218,13 @@ declare interface BubbleMenuProps {
218
218
  */
219
219
  hidden?: boolean;
220
220
  };
221
+ imageGifConfig?: {
222
+ /**
223
+ * @description Image menu hidden
224
+ * @default false
225
+ */
226
+ hidden?: boolean;
227
+ };
221
228
  videoConfig?: {
222
229
  /**
223
230
  * @description Video menu hidden
@@ -516,6 +523,7 @@ export declare const en: {
516
523
  'editor.attachment.tooltip': string;
517
524
  'editor.attachment.uploading': string;
518
525
  'editor.attachment.please_upload': string;
526
+ 'editor.imageGif.tooltip': string;
519
527
  };
520
528
 
521
529
  export declare const Excalidraw: Node_2<any, any>;
@@ -607,10 +615,20 @@ declare interface IKatexOptions {
607
615
  declare const Image_2: Node_2<ImageOptions, any>;
608
616
  export { Image_2 as Image }
609
617
 
618
+ export declare const ImageGif: Node_2<ImageGifOptions, any>;
619
+
620
+ declare interface ImageGifOptions extends ImageOptions {
621
+ /**
622
+ * The key for the gif https://giphy.com/
623
+ */
624
+ GIPHY_API_KEY: string;
625
+ }
626
+
610
627
  export declare const ImageUpload: Node_3<ImageUploadOptions, any>;
611
628
 
612
629
  export declare interface ImageUploadOptions {
613
630
  upload: (file: File) => Promise<string>;
631
+ postUpload?: (url: string) => Promise<string>;
614
632
  acceptMimes: string[];
615
633
  maxSize: number;
616
634
  }
@@ -869,6 +887,7 @@ export declare const pt_BR: {
869
887
  'editor.attachment.tooltip': string;
870
888
  'editor.attachment.uploading': string;
871
889
  'editor.attachment.please_upload': string;
890
+ 'editor.imageGif.tooltip': string;
872
891
  };
873
892
 
874
893
  declare interface Result {
@@ -1207,6 +1226,7 @@ export declare const vi: {
1207
1226
  'editor.attachment.tooltip': string;
1208
1227
  'editor.attachment.uploading': string;
1209
1228
  'editor.attachment.please_upload': string;
1229
+ 'editor.imageGif.tooltip': string;
1210
1230
  };
1211
1231
 
1212
1232
  export declare const Video: Node_2<VideoOptions, any>;
@@ -1403,6 +1423,7 @@ export declare const zh_CN: {
1403
1423
  'editor.attachment.tooltip': string;
1404
1424
  'editor.attachment.uploading': string;
1405
1425
  'editor.attachment.please_upload': string;
1426
+ 'editor.imageGif.tooltip': string;
1406
1427
  };
1407
1428
 
1408
1429
  export { }
@@ -1444,9 +1465,9 @@ declare module '@tiptap/core' {
1444
1465
 
1445
1466
  declare module '@tiptap/core' {
1446
1467
  interface Commands<ReturnType> {
1447
- tableCellBackground: {
1448
- setTableCellBackground: (color: string) => ReturnType;
1449
- unsetTableCellBackground: () => ReturnType;
1468
+ lineHeight: {
1469
+ setLineHeight: (lineHeight: string) => ReturnType;
1470
+ unsetLineHeight: () => ReturnType;
1450
1471
  };
1451
1472
  }
1452
1473
  }
@@ -1454,13 +1475,15 @@ declare module '@tiptap/core' {
1454
1475
 
1455
1476
  declare module '@tiptap/core' {
1456
1477
  interface Commands<ReturnType> {
1457
- search: {
1458
- setSearchTerm: (searchTerm: string) => ReturnType;
1459
- setReplaceTerm: (replaceTerm: string) => ReturnType;
1460
- replace: () => ReturnType;
1461
- replaceAll: () => ReturnType;
1462
- goToPrevSearchResult: () => void;
1463
- goToNextSearchResult: () => void;
1478
+ indent: {
1479
+ /**
1480
+ * Set the indent attribute
1481
+ */
1482
+ indent: () => ReturnType;
1483
+ /**
1484
+ * Set the outdent attribute
1485
+ */
1486
+ outdent: () => ReturnType;
1464
1487
  };
1465
1488
  }
1466
1489
  }
@@ -1468,8 +1491,19 @@ declare module '@tiptap/core' {
1468
1491
 
1469
1492
  declare module '@tiptap/core' {
1470
1493
  interface Commands<ReturnType> {
1471
- videoUpload: {
1472
- setVideoUpload: () => ReturnType;
1494
+ imageResize: {
1495
+ /**
1496
+ * Add an image
1497
+ */
1498
+ setImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1499
+ /**
1500
+ * Update an image
1501
+ */
1502
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1503
+ /**
1504
+ * Set image alignment
1505
+ */
1506
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
1473
1507
  };
1474
1508
  }
1475
1509
  }
@@ -1477,14 +1511,9 @@ declare module '@tiptap/core' {
1477
1511
 
1478
1512
  declare module '@tiptap/core' {
1479
1513
  interface Commands<ReturnType> {
1480
- iframe: {
1481
- /**
1482
- * Add an iframe
1483
- */
1484
- setIframe: (options: {
1485
- src: string;
1486
- service: string;
1487
- }) => ReturnType;
1514
+ tableCellBackground: {
1515
+ setTableCellBackground: (color: string) => ReturnType;
1516
+ unsetTableCellBackground: () => ReturnType;
1488
1517
  };
1489
1518
  }
1490
1519
  }
@@ -1492,9 +1521,8 @@ declare module '@tiptap/core' {
1492
1521
 
1493
1522
  declare module '@tiptap/core' {
1494
1523
  interface Commands<ReturnType> {
1495
- lineHeight: {
1496
- setLineHeight: (lineHeight: string) => ReturnType;
1497
- unsetLineHeight: () => ReturnType;
1524
+ imageUpload: {
1525
+ setImageUpload: () => ReturnType;
1498
1526
  };
1499
1527
  }
1500
1528
  }
@@ -1502,8 +1530,8 @@ declare module '@tiptap/core' {
1502
1530
 
1503
1531
  declare module '@tiptap/core' {
1504
1532
  interface Commands<ReturnType> {
1505
- imageUpload: {
1506
- setImageUpload: () => ReturnType;
1533
+ videoUpload: {
1534
+ setVideoUpload: () => ReturnType;
1507
1535
  };
1508
1536
  }
1509
1537
  }
@@ -1511,15 +1539,8 @@ declare module '@tiptap/core' {
1511
1539
 
1512
1540
  declare module '@tiptap/core' {
1513
1541
  interface Commands<ReturnType> {
1514
- indent: {
1515
- /**
1516
- * Set the indent attribute
1517
- */
1518
- indent: () => ReturnType;
1519
- /**
1520
- * Set the outdent attribute
1521
- */
1522
- outdent: () => ReturnType;
1542
+ painter: {
1543
+ setPainter: (marks: Mark[]) => ReturnType;
1523
1544
  };
1524
1545
  }
1525
1546
  }
@@ -1527,8 +1548,13 @@ declare module '@tiptap/core' {
1527
1548
 
1528
1549
  declare module '@tiptap/core' {
1529
1550
  interface Commands<ReturnType> {
1530
- katex: {
1531
- setKatex: (arg?: IKatexAttrs) => ReturnType;
1551
+ columns: {
1552
+ insertColumns: (attrs?: {
1553
+ cols: number;
1554
+ }) => ReturnType;
1555
+ addColBefore: () => ReturnType;
1556
+ addColAfter: () => ReturnType;
1557
+ deleteCol: () => ReturnType;
1532
1558
  };
1533
1559
  }
1534
1560
  }
@@ -1536,8 +1562,14 @@ declare module '@tiptap/core' {
1536
1562
 
1537
1563
  declare module '@tiptap/core' {
1538
1564
  interface Commands<ReturnType> {
1539
- painter: {
1540
- setPainter: (marks: Mark[]) => ReturnType;
1565
+ iframe: {
1566
+ /**
1567
+ * Add an iframe
1568
+ */
1569
+ setIframe: (options: {
1570
+ src: string;
1571
+ service: string;
1572
+ }) => ReturnType;
1541
1573
  };
1542
1574
  }
1543
1575
  }
@@ -1545,13 +1577,13 @@ declare module '@tiptap/core' {
1545
1577
 
1546
1578
  declare module '@tiptap/core' {
1547
1579
  interface Commands<ReturnType> {
1548
- columns: {
1549
- insertColumns: (attrs?: {
1550
- cols: number;
1551
- }) => ReturnType;
1552
- addColBefore: () => ReturnType;
1553
- addColAfter: () => ReturnType;
1554
- deleteCol: () => ReturnType;
1580
+ search: {
1581
+ setSearchTerm: (searchTerm: string) => ReturnType;
1582
+ setReplaceTerm: (replaceTerm: string) => ReturnType;
1583
+ replace: () => ReturnType;
1584
+ replaceAll: () => ReturnType;
1585
+ goToPrevSearchResult: () => void;
1586
+ goToNextSearchResult: () => void;
1555
1587
  };
1556
1588
  }
1557
1589
  }
@@ -1569,6 +1601,15 @@ declare module '@tiptap/core' {
1569
1601
  }
1570
1602
 
1571
1603
 
1604
+ declare module '@tiptap/core' {
1605
+ interface Commands<ReturnType> {
1606
+ katex: {
1607
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
1608
+ };
1609
+ }
1610
+ }
1611
+
1612
+
1572
1613
  declare module '@tiptap/core' {
1573
1614
  interface Commands<ReturnType> {
1574
1615
  exportWord: {
@@ -1580,19 +1621,8 @@ declare module '@tiptap/core' {
1580
1621
 
1581
1622
  declare module '@tiptap/core' {
1582
1623
  interface Commands<ReturnType> {
1583
- imageResize: {
1584
- /**
1585
- * Add an image
1586
- */
1587
- setImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1588
- /**
1589
- * Update an image
1590
- */
1591
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1592
- /**
1593
- * Set image alignment
1594
- */
1595
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
1624
+ excalidraw: {
1625
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1596
1626
  };
1597
1627
  }
1598
1628
  }
@@ -1600,9 +1630,8 @@ declare module '@tiptap/core' {
1600
1630
 
1601
1631
  declare module '@tiptap/core' {
1602
1632
  interface Commands<ReturnType> {
1603
- tableOfContents: {
1604
- setTableOfContents: () => ReturnType;
1605
- removeTableOfContents: () => ReturnType;
1633
+ attachment: {
1634
+ setAttachment: (attrs?: unknown) => ReturnType;
1606
1635
  };
1607
1636
  }
1608
1637
  }
@@ -1610,8 +1639,9 @@ declare module '@tiptap/core' {
1610
1639
 
1611
1640
  declare module '@tiptap/core' {
1612
1641
  interface Commands<ReturnType> {
1613
- excalidraw: {
1614
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1642
+ tableOfContents: {
1643
+ setTableOfContents: () => ReturnType;
1644
+ removeTableOfContents: () => ReturnType;
1615
1645
  };
1616
1646
  }
1617
1647
  }
@@ -1619,8 +1649,19 @@ declare module '@tiptap/core' {
1619
1649
 
1620
1650
  declare module '@tiptap/core' {
1621
1651
  interface Commands<ReturnType> {
1622
- attachment: {
1623
- setAttachment: (attrs?: unknown) => ReturnType;
1652
+ imageResize: {
1653
+ /**
1654
+ * Add an image gif
1655
+ */
1656
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1657
+ /**
1658
+ * Update an image gif
1659
+ */
1660
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1661
+ /**
1662
+ * Set image alignment
1663
+ */
1664
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
1624
1665
  };
1625
1666
  }
1626
1667
  }