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