@halo-dev/richtext-editor 2.15.0 → 2.17.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.
Files changed (108) hide show
  1. package/dist/components/Editor.vue.d.ts +4 -3
  2. package/dist/components/EditorBubbleMenu.vue.d.ts +5 -4
  3. package/dist/components/EditorHeader.vue.d.ts +3 -2
  4. package/dist/components/block/BlockActionButton.vue.d.ts +2 -2
  5. package/dist/components/block/BlockActionInput.vue.d.ts +3 -3
  6. package/dist/components/block/BlockActionSeparator.vue.d.ts +1 -1
  7. package/dist/components/block/BlockCard.vue.d.ts +4 -3
  8. package/dist/components/block/index.d.ts +4 -4
  9. package/dist/components/bubble/BubbleItem.vue.d.ts +8 -7
  10. package/dist/components/bubble/BubbleMenu.vue.d.ts +91 -0
  11. package/dist/components/bubble/BubbleMenuPlugin.d.ts +3 -3
  12. package/dist/components/bubble/index.d.ts +2 -2
  13. package/dist/components/common/ColorPickerDropdown.vue.d.ts +3 -3
  14. package/dist/components/icon/MdiDeleteForeverOutline.vue.d.ts +1 -1
  15. package/dist/components/index.d.ts +7 -7
  16. package/dist/components/toolbar/ToolbarItem.vue.d.ts +7 -6
  17. package/dist/components/toolbar/ToolbarSubItem.vue.d.ts +5 -4
  18. package/dist/components/toolbar/index.d.ts +2 -2
  19. package/dist/components/toolbox/ToolboxItem.vue.d.ts +6 -5
  20. package/dist/components/toolbox/index.d.ts +1 -1
  21. package/dist/extensions/audio/AudioView.vue.d.ts +5 -4
  22. package/dist/extensions/audio/BubbleItemAudioLink.vue.d.ts +5 -4
  23. package/dist/extensions/audio/index.d.ts +2 -1
  24. package/dist/extensions/blockquote/index.d.ts +3 -2
  25. package/dist/extensions/bold/index.d.ts +3 -2
  26. package/dist/extensions/bullet-list/index.d.ts +3 -2
  27. package/dist/extensions/clear-format/index.d.ts +2 -1
  28. package/dist/extensions/code/index.d.ts +3 -2
  29. package/dist/extensions/code-block/CodeBlockViewRenderer.vue.d.ts +5 -4
  30. package/dist/extensions/code-block/code-block.d.ts +2 -1
  31. package/dist/extensions/code-block/index.d.ts +2 -2
  32. package/dist/extensions/code-block/lowlight.d.ts +4 -4
  33. package/dist/extensions/color/ColorBubbleItem.vue.d.ts +5 -4
  34. package/dist/extensions/color/ColorToolbarItem.vue.d.ts +6 -5
  35. package/dist/extensions/color/index.d.ts +3 -2
  36. package/dist/extensions/columns/column.d.ts +1 -0
  37. package/dist/extensions/columns/columns.d.ts +1 -0
  38. package/dist/extensions/columns/index.d.ts +2 -2
  39. package/dist/extensions/commands-menu/CommandsView.vue.d.ts +5 -4
  40. package/dist/extensions/commands-menu/commands.d.ts +1 -0
  41. package/dist/extensions/commands-menu/index.d.ts +1 -1
  42. package/dist/extensions/draggable/index.d.ts +2 -2
  43. package/dist/extensions/font-size/index.d.ts +1 -0
  44. package/dist/extensions/format-brush/index.d.ts +1 -0
  45. package/dist/extensions/format-brush/util.d.ts +2 -1
  46. package/dist/extensions/gap-cursor/gap-cursor-selection.d.ts +45 -0
  47. package/dist/extensions/gap-cursor/index.d.ts +42 -0
  48. package/dist/extensions/heading/index.d.ts +3 -2
  49. package/dist/extensions/highlight/HighlightBubbleItem.vue.d.ts +5 -4
  50. package/dist/extensions/highlight/HighlightToolbarItem.vue.d.ts +6 -5
  51. package/dist/extensions/highlight/index.d.ts +3 -2
  52. package/dist/extensions/history/index.d.ts +3 -2
  53. package/dist/extensions/iframe/BubbleItemIframeLink.vue.d.ts +5 -4
  54. package/dist/extensions/iframe/BubbleItemIframeSize.vue.d.ts +4 -3
  55. package/dist/extensions/iframe/IframeView.vue.d.ts +5 -4
  56. package/dist/extensions/iframe/index.d.ts +2 -1
  57. package/dist/extensions/image/BubbleItemImageAlt.vue.d.ts +5 -4
  58. package/dist/extensions/image/BubbleItemImageHref.vue.d.ts +5 -4
  59. package/dist/extensions/image/BubbleItemImageLink.vue.d.ts +5 -4
  60. package/dist/extensions/image/BubbleItemImageSize.vue.d.ts +5 -4
  61. package/dist/extensions/image/ImageView.vue.d.ts +5 -4
  62. package/dist/extensions/image/index.d.ts +3 -2
  63. package/dist/extensions/indent/index.d.ts +2 -1
  64. package/dist/extensions/index.d.ts +46 -44
  65. package/dist/extensions/italic/index.d.ts +3 -2
  66. package/dist/extensions/link/LinkBubbleButton.vue.d.ts +5 -4
  67. package/dist/extensions/link/index.d.ts +3 -2
  68. package/dist/extensions/list-keymap/index.d.ts +3 -2
  69. package/dist/extensions/node-selected/index.d.ts +1 -0
  70. package/dist/extensions/ordered-list/index.d.ts +3 -2
  71. package/dist/extensions/paragraph/index.d.ts +6 -2
  72. package/dist/extensions/range-selection/index.d.ts +23 -0
  73. package/dist/extensions/range-selection/range-selection.d.ts +65 -0
  74. package/dist/extensions/search-and-replace/SearchAndReplace.vue.d.ts +6 -5
  75. package/dist/extensions/search-and-replace/SearchAndReplacePlugin.d.ts +2 -1
  76. package/dist/extensions/search-and-replace/index.d.ts +2 -1
  77. package/dist/extensions/strike/index.d.ts +3 -2
  78. package/dist/extensions/subscript/index.d.ts +3 -2
  79. package/dist/extensions/superscript/index.d.ts +3 -2
  80. package/dist/extensions/table/index.d.ts +3 -2
  81. package/dist/extensions/table/table-cell.d.ts +1 -0
  82. package/dist/extensions/table/table-header.d.ts +1 -0
  83. package/dist/extensions/table/table-row.d.ts +1 -1
  84. package/dist/extensions/table/util.d.ts +2 -2
  85. package/dist/extensions/task-list/index.d.ts +3 -2
  86. package/dist/extensions/text/index.d.ts +2 -1
  87. package/dist/extensions/text-align/index.d.ts +3 -2
  88. package/dist/extensions/trailing-node/index.d.ts +1 -0
  89. package/dist/extensions/underline/index.d.ts +3 -2
  90. package/dist/extensions/video/BubbleItemVideoLink.vue.d.ts +5 -4
  91. package/dist/extensions/video/BubbleItemVideoSize.vue.d.ts +5 -4
  92. package/dist/extensions/video/VideoView.vue.d.ts +5 -4
  93. package/dist/extensions/video/index.d.ts +2 -1
  94. package/dist/index.d.ts +6 -10
  95. package/dist/locales/index.d.ts +1 -1
  96. package/dist/rich-text-editor.es.js +31719 -30397
  97. package/dist/rich-text-editor.iife.js +60 -66
  98. package/dist/style.css +5 -5
  99. package/dist/tiptap/core/index.d.ts +1 -1
  100. package/dist/tiptap/index.d.ts +6 -6
  101. package/dist/tiptap/pm/index.d.ts +20 -20
  102. package/dist/tiptap/vue-3/index.d.ts +1 -1
  103. package/dist/types/index.d.ts +4 -3
  104. package/dist/utils/delete-node.d.ts +4 -1
  105. package/dist/utils/index.d.ts +2 -2
  106. package/dist/utils/is-allowed-uri.d.ts +1 -0
  107. package/dist/utils/isNodeEmpty.d.ts +5 -0
  108. package/package.json +41 -42
@@ -1,4 +1,5 @@
1
- import type { OrderedListOptions } from "@tiptap/extension-ordered-list";
2
- import type { ExtensionOptions } from '../../types';
1
+ import { ExtensionOptions } from '../../types';
2
+ import { OrderedListOptions } from '@tiptap/extension-ordered-list';
3
+
3
4
  declare const OrderedList: import('../../tiptap/vue-3').Node<ExtensionOptions & OrderedListOptions, any>;
4
5
  export default OrderedList;
@@ -1,4 +1,8 @@
1
- import type { ParagraphOptions } from "@tiptap/extension-paragraph";
2
- import type { ExtensionOptions } from '../../types';
1
+ import { EditorState, ResolvedPos, Dispatch } from '../../tiptap';
2
+ import { ExtensionOptions } from '../../types';
3
+ import { ParagraphOptions } from '@tiptap/extension-paragraph';
4
+
3
5
  declare const Paragraph: import('../../tiptap').Node<ExtensionOptions & ParagraphOptions, any>;
6
+ export declare function deleteCurrentNodeAndSetSelection($from: ResolvedPos, beforePos: number, state: EditorState, dispatch: Dispatch): boolean;
7
+ export declare function handleDeletePreviousNode($from: ResolvedPos, beforePos: number, state: EditorState, dispatch: Dispatch): boolean;
4
8
  export default Paragraph;
@@ -0,0 +1,23 @@
1
+ import { Extension, ParentConfig } from '../../tiptap';
2
+ import { default as RangeSelection } from './range-selection';
3
+
4
+ declare module "@tiptap/core" {
5
+ interface NodeConfig<Options, Storage> {
6
+ /**
7
+ * Whether to allow displaying a fake selection state on the node.
8
+ *
9
+ * Typically, it is only necessary to display a fake selection state on child nodes,
10
+ * so the parent node can be set to false.
11
+ *
12
+ * default: true
13
+ */
14
+ fakeSelection?: boolean | null | ((this: {
15
+ name: string;
16
+ options: Options;
17
+ storage: Storage;
18
+ parent: ParentConfig<NodeConfig<Options>>["fakeSelection"];
19
+ }) => boolean | null);
20
+ }
21
+ }
22
+ declare const ExtensionRangeSelection: Extension<any, any>;
23
+ export { ExtensionRangeSelection, RangeSelection };
@@ -0,0 +1,65 @@
1
+ import { EditorState, Node, ResolvedPos, Selection, Mappable } from '../../tiptap/pm';
2
+
3
+ /**
4
+ * The RangeSelection class represents a selection range within a document.
5
+ * The content can include text, paragraphs, block-level content, etc.
6
+ *
7
+ * It has a starting position and an ending position. When the given range includes block-level content,
8
+ * the RangeSelection will automatically expand to include the block-level content at the corresponding depth.
9
+ *
10
+ * The RangeSelection must not contain empty content.
11
+ */
12
+ declare class RangeSelection extends Selection {
13
+ /**
14
+ * Creates a RangeSelection between the specified positions.
15
+ *
16
+ * @param $anchor - The starting position of the selection.
17
+ * @param $head - The ending position of the selection.
18
+ */
19
+ constructor($anchor: ResolvedPos, $head: ResolvedPos);
20
+ map(doc: Node, mapping: Mappable): Selection;
21
+ eq(other: Selection): boolean;
22
+ getBookmark(): RangeBookmark;
23
+ toJSON(): any;
24
+ /**
25
+ * Validates if the given positions can form a valid RangeSelection in the given state.
26
+ *
27
+ * @param state - The editor state.
28
+ * @param anchor - The starting position.
29
+ * @param head - The ending position.
30
+ * @returns True if the positions form a valid RangeSelection, otherwise false.
31
+ */
32
+ static valid(state: EditorState, anchor: number, head: number): boolean;
33
+ /**
34
+ * Returns a RangeSelection spanning the given positions.
35
+ *
36
+ * When the given range includes block-level content, if only a part is included,
37
+ * the selection will be expanded to encompass the block-level content at the corresponding depth.
38
+ *
39
+ * Expansion: If the selection includes all depth nodes of the current block-level content but not the entire last node,
40
+ * the selection will be expanded to include the node at that depth.
41
+ *
42
+ * @param $anchor - The starting position of the selection.
43
+ * @param $head - The ending position of the selection.
44
+ * @returns A new RangeSelection that spans the given positions.
45
+ */
46
+ static between($anchor: ResolvedPos, $head: ResolvedPos): RangeSelection | null;
47
+ static fromJSON(doc: Node, json: any): RangeSelection;
48
+ static create(doc: Node, anchor: number, head: number): RangeSelection;
49
+ static allRange(doc: Node): RangeSelection;
50
+ }
51
+ declare class RangeBookmark {
52
+ readonly anchor: number;
53
+ readonly head: number;
54
+ constructor(anchor: number, head: number);
55
+ map(mapping: Mappable): RangeBookmark;
56
+ resolve(doc: Node): RangeSelection;
57
+ }
58
+ export declare function checkRangeSelection($anchor: ResolvedPos, $head: ResolvedPos): void;
59
+ export declare function rangeNodesBetween($anchor: ResolvedPos, $head: ResolvedPos): {
60
+ node: Node;
61
+ pos: number;
62
+ parent: Node | null;
63
+ index: number;
64
+ }[];
65
+ export default RangeSelection;
@@ -1,7 +1,8 @@
1
- import { type PropType } from "vue";
2
- import type { PluginKey, Editor } from '../../tiptap';
3
- import type { SearchAndReplacePluginState } from "./SearchAndReplacePlugin";
4
- declare const _default: import("vue").DefineComponent<{
1
+ import { Editor, PluginKey } from '../../tiptap';
2
+ import { PropType } from 'vue';
3
+ import { SearchAndReplacePluginState } from './SearchAndReplacePlugin';
4
+
5
+ declare const _default: import('vue').DefineComponent<{
5
6
  editor: {
6
7
  type: PropType<Editor>;
7
8
  required: true;
@@ -14,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
14
15
  type: BooleanConstructor;
15
16
  default: boolean;
16
17
  };
17
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
19
  editor: {
19
20
  type: PropType<Editor>;
20
21
  required: true;
@@ -1,6 +1,7 @@
1
- import type { PMNode, Selection } from '../../tiptap';
1
+ import { PMNode, Selection } from '../../tiptap';
2
2
  import { Decoration, EditorView, Plugin, PluginKey, Transaction } from '../../tiptap/pm';
3
3
  import { Editor } from '../../tiptap/vue-3';
4
+
4
5
  export interface SearchAndReplacePluginProps {
5
6
  editor: Editor;
6
7
  element: HTMLElement;
@@ -1,5 +1,6 @@
1
1
  import { Extension } from '../../tiptap/vue-3';
2
- import type { ExtensionOptions } from '../../types';
2
+ import { ExtensionOptions } from '../../types';
3
+
3
4
  declare module "@/tiptap" {
4
5
  interface Commands<ReturnType> {
5
6
  searchAndReplace: {
@@ -1,4 +1,5 @@
1
- import type { StrikeOptions } from "@tiptap/extension-strike";
2
- import type { ExtensionOptions } from '../../types';
1
+ import { ExtensionOptions } from '../../types';
2
+ import { StrikeOptions } from '@tiptap/extension-strike';
3
+
3
4
  declare const Strike: import('../../tiptap/vue-3').Mark<ExtensionOptions & StrikeOptions, any>;
4
5
  export default Strike;
@@ -1,4 +1,5 @@
1
- import type { SubscriptExtensionOptions } from "@tiptap/extension-subscript";
2
- import type { ExtensionOptions } from '../../types';
1
+ import { ExtensionOptions } from '../../types';
2
+ import { SubscriptExtensionOptions } from '@tiptap/extension-subscript';
3
+
3
4
  declare const Subscript: import('../../tiptap/vue-3').Mark<ExtensionOptions & SubscriptExtensionOptions, any>;
4
5
  export default Subscript;
@@ -1,4 +1,5 @@
1
- import type { SuperscriptExtensionOptions } from "@tiptap/extension-superscript";
2
- import type { ExtensionOptions } from '../../types';
1
+ import { ExtensionOptions } from '../../types';
2
+ import { SuperscriptExtensionOptions } from '@tiptap/extension-superscript';
3
+
3
4
  declare const Superscript: import('../../tiptap/vue-3').Mark<ExtensionOptions & SuperscriptExtensionOptions, any>;
4
5
  export default Superscript;
@@ -1,4 +1,5 @@
1
- import { type TableOptions } from "@tiptap/extension-table";
2
- import type { ExtensionOptions } from '../../types';
1
+ import { ExtensionOptions } from '../../types';
2
+ import { TableOptions } from '@tiptap/extension-table';
3
+
3
4
  declare const Table: import('../../tiptap').Node<ExtensionOptions & TableOptions, any>;
4
5
  export default Table;
@@ -1,4 +1,5 @@
1
1
  import { Node } from '../../tiptap/vue-3';
2
+
2
3
  export interface TableCellOptions {
3
4
  HTMLAttributes: Record<string, any>;
4
5
  }
@@ -1,4 +1,5 @@
1
1
  import { Node } from '../../tiptap/vue-3';
2
+
2
3
  export interface TableCellOptions {
3
4
  HTMLAttributes: Record<string, any>;
4
5
  }
@@ -1,2 +1,2 @@
1
- declare const TableRow: import("@tiptap/core").Node<import("@tiptap/extension-table-row").TableRowOptions, any>;
1
+ declare const TableRow: import('@tiptap/core').Node<import('@tiptap/extension-table-row').TableRowOptions, any>;
2
2
  export default TableRow;
@@ -1,5 +1,5 @@
1
- import { Node, CellSelection, TableMap } from '../../tiptap/pm';
2
- import type { EditorState, Selection, Transaction } from '../../tiptap/pm';
1
+ import { EditorState, Selection, Transaction, CellSelection, Node, TableMap } from '../../tiptap/pm';
2
+
3
3
  export declare const selectTable: (tr: Transaction) => Transaction;
4
4
  export declare const selectColumn: (index: number) => (tr: Transaction) => Transaction;
5
5
  export declare const selectRow: (index: number) => (tr: Transaction) => Transaction;
@@ -1,4 +1,5 @@
1
- import type { TaskListOptions } from "@tiptap/extension-task-list";
2
- import type { ExtensionOptions } from '../../types';
1
+ import { ExtensionOptions } from '../../types';
2
+ import { TaskListOptions } from '@tiptap/extension-task-list';
3
+
3
4
  declare const TaskList: import('../../tiptap/vue-3').Node<ExtensionOptions & TaskListOptions, any>;
4
5
  export default TaskList;
@@ -1,3 +1,4 @@
1
- import type { ExtensionOptions } from '../../types';
1
+ import { ExtensionOptions } from '../../types';
2
+
2
3
  declare const Text: import('../../tiptap/vue-3').Node<ExtensionOptions, any>;
3
4
  export default Text;
@@ -1,4 +1,5 @@
1
- import type { TextAlignOptions } from "@tiptap/extension-text-align";
2
- import type { ExtensionOptions } from '../../types';
1
+ import { ExtensionOptions } from '../../types';
2
+ import { TextAlignOptions } from '@tiptap/extension-text-align';
3
+
3
4
  declare const TextAlign: import('../../tiptap/vue-3').Extension<ExtensionOptions & TextAlignOptions, any>;
4
5
  export default TextAlign;
@@ -1,4 +1,5 @@
1
1
  import { Extension } from '../../tiptap/vue-3';
2
+
2
3
  /**
3
4
  * Extension based on:
4
5
  * - https://github.com/ueberdosis/tiptap/tree/main/demos/src/Experiments/TrailingNode
@@ -1,4 +1,5 @@
1
- import type { UnderlineOptions } from "@tiptap/extension-underline";
2
- import type { ExtensionOptions } from '../../types';
1
+ import { ExtensionOptions } from '../../types';
2
+ import { UnderlineOptions } from '@tiptap/extension-underline';
3
+
3
4
  declare const Underline: import('../../tiptap/vue-3').Mark<ExtensionOptions & UnderlineOptions, any>;
4
5
  export default Underline;
@@ -1,6 +1,7 @@
1
- import type { Editor } from '../../tiptap/vue-3';
2
- import { type Component } from "vue";
3
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ import { Editor } from '../../tiptap/vue-3';
2
+ import { Component } from 'vue';
3
+
4
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
5
  editor: Editor;
5
6
  isActive: ({ editor }: {
6
7
  editor: Editor;
@@ -13,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
13
14
  action?: (({ editor }: {
14
15
  editor: Editor;
15
16
  }) => void) | undefined;
16
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
17
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
17
18
  editor: Editor;
18
19
  isActive: ({ editor }: {
19
20
  editor: Editor;
@@ -1,6 +1,7 @@
1
- import type { Editor } from '../../tiptap/vue-3';
2
- import { type Component } from "vue";
3
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ import { Editor } from '../../tiptap/vue-3';
2
+ import { Component } from 'vue';
3
+
4
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
5
  editor: Editor;
5
6
  isActive?: (({ editor }: {
6
7
  editor: Editor;
@@ -13,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
13
14
  action?: (({ editor }: {
14
15
  editor: Editor;
15
16
  }) => void) | undefined;
16
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
17
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
17
18
  editor: Editor;
18
19
  isActive?: (({ editor }: {
19
20
  editor: Editor;
@@ -1,6 +1,7 @@
1
- import type { Node as ProseMirrorNode, Decoration } from '../../tiptap/pm';
2
- import type { Editor, Node } from '../../tiptap/vue-3';
3
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ import { Decoration, Node as ProseMirrorNode } from '../../tiptap/pm';
2
+ import { Editor, Node } from '../../tiptap/vue-3';
3
+
4
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
5
  editor: Editor;
5
6
  node: ProseMirrorNode;
6
7
  decorations: Decoration[];
@@ -9,7 +10,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
9
10
  getPos: () => number;
10
11
  updateAttributes: (attributes: Record<string, any>) => void;
11
12
  deleteNode: () => void;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
13
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
13
14
  editor: Editor;
14
15
  node: ProseMirrorNode;
15
16
  decorations: Decoration[];
@@ -1,5 +1,6 @@
1
- import type { ExtensionOptions } from '../../types';
2
1
  import { Node } from '../../tiptap/vue-3';
2
+ import { ExtensionOptions } from '../../types';
3
+
3
4
  declare module "@/tiptap" {
4
5
  interface Commands<ReturnType> {
5
6
  video: {
package/dist/index.d.ts CHANGED
@@ -1,12 +1,8 @@
1
- import type { Plugin } from "vue";
2
- import "./styles/index.scss";
3
- import "./styles/tailwind.css";
4
- import "floating-vue/dist/style.css";
5
- import "github-markdown-css/github-markdown-light.css";
6
- import "highlight.js/styles/github-dark.css";
1
+ import { Plugin } from 'vue';
2
+
7
3
  declare const plugin: Plugin;
8
4
  export default plugin;
9
- export * from "./tiptap";
10
- export * from "./extensions";
11
- export * from "./components";
12
- export * from "./utils";
5
+ export * from './components';
6
+ export * from './extensions';
7
+ export * from './tiptap';
8
+ export * from './utils';
@@ -1,4 +1,4 @@
1
- declare const i18n: import("vue-i18n").I18n<{
1
+ declare const i18n: import('vue-i18n').I18n<{
2
2
  en: any;
3
3
  zh: any;
4
4
  "en-US": any;