@tiptap/extension-drag-handle-vue-3 3.6.6 → 3.7.0

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/dist/index.d.cts CHANGED
@@ -708,6 +708,38 @@ interface ExtendableConfig<Options = any, Storage = any, Config extends Extensio
708
708
  storage: Storage;
709
709
  parent: ParentConfig<Config>['addExtensions'];
710
710
  }) => Extensions;
711
+ /**
712
+ * The markdown token name
713
+ *
714
+ * This is the name of the token that this extension uses to parse and render markdown and comes from the Marked Lexer.
715
+ *
716
+ * @see https://github.com/markedjs/marked/blob/master/src/Tokens.ts
717
+ *
718
+ */
719
+ markdownTokenName?: string;
720
+ /**
721
+ * The parse function used by the markdown parser to convert markdown tokens to ProseMirror nodes.
722
+ */
723
+ parseMarkdown?: (token: MarkdownToken, helpers: MarkdownParseHelpers) => MarkdownParseResult;
724
+ /**
725
+ * The serializer function used by the markdown serializer to convert ProseMirror nodes to markdown tokens.
726
+ */
727
+ renderMarkdown?: (node: JSONContent, helpers: MarkdownRendererHelpers, ctx: RenderContext) => string;
728
+ /**
729
+ * The markdown tokenizer responsible for turning a markdown string into tokens
730
+ *
731
+ * Custom tokenizers are only needed when you want to parse non-standard markdown token.
732
+ */
733
+ markdownTokenizer?: MarkdownTokenizer;
734
+ /**
735
+ * Optional markdown options for indentation
736
+ */
737
+ markdownOptions?: {
738
+ /**
739
+ * Defines if this markdown element should indent it's child elements
740
+ */
741
+ indentsContent?: boolean;
742
+ };
711
743
  /**
712
744
  * This function extends the schema of the node.
713
745
  * @example
@@ -1420,6 +1452,107 @@ type TextSerializer = (props: {
1420
1452
  type ExtendedRegExpMatchArray = RegExpMatchArray & {
1421
1453
  data?: Record<string, any>;
1422
1454
  };
1455
+ /** Markdown related types */
1456
+ type MarkdownToken = {
1457
+ type?: string;
1458
+ raw?: string;
1459
+ text?: string;
1460
+ tokens?: MarkdownToken[];
1461
+ depth?: number;
1462
+ items?: MarkdownToken[];
1463
+ [key: string]: any;
1464
+ };
1465
+ /**
1466
+ * Helpers specifically for parsing markdown tokens into Tiptap JSON.
1467
+ * These are provided to extension parse handlers.
1468
+ */
1469
+ type MarkdownParseHelpers = {
1470
+ /** Parse an array of inline tokens into text nodes with marks */
1471
+ parseInline: (tokens: MarkdownToken[]) => JSONContent[];
1472
+ /** Parse an array of block-level tokens */
1473
+ parseChildren: (tokens: MarkdownToken[]) => JSONContent[];
1474
+ /** Create a text node with optional marks */
1475
+ createTextNode: (text: string, marks?: Array<{
1476
+ type: string;
1477
+ attrs?: any;
1478
+ }>) => JSONContent;
1479
+ /** Create any node type with attributes and content */
1480
+ createNode: (type: string, attrs?: any, content?: JSONContent[]) => JSONContent;
1481
+ /** Apply a mark to content (used for inline marks like bold, italic) */
1482
+ applyMark: (markType: string, content: JSONContent[], attrs?: any) => {
1483
+ mark: string;
1484
+ content: JSONContent[];
1485
+ attrs?: any;
1486
+ };
1487
+ };
1488
+
1489
+ /**
1490
+ * Return shape for parser-level `parse` handlers.
1491
+ * - a single JSON-like node
1492
+ * - an array of JSON-like nodes
1493
+ * - or a `{ mark: string, content: JSONLike[] }` shape to apply a mark
1494
+ */
1495
+ type MarkdownParseResult = JSONContent | JSONContent[] | {
1496
+ mark: string;
1497
+ content: JSONContent[];
1498
+ attrs?: any;
1499
+ };
1500
+ type RenderContext = {
1501
+ index: number;
1502
+ level: number;
1503
+ meta?: Record<string, any>;
1504
+ parentType?: string | null;
1505
+ };
1506
+ /**
1507
+ * Configuration object passed to custom marked.js tokenizers
1508
+ */
1509
+ type MarkdownLexerConfiguration = {
1510
+ /**
1511
+ * Can be used to transform source text into inline tokens - useful while tokenizing child tokens.
1512
+ * @param src
1513
+ * @returns Array of inline tokens
1514
+ */
1515
+ inlineTokens: (src: string) => MarkdownToken[];
1516
+ /**
1517
+ * Can be used to transform source text into block-level tokens - useful while tokenizing child tokens.
1518
+ * @param src
1519
+ * @returns Array of block-level tokens
1520
+ */
1521
+ blockTokens: (src: string) => MarkdownToken[];
1522
+ };
1523
+ /** Custom tokenizer function for marked.js extensions */
1524
+ type MarkdownTokenizer = {
1525
+ /** Token name this tokenizer creates */
1526
+ name: string;
1527
+ /** Priority level for tokenizer ordering (higher = earlier) */
1528
+ level?: 'block' | 'inline';
1529
+ /** A string to look for or a function that returns the start index of the token in the source string */
1530
+ start?: string | ((src: string) => number);
1531
+ /** Function that attempts to parse custom syntax from start of text */
1532
+ tokenize: (src: string, tokens: MarkdownToken[], lexer: MarkdownLexerConfiguration) => MarkdownToken | undefined | void;
1533
+ };
1534
+ type MarkdownRendererHelpers = {
1535
+ /**
1536
+ * Render children nodes to a markdown string, optionally separated by a string.
1537
+ * @param nodes The node or array of nodes to render
1538
+ * @param separator An optional separator string (legacy) or RenderContext
1539
+ * @returns The rendered markdown string
1540
+ */
1541
+ renderChildren: (nodes: JSONContent | JSONContent[], separator?: string) => string;
1542
+ /**
1543
+ * Render a text token to a markdown string
1544
+ * @param prefix The prefix to add before the content
1545
+ * @param content The content to wrap
1546
+ * @returns The wrapped content
1547
+ */
1548
+ wrapInBlock: (prefix: string, content: string) => string;
1549
+ /**
1550
+ * Indent a markdown string according to the provided RenderContext
1551
+ * @param content The content to indent
1552
+ * @returns The indented content
1553
+ */
1554
+ indent: (content: string) => string;
1555
+ };
1423
1556
 
1424
1557
  /**
1425
1558
  * Create a flattened array of extensions by traversing the `addExtensions` field.
@@ -1449,7 +1582,14 @@ declare function sortExtensions(extensions: Extensions): Extensions;
1449
1582
  declare class ExtensionManager {
1450
1583
  editor: Editor;
1451
1584
  schema: Schema;
1585
+ /**
1586
+ * A flattened and sorted array of all extensions
1587
+ */
1452
1588
  extensions: Extensions;
1589
+ /**
1590
+ * A non-flattened array of base extensions (no sub-extensions)
1591
+ */
1592
+ baseExtensions: Extensions;
1453
1593
  splittableMarks: string[];
1454
1594
  constructor(extensions: Extensions, editor: Editor);
1455
1595
  static resolve: typeof resolveExtensions;
@@ -1525,6 +1665,59 @@ declare class NodePos {
1525
1665
  }): void;
1526
1666
  }
1527
1667
 
1668
+ interface InsertContentOptions {
1669
+ /**
1670
+ * Options for parsing the content.
1671
+ */
1672
+ parseOptions?: ParseOptions;
1673
+ /**
1674
+ * Whether to update the selection after inserting the content.
1675
+ */
1676
+ updateSelection?: boolean;
1677
+ applyInputRules?: boolean;
1678
+ applyPasteRules?: boolean;
1679
+ }
1680
+
1681
+ interface InsertContentAtOptions {
1682
+ /**
1683
+ * Options for parsing the content.
1684
+ */
1685
+ parseOptions?: ParseOptions;
1686
+ /**
1687
+ * Whether to update the selection after inserting the content.
1688
+ */
1689
+ updateSelection?: boolean;
1690
+ /**
1691
+ * Whether to apply input rules after inserting the content.
1692
+ */
1693
+ applyInputRules?: boolean;
1694
+ /**
1695
+ * Whether to apply paste rules after inserting the content.
1696
+ */
1697
+ applyPasteRules?: boolean;
1698
+ /**
1699
+ * Whether to throw an error if the content is invalid.
1700
+ */
1701
+ errorOnInvalidContent?: boolean;
1702
+ }
1703
+
1704
+ interface SetContentOptions {
1705
+ /**
1706
+ * Options for parsing the content.
1707
+ * @default {}
1708
+ */
1709
+ parseOptions?: ParseOptions;
1710
+ /**
1711
+ * Whether to throw an error if the content is invalid.
1712
+ */
1713
+ errorOnInvalidContent?: boolean;
1714
+ /**
1715
+ * Whether to emit an update event.
1716
+ * @default true
1717
+ */
1718
+ emitUpdate?: boolean;
1719
+ }
1720
+
1528
1721
  declare module '@tiptap/core' {
1529
1722
  interface Commands<ReturnType> {
1530
1723
  blur: {
@@ -1762,7 +1955,6 @@ declare module '@tiptap/core' {
1762
1955
  };
1763
1956
  }
1764
1957
  }
1765
-
1766
1958
  declare module '@tiptap/core' {
1767
1959
  interface Commands<ReturnType> {
1768
1960
  insertContent: {
@@ -1779,22 +1971,10 @@ declare module '@tiptap/core' {
1779
1971
  /**
1780
1972
  * Optional options
1781
1973
  */
1782
- options?: {
1783
- /**
1784
- * Options for parsing the content.
1785
- */
1786
- parseOptions?: ParseOptions;
1787
- /**
1788
- * Whether to update the selection after inserting the content.
1789
- */
1790
- updateSelection?: boolean;
1791
- applyInputRules?: boolean;
1792
- applyPasteRules?: boolean;
1793
- }) => ReturnType;
1974
+ options?: InsertContentOptions) => ReturnType;
1794
1975
  };
1795
1976
  }
1796
1977
  }
1797
-
1798
1978
  declare module '@tiptap/core' {
1799
1979
  interface Commands<ReturnType> {
1800
1980
  insertContentAt: {
@@ -1814,28 +1994,7 @@ declare module '@tiptap/core' {
1814
1994
  /**
1815
1995
  * Optional options
1816
1996
  */
1817
- options?: {
1818
- /**
1819
- * Options for parsing the content.
1820
- */
1821
- parseOptions?: ParseOptions;
1822
- /**
1823
- * Whether to update the selection after inserting the content.
1824
- */
1825
- updateSelection?: boolean;
1826
- /**
1827
- * Whether to apply input rules after inserting the content.
1828
- */
1829
- applyInputRules?: boolean;
1830
- /**
1831
- * Whether to apply paste rules after inserting the content.
1832
- */
1833
- applyPasteRules?: boolean;
1834
- /**
1835
- * Whether to throw an error if the content is invalid.
1836
- */
1837
- errorOnInvalidContent?: boolean;
1838
- }) => ReturnType;
1997
+ options?: InsertContentAtOptions) => ReturnType;
1839
1998
  };
1840
1999
  }
1841
2000
  }
@@ -2085,7 +2244,6 @@ declare module '@tiptap/core' {
2085
2244
  };
2086
2245
  }
2087
2246
  }
2088
-
2089
2247
  declare module '@tiptap/core' {
2090
2248
  interface Commands<ReturnType> {
2091
2249
  setContent: {
@@ -2104,22 +2262,7 @@ declare module '@tiptap/core' {
2104
2262
  /**
2105
2263
  * Options for `setContent`.
2106
2264
  */
2107
- options?: {
2108
- /**
2109
- * Options for parsing the content.
2110
- * @default {}
2111
- */
2112
- parseOptions?: ParseOptions;
2113
- /**
2114
- * Whether to throw an error if the content is invalid.
2115
- */
2116
- errorOnInvalidContent?: boolean;
2117
- /**
2118
- * Whether to emit an update event.
2119
- * @default true
2120
- */
2121
- emitUpdate?: boolean;
2122
- }) => ReturnType;
2265
+ options?: SetContentOptions) => ReturnType;
2123
2266
  };
2124
2267
  }
2125
2268
  }
package/dist/index.d.ts CHANGED
@@ -708,6 +708,38 @@ interface ExtendableConfig<Options = any, Storage = any, Config extends Extensio
708
708
  storage: Storage;
709
709
  parent: ParentConfig<Config>['addExtensions'];
710
710
  }) => Extensions;
711
+ /**
712
+ * The markdown token name
713
+ *
714
+ * This is the name of the token that this extension uses to parse and render markdown and comes from the Marked Lexer.
715
+ *
716
+ * @see https://github.com/markedjs/marked/blob/master/src/Tokens.ts
717
+ *
718
+ */
719
+ markdownTokenName?: string;
720
+ /**
721
+ * The parse function used by the markdown parser to convert markdown tokens to ProseMirror nodes.
722
+ */
723
+ parseMarkdown?: (token: MarkdownToken, helpers: MarkdownParseHelpers) => MarkdownParseResult;
724
+ /**
725
+ * The serializer function used by the markdown serializer to convert ProseMirror nodes to markdown tokens.
726
+ */
727
+ renderMarkdown?: (node: JSONContent, helpers: MarkdownRendererHelpers, ctx: RenderContext) => string;
728
+ /**
729
+ * The markdown tokenizer responsible for turning a markdown string into tokens
730
+ *
731
+ * Custom tokenizers are only needed when you want to parse non-standard markdown token.
732
+ */
733
+ markdownTokenizer?: MarkdownTokenizer;
734
+ /**
735
+ * Optional markdown options for indentation
736
+ */
737
+ markdownOptions?: {
738
+ /**
739
+ * Defines if this markdown element should indent it's child elements
740
+ */
741
+ indentsContent?: boolean;
742
+ };
711
743
  /**
712
744
  * This function extends the schema of the node.
713
745
  * @example
@@ -1420,6 +1452,107 @@ type TextSerializer = (props: {
1420
1452
  type ExtendedRegExpMatchArray = RegExpMatchArray & {
1421
1453
  data?: Record<string, any>;
1422
1454
  };
1455
+ /** Markdown related types */
1456
+ type MarkdownToken = {
1457
+ type?: string;
1458
+ raw?: string;
1459
+ text?: string;
1460
+ tokens?: MarkdownToken[];
1461
+ depth?: number;
1462
+ items?: MarkdownToken[];
1463
+ [key: string]: any;
1464
+ };
1465
+ /**
1466
+ * Helpers specifically for parsing markdown tokens into Tiptap JSON.
1467
+ * These are provided to extension parse handlers.
1468
+ */
1469
+ type MarkdownParseHelpers = {
1470
+ /** Parse an array of inline tokens into text nodes with marks */
1471
+ parseInline: (tokens: MarkdownToken[]) => JSONContent[];
1472
+ /** Parse an array of block-level tokens */
1473
+ parseChildren: (tokens: MarkdownToken[]) => JSONContent[];
1474
+ /** Create a text node with optional marks */
1475
+ createTextNode: (text: string, marks?: Array<{
1476
+ type: string;
1477
+ attrs?: any;
1478
+ }>) => JSONContent;
1479
+ /** Create any node type with attributes and content */
1480
+ createNode: (type: string, attrs?: any, content?: JSONContent[]) => JSONContent;
1481
+ /** Apply a mark to content (used for inline marks like bold, italic) */
1482
+ applyMark: (markType: string, content: JSONContent[], attrs?: any) => {
1483
+ mark: string;
1484
+ content: JSONContent[];
1485
+ attrs?: any;
1486
+ };
1487
+ };
1488
+
1489
+ /**
1490
+ * Return shape for parser-level `parse` handlers.
1491
+ * - a single JSON-like node
1492
+ * - an array of JSON-like nodes
1493
+ * - or a `{ mark: string, content: JSONLike[] }` shape to apply a mark
1494
+ */
1495
+ type MarkdownParseResult = JSONContent | JSONContent[] | {
1496
+ mark: string;
1497
+ content: JSONContent[];
1498
+ attrs?: any;
1499
+ };
1500
+ type RenderContext = {
1501
+ index: number;
1502
+ level: number;
1503
+ meta?: Record<string, any>;
1504
+ parentType?: string | null;
1505
+ };
1506
+ /**
1507
+ * Configuration object passed to custom marked.js tokenizers
1508
+ */
1509
+ type MarkdownLexerConfiguration = {
1510
+ /**
1511
+ * Can be used to transform source text into inline tokens - useful while tokenizing child tokens.
1512
+ * @param src
1513
+ * @returns Array of inline tokens
1514
+ */
1515
+ inlineTokens: (src: string) => MarkdownToken[];
1516
+ /**
1517
+ * Can be used to transform source text into block-level tokens - useful while tokenizing child tokens.
1518
+ * @param src
1519
+ * @returns Array of block-level tokens
1520
+ */
1521
+ blockTokens: (src: string) => MarkdownToken[];
1522
+ };
1523
+ /** Custom tokenizer function for marked.js extensions */
1524
+ type MarkdownTokenizer = {
1525
+ /** Token name this tokenizer creates */
1526
+ name: string;
1527
+ /** Priority level for tokenizer ordering (higher = earlier) */
1528
+ level?: 'block' | 'inline';
1529
+ /** A string to look for or a function that returns the start index of the token in the source string */
1530
+ start?: string | ((src: string) => number);
1531
+ /** Function that attempts to parse custom syntax from start of text */
1532
+ tokenize: (src: string, tokens: MarkdownToken[], lexer: MarkdownLexerConfiguration) => MarkdownToken | undefined | void;
1533
+ };
1534
+ type MarkdownRendererHelpers = {
1535
+ /**
1536
+ * Render children nodes to a markdown string, optionally separated by a string.
1537
+ * @param nodes The node or array of nodes to render
1538
+ * @param separator An optional separator string (legacy) or RenderContext
1539
+ * @returns The rendered markdown string
1540
+ */
1541
+ renderChildren: (nodes: JSONContent | JSONContent[], separator?: string) => string;
1542
+ /**
1543
+ * Render a text token to a markdown string
1544
+ * @param prefix The prefix to add before the content
1545
+ * @param content The content to wrap
1546
+ * @returns The wrapped content
1547
+ */
1548
+ wrapInBlock: (prefix: string, content: string) => string;
1549
+ /**
1550
+ * Indent a markdown string according to the provided RenderContext
1551
+ * @param content The content to indent
1552
+ * @returns The indented content
1553
+ */
1554
+ indent: (content: string) => string;
1555
+ };
1423
1556
 
1424
1557
  /**
1425
1558
  * Create a flattened array of extensions by traversing the `addExtensions` field.
@@ -1449,7 +1582,14 @@ declare function sortExtensions(extensions: Extensions): Extensions;
1449
1582
  declare class ExtensionManager {
1450
1583
  editor: Editor;
1451
1584
  schema: Schema;
1585
+ /**
1586
+ * A flattened and sorted array of all extensions
1587
+ */
1452
1588
  extensions: Extensions;
1589
+ /**
1590
+ * A non-flattened array of base extensions (no sub-extensions)
1591
+ */
1592
+ baseExtensions: Extensions;
1453
1593
  splittableMarks: string[];
1454
1594
  constructor(extensions: Extensions, editor: Editor);
1455
1595
  static resolve: typeof resolveExtensions;
@@ -1525,6 +1665,59 @@ declare class NodePos {
1525
1665
  }): void;
1526
1666
  }
1527
1667
 
1668
+ interface InsertContentOptions {
1669
+ /**
1670
+ * Options for parsing the content.
1671
+ */
1672
+ parseOptions?: ParseOptions;
1673
+ /**
1674
+ * Whether to update the selection after inserting the content.
1675
+ */
1676
+ updateSelection?: boolean;
1677
+ applyInputRules?: boolean;
1678
+ applyPasteRules?: boolean;
1679
+ }
1680
+
1681
+ interface InsertContentAtOptions {
1682
+ /**
1683
+ * Options for parsing the content.
1684
+ */
1685
+ parseOptions?: ParseOptions;
1686
+ /**
1687
+ * Whether to update the selection after inserting the content.
1688
+ */
1689
+ updateSelection?: boolean;
1690
+ /**
1691
+ * Whether to apply input rules after inserting the content.
1692
+ */
1693
+ applyInputRules?: boolean;
1694
+ /**
1695
+ * Whether to apply paste rules after inserting the content.
1696
+ */
1697
+ applyPasteRules?: boolean;
1698
+ /**
1699
+ * Whether to throw an error if the content is invalid.
1700
+ */
1701
+ errorOnInvalidContent?: boolean;
1702
+ }
1703
+
1704
+ interface SetContentOptions {
1705
+ /**
1706
+ * Options for parsing the content.
1707
+ * @default {}
1708
+ */
1709
+ parseOptions?: ParseOptions;
1710
+ /**
1711
+ * Whether to throw an error if the content is invalid.
1712
+ */
1713
+ errorOnInvalidContent?: boolean;
1714
+ /**
1715
+ * Whether to emit an update event.
1716
+ * @default true
1717
+ */
1718
+ emitUpdate?: boolean;
1719
+ }
1720
+
1528
1721
  declare module '@tiptap/core' {
1529
1722
  interface Commands<ReturnType> {
1530
1723
  blur: {
@@ -1762,7 +1955,6 @@ declare module '@tiptap/core' {
1762
1955
  };
1763
1956
  }
1764
1957
  }
1765
-
1766
1958
  declare module '@tiptap/core' {
1767
1959
  interface Commands<ReturnType> {
1768
1960
  insertContent: {
@@ -1779,22 +1971,10 @@ declare module '@tiptap/core' {
1779
1971
  /**
1780
1972
  * Optional options
1781
1973
  */
1782
- options?: {
1783
- /**
1784
- * Options for parsing the content.
1785
- */
1786
- parseOptions?: ParseOptions;
1787
- /**
1788
- * Whether to update the selection after inserting the content.
1789
- */
1790
- updateSelection?: boolean;
1791
- applyInputRules?: boolean;
1792
- applyPasteRules?: boolean;
1793
- }) => ReturnType;
1974
+ options?: InsertContentOptions) => ReturnType;
1794
1975
  };
1795
1976
  }
1796
1977
  }
1797
-
1798
1978
  declare module '@tiptap/core' {
1799
1979
  interface Commands<ReturnType> {
1800
1980
  insertContentAt: {
@@ -1814,28 +1994,7 @@ declare module '@tiptap/core' {
1814
1994
  /**
1815
1995
  * Optional options
1816
1996
  */
1817
- options?: {
1818
- /**
1819
- * Options for parsing the content.
1820
- */
1821
- parseOptions?: ParseOptions;
1822
- /**
1823
- * Whether to update the selection after inserting the content.
1824
- */
1825
- updateSelection?: boolean;
1826
- /**
1827
- * Whether to apply input rules after inserting the content.
1828
- */
1829
- applyInputRules?: boolean;
1830
- /**
1831
- * Whether to apply paste rules after inserting the content.
1832
- */
1833
- applyPasteRules?: boolean;
1834
- /**
1835
- * Whether to throw an error if the content is invalid.
1836
- */
1837
- errorOnInvalidContent?: boolean;
1838
- }) => ReturnType;
1997
+ options?: InsertContentAtOptions) => ReturnType;
1839
1998
  };
1840
1999
  }
1841
2000
  }
@@ -2085,7 +2244,6 @@ declare module '@tiptap/core' {
2085
2244
  };
2086
2245
  }
2087
2246
  }
2088
-
2089
2247
  declare module '@tiptap/core' {
2090
2248
  interface Commands<ReturnType> {
2091
2249
  setContent: {
@@ -2104,22 +2262,7 @@ declare module '@tiptap/core' {
2104
2262
  /**
2105
2263
  * Options for `setContent`.
2106
2264
  */
2107
- options?: {
2108
- /**
2109
- * Options for parsing the content.
2110
- * @default {}
2111
- */
2112
- parseOptions?: ParseOptions;
2113
- /**
2114
- * Whether to throw an error if the content is invalid.
2115
- */
2116
- errorOnInvalidContent?: boolean;
2117
- /**
2118
- * Whether to emit an update event.
2119
- * @default true
2120
- */
2121
- emitUpdate?: boolean;
2122
- }) => ReturnType;
2265
+ options?: SetContentOptions) => ReturnType;
2123
2266
  };
2124
2267
  }
2125
2268
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiptap/extension-drag-handle-vue-3",
3
3
  "description": "drag handle extension for tiptap with vue 3",
4
- "version": "3.6.6",
4
+ "version": "3.7.0",
5
5
  "homepage": "https://tiptap.dev",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -37,15 +37,15 @@
37
37
  ],
38
38
  "peerDependencies": {
39
39
  "vue": "^3.0.0",
40
- "@tiptap/vue-3": "^3.6.6",
41
- "@tiptap/extension-drag-handle": "^3.6.6",
42
- "@tiptap/pm": "^3.6.6"
40
+ "@tiptap/extension-drag-handle": "^3.7.0",
41
+ "@tiptap/pm": "^3.7.0",
42
+ "@tiptap/vue-3": "^3.7.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "vue": "^3.0.0",
46
- "@tiptap/extension-drag-handle": "^3.6.6",
47
- "@tiptap/pm": "^3.6.6",
48
- "@tiptap/vue-3": "^3.6.6"
46
+ "@tiptap/extension-drag-handle": "^3.7.0",
47
+ "@tiptap/vue-3": "^3.7.0",
48
+ "@tiptap/pm": "^3.7.0"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "tsup",