reactjs-tiptap-editor 0.0.55 → 0.0.57

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
@@ -28,7 +28,6 @@ import { Mark } from '@tiptap/core';
28
28
  import { MentionNodeAttrs } from '@tiptap/extension-mention';
29
29
  import { MentionOptions } from '@tiptap/extension-mention';
30
30
  import { Node as Node_2 } from '@tiptap/core';
31
- import { Node as Node_3 } from '@tiptap/react';
32
31
  import { OrderedListOptions as OrderedListOptions_2 } from '@tiptap/extension-ordered-list';
33
32
  import { ParagraphOptions } from '@tiptap/extension-paragraph';
34
33
  import { PlaceholderOptions } from '@tiptap/extension-placeholder';
@@ -456,6 +455,7 @@ export declare const en: {
456
455
  'editor.image.dialog.tab.upload': string;
457
456
  'editor.image.dialog.tab.uploadCrop': string;
458
457
  'editor.image.dialog.uploading': string;
458
+ 'editor.link.dialog.inline': string;
459
459
  'editor.image.dialog.form.link': string;
460
460
  'editor.image.dialog.placeholder': string;
461
461
  'editor.image.dialog.form.alt': string;
@@ -620,11 +620,17 @@ export declare interface HorizontalRuleOptions extends HorizontalRuleOptions_2,
620
620
 
621
621
  export declare const Iframe: Node_2<any, any>;
622
622
 
623
+ declare interface IImageOptions extends GeneralOptions<IImageOptions> {
624
+ /** Function for uploading files */
625
+ upload?: (file: File) => Promise<string>;
626
+ HTMLAttributes?: any;
627
+ }
628
+
623
629
  declare interface IKatexOptions {
624
630
  HTMLAttributes: Record<string, any>;
625
631
  }
626
632
 
627
- declare const Image_2: Node_2<ImageOptions, any>;
633
+ declare const Image_2: Node_2<IImageOptions, any>;
628
634
  export { Image_2 as Image }
629
635
 
630
636
  export declare const ImageGif: Node_2<ImageGifOptions, any>;
@@ -636,15 +642,6 @@ declare interface ImageGifOptions extends ImageOptions {
636
642
  GIPHY_API_KEY: string;
637
643
  }
638
644
 
639
- export declare const ImageUpload: Node_3<ImageUploadOptions, any>;
640
-
641
- export declare interface ImageUploadOptions {
642
- upload: (file: File) => Promise<string>;
643
- postUpload?: (url: string) => Promise<string>;
644
- acceptMimes: string[];
645
- maxSize: number;
646
- }
647
-
648
645
  export declare const ImportWord: Extension<ImportWordOptions, any>;
649
646
 
650
647
  declare interface ImportWordOptions extends GeneralOptions<ImportWordOptions> {
@@ -830,6 +827,7 @@ export declare const pt_BR: {
830
827
  'editor.image.dialog.title': string;
831
828
  'editor.image.dialog.tab.url': string;
832
829
  'editor.image.dialog.tab.upload': string;
830
+ 'editor.link.dialog.inline': string;
833
831
  'editor.image.dialog.tab.uploadCrop': string;
834
832
  'editor.image.dialog.uploading': string;
835
833
  'editor.image.dialog.form.link': string;
@@ -986,12 +984,13 @@ export declare interface SetImageAttrsOptions {
986
984
  src?: string;
987
985
  /** The alternative text for the image. */
988
986
  alt?: string;
989
- /** The title of the image. */
990
- title?: string;
987
+ /** The caption of the image. */
988
+ caption?: string;
991
989
  /** The width of the image. */
992
990
  width?: number | string | null;
993
991
  /** The alignment of the image. */
994
992
  align?: 'left' | 'center' | 'right';
993
+ inline?: boolean;
995
994
  }
996
995
 
997
996
  export declare const SlashCommand: Extension<any, any>;
@@ -1172,6 +1171,7 @@ export declare const vi: {
1172
1171
  'editor.image.dialog.title': string;
1173
1172
  'editor.image.dialog.tab.url': string;
1174
1173
  'editor.image.dialog.tab.upload': string;
1174
+ 'editor.link.dialog.inline': string;
1175
1175
  'editor.image.dialog.tab.uploadCrop': string;
1176
1176
  'editor.image.dialog.uploading': string;
1177
1177
  'editor.image.dialog.form.link': string;
@@ -1261,7 +1261,7 @@ export declare const Video: Node_2<VideoOptions, any>;
1261
1261
  /**
1262
1262
  * Represents the interface for video options, extending GeneralOptions.
1263
1263
  */
1264
- export declare interface VideoOptions {
1264
+ export declare interface VideoOptions extends GeneralOptions<VideoOptions> {
1265
1265
  /**
1266
1266
  * Indicates whether fullscreen play is allowed
1267
1267
  *
@@ -1284,15 +1284,10 @@ export declare interface VideoOptions {
1284
1284
  HTMLAttributes: {
1285
1285
  [key: string]: any;
1286
1286
  };
1287
+ /** Function for uploading files */
1287
1288
  upload?: (file: File) => Promise<string>;
1288
1289
  }
1289
1290
 
1290
- declare interface VideoOptions_2 {
1291
- upload?: (files: File[]) => void;
1292
- }
1293
-
1294
- export declare const VideoUpload: Node_2<VideoOptions_2, any>;
1295
-
1296
1291
  export declare const zh_CN: {
1297
1292
  'editor.remove': string;
1298
1293
  'editor.copy': string;
@@ -1374,6 +1369,7 @@ export declare const zh_CN: {
1374
1369
  'editor.image.dialog.title': string;
1375
1370
  'editor.image.dialog.tab.url': string;
1376
1371
  'editor.image.dialog.tab.upload': string;
1372
+ 'editor.link.dialog.inline': string;
1377
1373
  'editor.image.dialog.uploading': string;
1378
1374
  'editor.image.dialog.form.link': string;
1379
1375
  'editor.image.dialog.placeholder': string;
@@ -1511,32 +1507,13 @@ declare module '@tiptap/core' {
1511
1507
  }
1512
1508
 
1513
1509
 
1514
- declare module '@tiptap/core' {
1515
- interface Commands<ReturnType> {
1516
- lineHeight: {
1517
- setLineHeight: (lineHeight: string) => ReturnType;
1518
- unsetLineHeight: () => ReturnType;
1519
- };
1520
- }
1521
- }
1522
-
1523
-
1524
- declare module '@tiptap/core' {
1525
- interface Commands<ReturnType> {
1526
- imageUpload: {
1527
- setImageUpload: () => ReturnType;
1528
- };
1529
- }
1530
- }
1531
-
1532
-
1533
1510
  declare module '@tiptap/core' {
1534
1511
  interface Commands<ReturnType> {
1535
1512
  imageResize: {
1536
1513
  /**
1537
1514
  * Add an image
1538
1515
  */
1539
- setImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1516
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1540
1517
  /**
1541
1518
  * Update an image
1542
1519
  */
@@ -1552,9 +1529,11 @@ declare module '@tiptap/core' {
1552
1529
 
1553
1530
  declare module '@tiptap/core' {
1554
1531
  interface Commands<ReturnType> {
1555
- tableCellBackground: {
1556
- setTableCellBackground: (color: string) => ReturnType;
1557
- unsetTableCellBackground: () => ReturnType;
1532
+ emoji: {
1533
+ setEmoji: (emoji: {
1534
+ name: string;
1535
+ emoji: string;
1536
+ }) => ReturnType;
1558
1537
  };
1559
1538
  }
1560
1539
  }
@@ -1562,13 +1541,9 @@ declare module '@tiptap/core' {
1562
1541
 
1563
1542
  declare module '@tiptap/core' {
1564
1543
  interface Commands<ReturnType> {
1565
- columns: {
1566
- insertColumns: (attrs?: {
1567
- cols: number;
1568
- }) => ReturnType;
1569
- addColBefore: () => ReturnType;
1570
- addColAfter: () => ReturnType;
1571
- deleteCol: () => ReturnType;
1544
+ lineHeight: {
1545
+ setLineHeight: (lineHeight: string) => ReturnType;
1546
+ unsetLineHeight: () => ReturnType;
1572
1547
  };
1573
1548
  }
1574
1549
  }
@@ -1585,8 +1560,9 @@ declare module '@tiptap/core' {
1585
1560
 
1586
1561
  declare module '@tiptap/core' {
1587
1562
  interface Commands<ReturnType> {
1588
- videoUpload: {
1589
- setVideoUpload: () => ReturnType;
1563
+ tableCellBackground: {
1564
+ setTableCellBackground: (color: string) => ReturnType;
1565
+ unsetTableCellBackground: () => ReturnType;
1590
1566
  };
1591
1567
  }
1592
1568
  }
@@ -1594,8 +1570,14 @@ declare module '@tiptap/core' {
1594
1570
 
1595
1571
  declare module '@tiptap/core' {
1596
1572
  interface Commands<ReturnType> {
1597
- katex: {
1598
- setKatex: (arg?: IKatexAttrs) => ReturnType;
1573
+ iframe: {
1574
+ /**
1575
+ * Add an iframe
1576
+ */
1577
+ setIframe: (options: {
1578
+ src: string;
1579
+ service: string;
1580
+ }) => ReturnType;
1599
1581
  };
1600
1582
  }
1601
1583
  }
@@ -1603,11 +1585,8 @@ declare module '@tiptap/core' {
1603
1585
 
1604
1586
  declare module '@tiptap/core' {
1605
1587
  interface Commands<ReturnType> {
1606
- emoji: {
1607
- setEmoji: (emoji: {
1608
- name: string;
1609
- emoji: string;
1610
- }) => ReturnType;
1588
+ katex: {
1589
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
1611
1590
  };
1612
1591
  }
1613
1592
  }
@@ -1615,14 +1594,13 @@ declare module '@tiptap/core' {
1615
1594
 
1616
1595
  declare module '@tiptap/core' {
1617
1596
  interface Commands<ReturnType> {
1618
- iframe: {
1619
- /**
1620
- * Add an iframe
1621
- */
1622
- setIframe: (options: {
1623
- src: string;
1624
- service: string;
1597
+ columns: {
1598
+ insertColumns: (attrs?: {
1599
+ cols: number;
1625
1600
  }) => ReturnType;
1601
+ addColBefore: () => ReturnType;
1602
+ addColAfter: () => ReturnType;
1603
+ deleteCol: () => ReturnType;
1626
1604
  };
1627
1605
  }
1628
1606
  }
@@ -1654,8 +1632,9 @@ declare module '@tiptap/core' {
1654
1632
 
1655
1633
  declare module '@tiptap/core' {
1656
1634
  interface Commands<ReturnType> {
1657
- excalidraw: {
1658
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1635
+ tableOfContents: {
1636
+ setTableOfContents: () => ReturnType;
1637
+ removeTableOfContents: () => ReturnType;
1659
1638
  };
1660
1639
  }
1661
1640
  }
@@ -1663,9 +1642,8 @@ declare module '@tiptap/core' {
1663
1642
 
1664
1643
  declare module '@tiptap/core' {
1665
1644
  interface Commands<ReturnType> {
1666
- tableOfContents: {
1667
- setTableOfContents: () => ReturnType;
1668
- removeTableOfContents: () => ReturnType;
1645
+ excalidraw: {
1646
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1669
1647
  };
1670
1648
  }
1671
1649
  }
@@ -1710,16 +1688,16 @@ declare module '@tiptap/core' {
1710
1688
  }
1711
1689
 
1712
1690
 
1713
- declare namespace DropdownMenuShortcut {
1691
+ declare namespace DialogHeader {
1714
1692
  var displayName: string;
1715
1693
  }
1716
1694
 
1717
1695
 
1718
- declare namespace DialogHeader {
1696
+ declare namespace DialogFooter {
1719
1697
  var displayName: string;
1720
1698
  }
1721
1699
 
1722
1700
 
1723
- declare namespace DialogFooter {
1701
+ declare namespace DropdownMenuShortcut {
1724
1702
  var displayName: string;
1725
1703
  }
package/lib/index.d.ts CHANGED
@@ -28,7 +28,6 @@ import { Mark } from '@tiptap/core';
28
28
  import { MentionNodeAttrs } from '@tiptap/extension-mention';
29
29
  import { MentionOptions } from '@tiptap/extension-mention';
30
30
  import { Node as Node_2 } from '@tiptap/core';
31
- import { Node as Node_3 } from '@tiptap/react';
32
31
  import { OrderedListOptions as OrderedListOptions_2 } from '@tiptap/extension-ordered-list';
33
32
  import { ParagraphOptions } from '@tiptap/extension-paragraph';
34
33
  import { PlaceholderOptions } from '@tiptap/extension-placeholder';
@@ -456,6 +455,7 @@ export declare const en: {
456
455
  'editor.image.dialog.tab.upload': string;
457
456
  'editor.image.dialog.tab.uploadCrop': string;
458
457
  'editor.image.dialog.uploading': string;
458
+ 'editor.link.dialog.inline': string;
459
459
  'editor.image.dialog.form.link': string;
460
460
  'editor.image.dialog.placeholder': string;
461
461
  'editor.image.dialog.form.alt': string;
@@ -620,11 +620,17 @@ export declare interface HorizontalRuleOptions extends HorizontalRuleOptions_2,
620
620
 
621
621
  export declare const Iframe: Node_2<any, any>;
622
622
 
623
+ declare interface IImageOptions extends GeneralOptions<IImageOptions> {
624
+ /** Function for uploading files */
625
+ upload?: (file: File) => Promise<string>;
626
+ HTMLAttributes?: any;
627
+ }
628
+
623
629
  declare interface IKatexOptions {
624
630
  HTMLAttributes: Record<string, any>;
625
631
  }
626
632
 
627
- declare const Image_2: Node_2<ImageOptions, any>;
633
+ declare const Image_2: Node_2<IImageOptions, any>;
628
634
  export { Image_2 as Image }
629
635
 
630
636
  export declare const ImageGif: Node_2<ImageGifOptions, any>;
@@ -636,15 +642,6 @@ declare interface ImageGifOptions extends ImageOptions {
636
642
  GIPHY_API_KEY: string;
637
643
  }
638
644
 
639
- export declare const ImageUpload: Node_3<ImageUploadOptions, any>;
640
-
641
- export declare interface ImageUploadOptions {
642
- upload: (file: File) => Promise<string>;
643
- postUpload?: (url: string) => Promise<string>;
644
- acceptMimes: string[];
645
- maxSize: number;
646
- }
647
-
648
645
  export declare const ImportWord: Extension<ImportWordOptions, any>;
649
646
 
650
647
  declare interface ImportWordOptions extends GeneralOptions<ImportWordOptions> {
@@ -830,6 +827,7 @@ export declare const pt_BR: {
830
827
  'editor.image.dialog.title': string;
831
828
  'editor.image.dialog.tab.url': string;
832
829
  'editor.image.dialog.tab.upload': string;
830
+ 'editor.link.dialog.inline': string;
833
831
  'editor.image.dialog.tab.uploadCrop': string;
834
832
  'editor.image.dialog.uploading': string;
835
833
  'editor.image.dialog.form.link': string;
@@ -986,12 +984,13 @@ export declare interface SetImageAttrsOptions {
986
984
  src?: string;
987
985
  /** The alternative text for the image. */
988
986
  alt?: string;
989
- /** The title of the image. */
990
- title?: string;
987
+ /** The caption of the image. */
988
+ caption?: string;
991
989
  /** The width of the image. */
992
990
  width?: number | string | null;
993
991
  /** The alignment of the image. */
994
992
  align?: 'left' | 'center' | 'right';
993
+ inline?: boolean;
995
994
  }
996
995
 
997
996
  export declare const SlashCommand: Extension<any, any>;
@@ -1172,6 +1171,7 @@ export declare const vi: {
1172
1171
  'editor.image.dialog.title': string;
1173
1172
  'editor.image.dialog.tab.url': string;
1174
1173
  'editor.image.dialog.tab.upload': string;
1174
+ 'editor.link.dialog.inline': string;
1175
1175
  'editor.image.dialog.tab.uploadCrop': string;
1176
1176
  'editor.image.dialog.uploading': string;
1177
1177
  'editor.image.dialog.form.link': string;
@@ -1261,7 +1261,7 @@ export declare const Video: Node_2<VideoOptions, any>;
1261
1261
  /**
1262
1262
  * Represents the interface for video options, extending GeneralOptions.
1263
1263
  */
1264
- export declare interface VideoOptions {
1264
+ export declare interface VideoOptions extends GeneralOptions<VideoOptions> {
1265
1265
  /**
1266
1266
  * Indicates whether fullscreen play is allowed
1267
1267
  *
@@ -1284,15 +1284,10 @@ export declare interface VideoOptions {
1284
1284
  HTMLAttributes: {
1285
1285
  [key: string]: any;
1286
1286
  };
1287
+ /** Function for uploading files */
1287
1288
  upload?: (file: File) => Promise<string>;
1288
1289
  }
1289
1290
 
1290
- declare interface VideoOptions_2 {
1291
- upload?: (files: File[]) => void;
1292
- }
1293
-
1294
- export declare const VideoUpload: Node_2<VideoOptions_2, any>;
1295
-
1296
1291
  export declare const zh_CN: {
1297
1292
  'editor.remove': string;
1298
1293
  'editor.copy': string;
@@ -1374,6 +1369,7 @@ export declare const zh_CN: {
1374
1369
  'editor.image.dialog.title': string;
1375
1370
  'editor.image.dialog.tab.url': string;
1376
1371
  'editor.image.dialog.tab.upload': string;
1372
+ 'editor.link.dialog.inline': string;
1377
1373
  'editor.image.dialog.uploading': string;
1378
1374
  'editor.image.dialog.form.link': string;
1379
1375
  'editor.image.dialog.placeholder': string;
@@ -1511,32 +1507,13 @@ declare module '@tiptap/core' {
1511
1507
  }
1512
1508
 
1513
1509
 
1514
- declare module '@tiptap/core' {
1515
- interface Commands<ReturnType> {
1516
- lineHeight: {
1517
- setLineHeight: (lineHeight: string) => ReturnType;
1518
- unsetLineHeight: () => ReturnType;
1519
- };
1520
- }
1521
- }
1522
-
1523
-
1524
- declare module '@tiptap/core' {
1525
- interface Commands<ReturnType> {
1526
- imageUpload: {
1527
- setImageUpload: () => ReturnType;
1528
- };
1529
- }
1530
- }
1531
-
1532
-
1533
1510
  declare module '@tiptap/core' {
1534
1511
  interface Commands<ReturnType> {
1535
1512
  imageResize: {
1536
1513
  /**
1537
1514
  * Add an image
1538
1515
  */
1539
- setImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1516
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1540
1517
  /**
1541
1518
  * Update an image
1542
1519
  */
@@ -1552,9 +1529,11 @@ declare module '@tiptap/core' {
1552
1529
 
1553
1530
  declare module '@tiptap/core' {
1554
1531
  interface Commands<ReturnType> {
1555
- tableCellBackground: {
1556
- setTableCellBackground: (color: string) => ReturnType;
1557
- unsetTableCellBackground: () => ReturnType;
1532
+ emoji: {
1533
+ setEmoji: (emoji: {
1534
+ name: string;
1535
+ emoji: string;
1536
+ }) => ReturnType;
1558
1537
  };
1559
1538
  }
1560
1539
  }
@@ -1562,13 +1541,9 @@ declare module '@tiptap/core' {
1562
1541
 
1563
1542
  declare module '@tiptap/core' {
1564
1543
  interface Commands<ReturnType> {
1565
- columns: {
1566
- insertColumns: (attrs?: {
1567
- cols: number;
1568
- }) => ReturnType;
1569
- addColBefore: () => ReturnType;
1570
- addColAfter: () => ReturnType;
1571
- deleteCol: () => ReturnType;
1544
+ lineHeight: {
1545
+ setLineHeight: (lineHeight: string) => ReturnType;
1546
+ unsetLineHeight: () => ReturnType;
1572
1547
  };
1573
1548
  }
1574
1549
  }
@@ -1585,8 +1560,9 @@ declare module '@tiptap/core' {
1585
1560
 
1586
1561
  declare module '@tiptap/core' {
1587
1562
  interface Commands<ReturnType> {
1588
- videoUpload: {
1589
- setVideoUpload: () => ReturnType;
1563
+ tableCellBackground: {
1564
+ setTableCellBackground: (color: string) => ReturnType;
1565
+ unsetTableCellBackground: () => ReturnType;
1590
1566
  };
1591
1567
  }
1592
1568
  }
@@ -1594,8 +1570,14 @@ declare module '@tiptap/core' {
1594
1570
 
1595
1571
  declare module '@tiptap/core' {
1596
1572
  interface Commands<ReturnType> {
1597
- katex: {
1598
- setKatex: (arg?: IKatexAttrs) => ReturnType;
1573
+ iframe: {
1574
+ /**
1575
+ * Add an iframe
1576
+ */
1577
+ setIframe: (options: {
1578
+ src: string;
1579
+ service: string;
1580
+ }) => ReturnType;
1599
1581
  };
1600
1582
  }
1601
1583
  }
@@ -1603,11 +1585,8 @@ declare module '@tiptap/core' {
1603
1585
 
1604
1586
  declare module '@tiptap/core' {
1605
1587
  interface Commands<ReturnType> {
1606
- emoji: {
1607
- setEmoji: (emoji: {
1608
- name: string;
1609
- emoji: string;
1610
- }) => ReturnType;
1588
+ katex: {
1589
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
1611
1590
  };
1612
1591
  }
1613
1592
  }
@@ -1615,14 +1594,13 @@ declare module '@tiptap/core' {
1615
1594
 
1616
1595
  declare module '@tiptap/core' {
1617
1596
  interface Commands<ReturnType> {
1618
- iframe: {
1619
- /**
1620
- * Add an iframe
1621
- */
1622
- setIframe: (options: {
1623
- src: string;
1624
- service: string;
1597
+ columns: {
1598
+ insertColumns: (attrs?: {
1599
+ cols: number;
1625
1600
  }) => ReturnType;
1601
+ addColBefore: () => ReturnType;
1602
+ addColAfter: () => ReturnType;
1603
+ deleteCol: () => ReturnType;
1626
1604
  };
1627
1605
  }
1628
1606
  }
@@ -1654,8 +1632,9 @@ declare module '@tiptap/core' {
1654
1632
 
1655
1633
  declare module '@tiptap/core' {
1656
1634
  interface Commands<ReturnType> {
1657
- excalidraw: {
1658
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1635
+ tableOfContents: {
1636
+ setTableOfContents: () => ReturnType;
1637
+ removeTableOfContents: () => ReturnType;
1659
1638
  };
1660
1639
  }
1661
1640
  }
@@ -1663,9 +1642,8 @@ declare module '@tiptap/core' {
1663
1642
 
1664
1643
  declare module '@tiptap/core' {
1665
1644
  interface Commands<ReturnType> {
1666
- tableOfContents: {
1667
- setTableOfContents: () => ReturnType;
1668
- removeTableOfContents: () => ReturnType;
1645
+ excalidraw: {
1646
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1669
1647
  };
1670
1648
  }
1671
1649
  }
@@ -1710,16 +1688,16 @@ declare module '@tiptap/core' {
1710
1688
  }
1711
1689
 
1712
1690
 
1713
- declare namespace DropdownMenuShortcut {
1691
+ declare namespace DialogHeader {
1714
1692
  var displayName: string;
1715
1693
  }
1716
1694
 
1717
1695
 
1718
- declare namespace DialogHeader {
1696
+ declare namespace DialogFooter {
1719
1697
  var displayName: string;
1720
1698
  }
1721
1699
 
1722
1700
 
1723
- declare namespace DialogFooter {
1701
+ declare namespace DropdownMenuShortcut {
1724
1702
  var displayName: string;
1725
1703
  }
@@ -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-pqPKsEV5.js";
6
+ import { m as h } from "./utils-D-IJanWO.js";
7
7
  const b = {
8
8
  "editor.remove": "Remove",
9
9
  "editor.copy": "Copy",
@@ -87,6 +87,7 @@ const b = {
87
87
  "editor.image.dialog.tab.upload": "Upload",
88
88
  "editor.image.dialog.tab.uploadCrop": "Upload & Crop",
89
89
  "editor.image.dialog.uploading": "Uploading",
90
+ "editor.link.dialog.inline": "Inline",
90
91
  "editor.image.dialog.form.link": "Link",
91
92
  "editor.image.dialog.placeholder": "Link",
92
93
  "editor.image.dialog.form.alt": "Alt",
@@ -248,6 +249,7 @@ const b = {
248
249
  "editor.image.dialog.title": "Adicionar uma imagem",
249
250
  "editor.image.dialog.tab.url": "Url",
250
251
  "editor.image.dialog.tab.upload": "Enviar",
252
+ "editor.link.dialog.inline": "Inline",
251
253
  "editor.image.dialog.tab.uploadCrop": "Enviar e cortar",
252
254
  "editor.image.dialog.uploading": "Enviando",
253
255
  "editor.image.dialog.form.link": "Link",
@@ -411,6 +413,7 @@ const b = {
411
413
  "editor.image.dialog.title": "Thêm hình ảnh",
412
414
  "editor.image.dialog.tab.url": "Url",
413
415
  "editor.image.dialog.tab.upload": "Tải lên",
416
+ "editor.link.dialog.inline": "Inline",
414
417
  "editor.image.dialog.tab.uploadCrop": "Tải lên & Cắt",
415
418
  "editor.image.dialog.uploading": "Đang tải lên",
416
419
  "editor.image.dialog.form.link": "Liên kết",
@@ -574,6 +577,7 @@ const b = {
574
577
  "editor.image.dialog.title": "添加图片",
575
578
  "editor.image.dialog.tab.url": "链接",
576
579
  "editor.image.dialog.tab.upload": "上传",
580
+ "editor.link.dialog.inline": "Inline",
577
581
  "editor.image.dialog.uploading": "上传中",
578
582
  "editor.image.dialog.form.link": "链接",
579
583
  "editor.image.dialog.placeholder": "链接",
@@ -656,7 +660,7 @@ const b = {
656
660
  "editor.imageGif.tooltip": "Gif",
657
661
  "editor.replace.caseSensitive": "区分大小写",
658
662
  "editor.mermaid.tooltip": "Mermaid"
659
- }, x = _, A = "en", D = 200, I = D - 80, w = 20, z = 1e5, P = 16, U = 10, N = 10, M = 2, H = [
663
+ }, x = _, A = "en", D = 200, R = D - 80, w = 20, z = 1e5, P = 16, U = 10, N = 10, M = 2, H = [
660
664
  "#000000",
661
665
  "#262626",
662
666
  "#595959",
@@ -874,7 +878,7 @@ export {
874
878
  V as B,
875
879
  H as C,
876
880
  q as D,
877
- I as E,
881
+ R as E,
878
882
  v as I,
879
883
  G as M,
880
884
  N as T,