reactjs-tiptap-editor 0.0.49 → 0.0.51

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
@@ -253,6 +253,13 @@ declare interface BubbleMenuProps {
253
253
  */
254
254
  hidden?: boolean;
255
255
  };
256
+ mermaidConfig?: {
257
+ /**
258
+ * @description mermaid menu hidden
259
+ * @default false
260
+ */
261
+ hidden?: boolean;
262
+ };
256
263
  render?: (props: BubbleMenuRenderProps, dom: React.ReactNode) => React.ReactNode;
257
264
  }
258
265
 
@@ -528,6 +535,7 @@ export declare const en: {
528
535
  'editor.attachment.please_upload': string;
529
536
  'editor.imageGif.tooltip': string;
530
537
  'editor.replace.caseSensitive': string;
538
+ 'editor.mermaid.tooltip': string;
531
539
  };
532
540
 
533
541
  export declare const Excalidraw: Node_2<any, any>;
@@ -699,6 +707,13 @@ export declare const locale: Locale;
699
707
 
700
708
  export declare const Mention: Node_2<MentionOptions<any, MentionNodeAttrs>, any>;
701
709
 
710
+ export declare const Mermaid: Node_2<MermaidOptions, any>;
711
+
712
+ declare interface MermaidOptions extends GeneralOptions<MermaidOptions> {
713
+ /** Function for uploading files */
714
+ upload?: (file: File) => Promise<string>;
715
+ }
716
+
702
717
  declare type MessageKeysType = keyof typeof en;
703
718
 
704
719
  export declare const MoreMark: Extension<MoreMarkOptions, any>;
@@ -896,6 +911,7 @@ export declare const pt_BR: {
896
911
  'editor.attachment.please_upload': string;
897
912
  'editor.imageGif.tooltip': string;
898
913
  'editor.replace.caseSensitive': string;
914
+ 'editor.mermaid.tooltip': string;
899
915
  };
900
916
 
901
917
  declare interface Result {
@@ -1159,6 +1175,7 @@ export declare const vi: {
1159
1175
  'editor.image.dialog.tab.url': string;
1160
1176
  'editor.image.dialog.tab.upload': string;
1161
1177
  'editor.image.dialog.tab.uploadCrop': string;
1178
+ 'editor.image.dialog.uploading': string;
1162
1179
  'editor.image.dialog.form.link': string;
1163
1180
  'editor.image.dialog.placeholder': string;
1164
1181
  'editor.image.dialog.form.alt': string;
@@ -1238,6 +1255,7 @@ export declare const vi: {
1238
1255
  'editor.attachment.please_upload': string;
1239
1256
  'editor.imageGif.tooltip': string;
1240
1257
  'editor.replace.caseSensitive': string;
1258
+ 'editor.mermaid.tooltip': string;
1241
1259
  };
1242
1260
 
1243
1261
  export declare const Video: Node_2<VideoOptions, any>;
@@ -1439,6 +1457,7 @@ export declare const zh_CN: {
1439
1457
  'editor.attachment.please_upload': string;
1440
1458
  'editor.imageGif.tooltip': string;
1441
1459
  'editor.replace.caseSensitive': string;
1460
+ 'editor.mermaid.tooltip': string;
1442
1461
  };
1443
1462
 
1444
1463
  export { }
@@ -1478,15 +1497,6 @@ declare module '@tiptap/core' {
1478
1497
  }
1479
1498
 
1480
1499
 
1481
- declare module '@tiptap/core' {
1482
- interface Commands<ReturnType> {
1483
- imageUpload: {
1484
- setImageUpload: () => ReturnType;
1485
- };
1486
- }
1487
- }
1488
-
1489
-
1490
1500
  declare module '@tiptap/core' {
1491
1501
  interface Commands<ReturnType> {
1492
1502
  lineHeight: {
@@ -1513,16 +1523,6 @@ declare module '@tiptap/core' {
1513
1523
  }
1514
1524
 
1515
1525
 
1516
- declare module '@tiptap/core' {
1517
- interface Commands<ReturnType> {
1518
- tableCellBackground: {
1519
- setTableCellBackground: (color: string) => ReturnType;
1520
- unsetTableCellBackground: () => ReturnType;
1521
- };
1522
- }
1523
- }
1524
-
1525
-
1526
1526
  declare module '@tiptap/core' {
1527
1527
  interface Commands<ReturnType> {
1528
1528
  imageResize: {
@@ -1545,8 +1545,22 @@ declare module '@tiptap/core' {
1545
1545
 
1546
1546
  declare module '@tiptap/core' {
1547
1547
  interface Commands<ReturnType> {
1548
- videoUpload: {
1549
- setVideoUpload: () => ReturnType;
1548
+ imageUpload: {
1549
+ setImageUpload: () => ReturnType;
1550
+ };
1551
+ }
1552
+ }
1553
+
1554
+
1555
+ declare module '@tiptap/core' {
1556
+ interface Commands<ReturnType> {
1557
+ columns: {
1558
+ insertColumns: (attrs?: {
1559
+ cols: number;
1560
+ }) => ReturnType;
1561
+ addColBefore: () => ReturnType;
1562
+ addColAfter: () => ReturnType;
1563
+ deleteCol: () => ReturnType;
1550
1564
  };
1551
1565
  }
1552
1566
  }
@@ -1563,13 +1577,14 @@ declare module '@tiptap/core' {
1563
1577
 
1564
1578
  declare module '@tiptap/core' {
1565
1579
  interface Commands<ReturnType> {
1566
- columns: {
1567
- insertColumns: (attrs?: {
1568
- cols: number;
1580
+ iframe: {
1581
+ /**
1582
+ * Add an iframe
1583
+ */
1584
+ setIframe: (options: {
1585
+ src: string;
1586
+ service: string;
1569
1587
  }) => ReturnType;
1570
- addColBefore: () => ReturnType;
1571
- addColAfter: () => ReturnType;
1572
- deleteCol: () => ReturnType;
1573
1588
  };
1574
1589
  }
1575
1590
  }
@@ -1577,8 +1592,14 @@ declare module '@tiptap/core' {
1577
1592
 
1578
1593
  declare module '@tiptap/core' {
1579
1594
  interface Commands<ReturnType> {
1580
- excalidraw: {
1581
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1595
+ search: {
1596
+ setSearchTerm: (searchTerm: string) => ReturnType;
1597
+ setReplaceTerm: (replaceTerm: string) => ReturnType;
1598
+ replace: () => ReturnType;
1599
+ replaceAll: () => ReturnType;
1600
+ goToPrevSearchResult: () => void;
1601
+ goToNextSearchResult: () => void;
1602
+ setCaseSensitive: (caseSensitive: boolean) => ReturnType;
1582
1603
  };
1583
1604
  }
1584
1605
  }
@@ -1586,8 +1607,18 @@ declare module '@tiptap/core' {
1586
1607
 
1587
1608
  declare module '@tiptap/core' {
1588
1609
  interface Commands<ReturnType> {
1589
- katex: {
1590
- setKatex: (arg?: IKatexAttrs) => ReturnType;
1610
+ tableCellBackground: {
1611
+ setTableCellBackground: (color: string) => ReturnType;
1612
+ unsetTableCellBackground: () => ReturnType;
1613
+ };
1614
+ }
1615
+ }
1616
+
1617
+
1618
+ declare module '@tiptap/core' {
1619
+ interface Commands<ReturnType> {
1620
+ videoUpload: {
1621
+ setVideoUpload: () => ReturnType;
1591
1622
  };
1592
1623
  }
1593
1624
  }
@@ -1607,14 +1638,8 @@ declare module '@tiptap/core' {
1607
1638
 
1608
1639
  declare module '@tiptap/core' {
1609
1640
  interface Commands<ReturnType> {
1610
- search: {
1611
- setSearchTerm: (searchTerm: string) => ReturnType;
1612
- setReplaceTerm: (replaceTerm: string) => ReturnType;
1613
- replace: () => ReturnType;
1614
- replaceAll: () => ReturnType;
1615
- goToPrevSearchResult: () => void;
1616
- goToNextSearchResult: () => void;
1617
- setCaseSensitive: (caseSensitive: boolean) => ReturnType;
1641
+ katex: {
1642
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
1618
1643
  };
1619
1644
  }
1620
1645
  }
@@ -1631,14 +1656,8 @@ declare module '@tiptap/core' {
1631
1656
 
1632
1657
  declare module '@tiptap/core' {
1633
1658
  interface Commands<ReturnType> {
1634
- iframe: {
1635
- /**
1636
- * Add an iframe
1637
- */
1638
- setIframe: (options: {
1639
- src: string;
1640
- service: string;
1641
- }) => ReturnType;
1659
+ excalidraw: {
1660
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1642
1661
  };
1643
1662
  }
1644
1663
  }
@@ -1646,19 +1665,9 @@ declare module '@tiptap/core' {
1646
1665
 
1647
1666
  declare module '@tiptap/core' {
1648
1667
  interface Commands<ReturnType> {
1649
- imageResize: {
1650
- /**
1651
- * Add an image gif
1652
- */
1653
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1654
- /**
1655
- * Update an image gif
1656
- */
1657
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1658
- /**
1659
- * Set image alignment
1660
- */
1661
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
1668
+ tableOfContents: {
1669
+ setTableOfContents: () => ReturnType;
1670
+ removeTableOfContents: () => ReturnType;
1662
1671
  };
1663
1672
  }
1664
1673
  }
@@ -1675,9 +1684,29 @@ declare module '@tiptap/core' {
1675
1684
 
1676
1685
  declare module '@tiptap/core' {
1677
1686
  interface Commands<ReturnType> {
1678
- tableOfContents: {
1679
- setTableOfContents: () => ReturnType;
1680
- removeTableOfContents: () => ReturnType;
1687
+ mermaid: {
1688
+ setMermaid: (options: any, replace?: any) => ReturnType;
1689
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
1690
+ };
1691
+ }
1692
+ }
1693
+
1694
+
1695
+ declare module '@tiptap/core' {
1696
+ interface Commands<ReturnType> {
1697
+ imageResize: {
1698
+ /**
1699
+ * Add an image gif
1700
+ */
1701
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1702
+ /**
1703
+ * Update an image gif
1704
+ */
1705
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1706
+ /**
1707
+ * Set image alignment
1708
+ */
1709
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
1681
1710
  };
1682
1711
  }
1683
1712
  }
package/lib/index.d.ts CHANGED
@@ -253,6 +253,13 @@ declare interface BubbleMenuProps {
253
253
  */
254
254
  hidden?: boolean;
255
255
  };
256
+ mermaidConfig?: {
257
+ /**
258
+ * @description mermaid menu hidden
259
+ * @default false
260
+ */
261
+ hidden?: boolean;
262
+ };
256
263
  render?: (props: BubbleMenuRenderProps, dom: React.ReactNode) => React.ReactNode;
257
264
  }
258
265
 
@@ -528,6 +535,7 @@ export declare const en: {
528
535
  'editor.attachment.please_upload': string;
529
536
  'editor.imageGif.tooltip': string;
530
537
  'editor.replace.caseSensitive': string;
538
+ 'editor.mermaid.tooltip': string;
531
539
  };
532
540
 
533
541
  export declare const Excalidraw: Node_2<any, any>;
@@ -699,6 +707,13 @@ export declare const locale: Locale;
699
707
 
700
708
  export declare const Mention: Node_2<MentionOptions<any, MentionNodeAttrs>, any>;
701
709
 
710
+ export declare const Mermaid: Node_2<MermaidOptions, any>;
711
+
712
+ declare interface MermaidOptions extends GeneralOptions<MermaidOptions> {
713
+ /** Function for uploading files */
714
+ upload?: (file: File) => Promise<string>;
715
+ }
716
+
702
717
  declare type MessageKeysType = keyof typeof en;
703
718
 
704
719
  export declare const MoreMark: Extension<MoreMarkOptions, any>;
@@ -896,6 +911,7 @@ export declare const pt_BR: {
896
911
  'editor.attachment.please_upload': string;
897
912
  'editor.imageGif.tooltip': string;
898
913
  'editor.replace.caseSensitive': string;
914
+ 'editor.mermaid.tooltip': string;
899
915
  };
900
916
 
901
917
  declare interface Result {
@@ -1159,6 +1175,7 @@ export declare const vi: {
1159
1175
  'editor.image.dialog.tab.url': string;
1160
1176
  'editor.image.dialog.tab.upload': string;
1161
1177
  'editor.image.dialog.tab.uploadCrop': string;
1178
+ 'editor.image.dialog.uploading': string;
1162
1179
  'editor.image.dialog.form.link': string;
1163
1180
  'editor.image.dialog.placeholder': string;
1164
1181
  'editor.image.dialog.form.alt': string;
@@ -1238,6 +1255,7 @@ export declare const vi: {
1238
1255
  'editor.attachment.please_upload': string;
1239
1256
  'editor.imageGif.tooltip': string;
1240
1257
  'editor.replace.caseSensitive': string;
1258
+ 'editor.mermaid.tooltip': string;
1241
1259
  };
1242
1260
 
1243
1261
  export declare const Video: Node_2<VideoOptions, any>;
@@ -1439,6 +1457,7 @@ export declare const zh_CN: {
1439
1457
  'editor.attachment.please_upload': string;
1440
1458
  'editor.imageGif.tooltip': string;
1441
1459
  'editor.replace.caseSensitive': string;
1460
+ 'editor.mermaid.tooltip': string;
1442
1461
  };
1443
1462
 
1444
1463
  export { }
@@ -1478,15 +1497,6 @@ declare module '@tiptap/core' {
1478
1497
  }
1479
1498
 
1480
1499
 
1481
- declare module '@tiptap/core' {
1482
- interface Commands<ReturnType> {
1483
- imageUpload: {
1484
- setImageUpload: () => ReturnType;
1485
- };
1486
- }
1487
- }
1488
-
1489
-
1490
1500
  declare module '@tiptap/core' {
1491
1501
  interface Commands<ReturnType> {
1492
1502
  lineHeight: {
@@ -1513,16 +1523,6 @@ declare module '@tiptap/core' {
1513
1523
  }
1514
1524
 
1515
1525
 
1516
- declare module '@tiptap/core' {
1517
- interface Commands<ReturnType> {
1518
- tableCellBackground: {
1519
- setTableCellBackground: (color: string) => ReturnType;
1520
- unsetTableCellBackground: () => ReturnType;
1521
- };
1522
- }
1523
- }
1524
-
1525
-
1526
1526
  declare module '@tiptap/core' {
1527
1527
  interface Commands<ReturnType> {
1528
1528
  imageResize: {
@@ -1545,8 +1545,22 @@ declare module '@tiptap/core' {
1545
1545
 
1546
1546
  declare module '@tiptap/core' {
1547
1547
  interface Commands<ReturnType> {
1548
- videoUpload: {
1549
- setVideoUpload: () => ReturnType;
1548
+ imageUpload: {
1549
+ setImageUpload: () => ReturnType;
1550
+ };
1551
+ }
1552
+ }
1553
+
1554
+
1555
+ declare module '@tiptap/core' {
1556
+ interface Commands<ReturnType> {
1557
+ columns: {
1558
+ insertColumns: (attrs?: {
1559
+ cols: number;
1560
+ }) => ReturnType;
1561
+ addColBefore: () => ReturnType;
1562
+ addColAfter: () => ReturnType;
1563
+ deleteCol: () => ReturnType;
1550
1564
  };
1551
1565
  }
1552
1566
  }
@@ -1563,13 +1577,14 @@ declare module '@tiptap/core' {
1563
1577
 
1564
1578
  declare module '@tiptap/core' {
1565
1579
  interface Commands<ReturnType> {
1566
- columns: {
1567
- insertColumns: (attrs?: {
1568
- cols: number;
1580
+ iframe: {
1581
+ /**
1582
+ * Add an iframe
1583
+ */
1584
+ setIframe: (options: {
1585
+ src: string;
1586
+ service: string;
1569
1587
  }) => ReturnType;
1570
- addColBefore: () => ReturnType;
1571
- addColAfter: () => ReturnType;
1572
- deleteCol: () => ReturnType;
1573
1588
  };
1574
1589
  }
1575
1590
  }
@@ -1577,8 +1592,14 @@ declare module '@tiptap/core' {
1577
1592
 
1578
1593
  declare module '@tiptap/core' {
1579
1594
  interface Commands<ReturnType> {
1580
- excalidraw: {
1581
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1595
+ search: {
1596
+ setSearchTerm: (searchTerm: string) => ReturnType;
1597
+ setReplaceTerm: (replaceTerm: string) => ReturnType;
1598
+ replace: () => ReturnType;
1599
+ replaceAll: () => ReturnType;
1600
+ goToPrevSearchResult: () => void;
1601
+ goToNextSearchResult: () => void;
1602
+ setCaseSensitive: (caseSensitive: boolean) => ReturnType;
1582
1603
  };
1583
1604
  }
1584
1605
  }
@@ -1586,8 +1607,18 @@ declare module '@tiptap/core' {
1586
1607
 
1587
1608
  declare module '@tiptap/core' {
1588
1609
  interface Commands<ReturnType> {
1589
- katex: {
1590
- setKatex: (arg?: IKatexAttrs) => ReturnType;
1610
+ tableCellBackground: {
1611
+ setTableCellBackground: (color: string) => ReturnType;
1612
+ unsetTableCellBackground: () => ReturnType;
1613
+ };
1614
+ }
1615
+ }
1616
+
1617
+
1618
+ declare module '@tiptap/core' {
1619
+ interface Commands<ReturnType> {
1620
+ videoUpload: {
1621
+ setVideoUpload: () => ReturnType;
1591
1622
  };
1592
1623
  }
1593
1624
  }
@@ -1607,14 +1638,8 @@ declare module '@tiptap/core' {
1607
1638
 
1608
1639
  declare module '@tiptap/core' {
1609
1640
  interface Commands<ReturnType> {
1610
- search: {
1611
- setSearchTerm: (searchTerm: string) => ReturnType;
1612
- setReplaceTerm: (replaceTerm: string) => ReturnType;
1613
- replace: () => ReturnType;
1614
- replaceAll: () => ReturnType;
1615
- goToPrevSearchResult: () => void;
1616
- goToNextSearchResult: () => void;
1617
- setCaseSensitive: (caseSensitive: boolean) => ReturnType;
1641
+ katex: {
1642
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
1618
1643
  };
1619
1644
  }
1620
1645
  }
@@ -1631,14 +1656,8 @@ declare module '@tiptap/core' {
1631
1656
 
1632
1657
  declare module '@tiptap/core' {
1633
1658
  interface Commands<ReturnType> {
1634
- iframe: {
1635
- /**
1636
- * Add an iframe
1637
- */
1638
- setIframe: (options: {
1639
- src: string;
1640
- service: string;
1641
- }) => ReturnType;
1659
+ excalidraw: {
1660
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1642
1661
  };
1643
1662
  }
1644
1663
  }
@@ -1646,19 +1665,9 @@ declare module '@tiptap/core' {
1646
1665
 
1647
1666
  declare module '@tiptap/core' {
1648
1667
  interface Commands<ReturnType> {
1649
- imageResize: {
1650
- /**
1651
- * Add an image gif
1652
- */
1653
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1654
- /**
1655
- * Update an image gif
1656
- */
1657
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1658
- /**
1659
- * Set image alignment
1660
- */
1661
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
1668
+ tableOfContents: {
1669
+ setTableOfContents: () => ReturnType;
1670
+ removeTableOfContents: () => ReturnType;
1662
1671
  };
1663
1672
  }
1664
1673
  }
@@ -1675,9 +1684,29 @@ declare module '@tiptap/core' {
1675
1684
 
1676
1685
  declare module '@tiptap/core' {
1677
1686
  interface Commands<ReturnType> {
1678
- tableOfContents: {
1679
- setTableOfContents: () => ReturnType;
1680
- removeTableOfContents: () => ReturnType;
1687
+ mermaid: {
1688
+ setMermaid: (options: any, replace?: any) => ReturnType;
1689
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
1690
+ };
1691
+ }
1692
+ }
1693
+
1694
+
1695
+ declare module '@tiptap/core' {
1696
+ interface Commands<ReturnType> {
1697
+ imageResize: {
1698
+ /**
1699
+ * Add an image gif
1700
+ */
1701
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1702
+ /**
1703
+ * Update an image gif
1704
+ */
1705
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1706
+ /**
1707
+ * Set image alignment
1708
+ */
1709
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
1681
1710
  };
1682
1711
  }
1683
1712
  }
@@ -3,7 +3,7 @@ var s = (e, t, o) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
3
3
  var n = (e, t, o) => s(e, typeof t != "symbol" ? t + "" : t, o);
4
4
  import { useMemo as g, useEffect as m } from "react";
5
5
  import { proxy as u, useSnapshot as c } from "valtio";
6
- import { m as h } from "./utils-BnwdI_JH.js";
6
+ import { m as h } from "./utils-CtONRhPR.js";
7
7
  const b = {
8
8
  "editor.remove": "Remove",
9
9
  "editor.copy": "Copy",
@@ -165,7 +165,8 @@ const b = {
165
165
  "editor.attachment.uploading": "Uploading",
166
166
  "editor.attachment.please_upload": "Please upload the file",
167
167
  "editor.imageGif.tooltip": "Gif",
168
- "editor.replace.caseSensitive": "Case Sensitive"
168
+ "editor.replace.caseSensitive": "Case Sensitive",
169
+ "editor.mermaid.tooltip": "Mermaid"
169
170
  }, f = b, C = {
170
171
  "editor.remove": "Remover",
171
172
  "editor.copy": "Copiar",
@@ -327,7 +328,8 @@ const b = {
327
328
  "editor.attachment.uploading": "Enviando",
328
329
  "editor.attachment.please_upload": "Por favor, envie o arquivo",
329
330
  "editor.imageGif.tooltip": "Gif",
330
- "editor.replace.caseSensitive": "Sensível a maiúsculas e minúsculas"
331
+ "editor.replace.caseSensitive": "Sensível a maiúsculas e minúsculas",
332
+ "editor.mermaid.tooltip": "Mermaid"
331
333
  }, k = C, T = {
332
334
  "editor.remove": "Xóa",
333
335
  "editor.copy": "Sao chép",
@@ -410,6 +412,7 @@ const b = {
410
412
  "editor.image.dialog.tab.url": "Url",
411
413
  "editor.image.dialog.tab.upload": "Tải lên",
412
414
  "editor.image.dialog.tab.uploadCrop": "Tải lên & Cắt",
415
+ "editor.image.dialog.uploading": "Đang tải lên",
413
416
  "editor.image.dialog.form.link": "Liên kết",
414
417
  "editor.image.dialog.placeholder": "Liên kết",
415
418
  "editor.image.dialog.form.alt": "Alt",
@@ -488,7 +491,8 @@ const b = {
488
491
  "editor.attachment.uploading": "Đang tải lên",
489
492
  "editor.attachment.please_upload": "Vui lòng tải lên tệp",
490
493
  "editor.imageGif.tooltip": "Gif",
491
- "editor.replace.caseSensitive": "Phân biệt chữ hoa chữ thường"
494
+ "editor.replace.caseSensitive": "Phân biệt chữ hoa chữ thường",
495
+ "editor.mermaid.tooltip": "Mermaid"
492
496
  }, F = T, _ = {
493
497
  "editor.remove": "移除",
494
498
  "editor.copy": "复制",
@@ -650,7 +654,8 @@ const b = {
650
654
  "editor.attachment.uploading": "上传中",
651
655
  "editor.attachment.please_upload": "请上传文件",
652
656
  "editor.imageGif.tooltip": "Gif",
653
- "editor.replace.caseSensitive": "区分大小写"
657
+ "editor.replace.caseSensitive": "区分大小写",
658
+ "editor.mermaid.tooltip": "Mermaid"
654
659
  }, x = _, A = "en", D = 200, I = D - 80, w = 20, z = 1e5, P = 16, U = 10, N = 10, M = 2, H = [
655
660
  "#000000",
656
661
  "#262626",