@halo-dev/richtext-editor 0.0.0-alpha.32 → 0.0.0-alpha.33

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 (78) hide show
  1. package/dist/components/Editor.vue.d.ts +1 -1
  2. package/dist/components/EditorBubbleMenu.vue.d.ts +1 -1
  3. package/dist/components/EditorHeader.vue.d.ts +1 -1
  4. package/dist/components/block/BlockCard.vue.d.ts +1 -1
  5. package/dist/components/block/index.d.ts +4 -0
  6. package/dist/components/bubble/BubbleItem.vue.d.ts +1 -1
  7. package/dist/components/bubble/BubbleMenuPlugin.d.ts +3 -3
  8. package/dist/components/bubble/index.d.ts +2 -0
  9. package/dist/components/index.d.ts +7 -9
  10. package/dist/components/toolbar/index.d.ts +2 -0
  11. package/dist/components/toolbox/ToolboxItem.vue.d.ts +1 -1
  12. package/dist/components/toolbox/index.d.ts +1 -0
  13. package/dist/extensions/audio/AudioView.vue.d.ts +2 -3
  14. package/dist/extensions/audio/BubbleItemAudioLink.vue.d.ts +1 -1
  15. package/dist/extensions/audio/index.d.ts +2 -2
  16. package/dist/extensions/blockquote/index.d.ts +1 -1
  17. package/dist/extensions/bold/index.d.ts +1 -1
  18. package/dist/extensions/bullet-list/index.d.ts +1 -1
  19. package/dist/extensions/code/index.d.ts +1 -1
  20. package/dist/extensions/code-block/CodeBlockViewRenderer.vue.d.ts +2 -3
  21. package/dist/extensions/code-block/code-block.d.ts +2 -2
  22. package/dist/extensions/color/ColorBubbleItem.vue.d.ts +1 -1
  23. package/dist/extensions/color/ColorToolbarItem.vue.d.ts +1 -1
  24. package/dist/extensions/color/index.d.ts +1 -1
  25. package/dist/extensions/columns/column.d.ts +1 -1
  26. package/dist/extensions/columns/columns.d.ts +2 -2
  27. package/dist/extensions/commands-menu/commands.d.ts +1 -1
  28. package/dist/extensions/draggable/index.d.ts +3 -3
  29. package/dist/extensions/font-size/index.d.ts +2 -2
  30. package/dist/extensions/heading/index.d.ts +1 -1
  31. package/dist/extensions/highlight/HighlightBubbleItem.vue.d.ts +1 -1
  32. package/dist/extensions/highlight/HighlightToolbarItem.vue.d.ts +1 -1
  33. package/dist/extensions/highlight/index.d.ts +1 -1
  34. package/dist/extensions/history/index.d.ts +1 -1
  35. package/dist/extensions/iframe/BubbleItemIframeLink.vue.d.ts +1 -1
  36. package/dist/extensions/iframe/BubbleItemIframeSize.vue.d.ts +1 -1
  37. package/dist/extensions/iframe/IframeView.vue.d.ts +2 -3
  38. package/dist/extensions/iframe/index.d.ts +2 -2
  39. package/dist/extensions/image/BubbleItemImageAlt.vue.d.ts +1 -1
  40. package/dist/extensions/image/BubbleItemImageHref.vue.d.ts +1 -1
  41. package/dist/extensions/image/BubbleItemImageLink.vue.d.ts +1 -1
  42. package/dist/extensions/image/BubbleItemImageSize.vue.d.ts +1 -1
  43. package/dist/extensions/image/ImageView.vue.d.ts +2 -3
  44. package/dist/extensions/image/index.d.ts +1 -1
  45. package/dist/extensions/indent/index.d.ts +2 -2
  46. package/dist/extensions/italic/index.d.ts +1 -1
  47. package/dist/extensions/link/LinkBubbleButton.vue.d.ts +1 -1
  48. package/dist/extensions/node-selected/index.d.ts +1 -1
  49. package/dist/extensions/ordered-list/index.d.ts +1 -1
  50. package/dist/extensions/strike/index.d.ts +1 -1
  51. package/dist/extensions/subscript/index.d.ts +1 -1
  52. package/dist/extensions/superscript/index.d.ts +1 -1
  53. package/dist/extensions/table/index.d.ts +1 -1
  54. package/dist/extensions/table/table-cell.d.ts +1 -1
  55. package/dist/extensions/table/table-header.d.ts +1 -1
  56. package/dist/extensions/table/util.d.ts +2 -3
  57. package/dist/extensions/task-list/index.d.ts +1 -1
  58. package/dist/extensions/text/index.d.ts +1 -1
  59. package/dist/extensions/text-align/index.d.ts +1 -1
  60. package/dist/extensions/trailing-node/index.d.ts +1 -1
  61. package/dist/extensions/underline/index.d.ts +1 -1
  62. package/dist/extensions/video/BubbleItemVideoLink.vue.d.ts +1 -1
  63. package/dist/extensions/video/BubbleItemVideoSize.vue.d.ts +1 -1
  64. package/dist/extensions/video/VideoView.vue.d.ts +2 -3
  65. package/dist/extensions/video/index.d.ts +2 -2
  66. package/dist/index.d.ts +1 -3
  67. package/dist/rich-text-editor.es.js +38400 -44131
  68. package/dist/rich-text-editor.es.js.map +1 -1
  69. package/dist/rich-text-editor.iife.js +146 -58207
  70. package/dist/rich-text-editor.iife.js.map +1 -1
  71. package/dist/style.css +2 -2460
  72. package/dist/tiptap/core/index.d.ts +1 -0
  73. package/dist/tiptap/index.d.ts +5 -0
  74. package/dist/tiptap/pm/index.d.ts +20 -0
  75. package/dist/tiptap/vue-3/index.d.ts +1 -0
  76. package/dist/types/index.d.ts +2 -4
  77. package/dist/utils/delete-node.d.ts +1 -1
  78. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { Editor } from "@tiptap/vue-3";
1
+ import { Editor } from '../tiptap/vue-3';
2
2
  import { type CSSProperties, type PropType } from "vue";
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
4
  editor: {
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from "vue";
2
- import type { Editor } from "@tiptap/core";
2
+ import type { Editor } from '../tiptap/vue-3';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
5
5
  type: PropType<Editor>;
@@ -1,4 +1,4 @@
1
- import { Editor } from "@tiptap/core";
1
+ import { Editor } from '../tiptap/vue-3';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  editor: {
4
4
  type: typeof Editor;
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/core";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  editor: {
4
4
  type: import("vue").PropType<Editor>;
@@ -0,0 +1,4 @@
1
+ export { default as BlockActionButton } from "./BlockActionButton.vue";
2
+ export { default as BlockActionInput } from "./BlockActionInput.vue";
3
+ export { default as BlockActionSeparator } from "./BlockActionSeparator.vue";
4
+ export { default as BlockCard } from "./BlockCard.vue";
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/core";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  import { type Component } from "vue";
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
@@ -1,6 +1,6 @@
1
- import { Editor } from "@tiptap/core";
2
- import { EditorState, Plugin, PluginKey } from "@tiptap/pm/state";
3
- import type { EditorView } from "@tiptap/pm/view";
1
+ import { Editor } from '../../tiptap/vue-3';
2
+ import { EditorState, Plugin, PluginKey } from '../../tiptap/pm';
3
+ import type { EditorView } from '../../tiptap/pm';
4
4
  import { type Instance, type Props } from "tippy.js";
5
5
  export interface TippyOptionProps extends Props {
6
6
  fixed?: boolean;
@@ -0,0 +1,2 @@
1
+ export { default as BubbleItem } from "./BubbleItem.vue";
2
+ export { default as NodeBubbleMenu } from "./BubbleMenu.vue";
@@ -1,9 +1,7 @@
1
- export { default as BlockActionButton } from "./block/BlockActionButton.vue";
2
- export { default as BlockActionInput } from "./block/BlockActionInput.vue";
3
- export { default as BlockActionSeparator } from "./block/BlockActionSeparator.vue";
4
- export { default as BlockCard } from "./block/BlockCard.vue";
5
- export { default as BubbleItem } from "./bubble/BubbleItem.vue";
6
- export { default as NodeBubbleMenu } from "./bubble/BubbleMenu.vue";
7
- export { default as ToolbarItem } from "./toolbar/ToolbarItem.vue";
8
- export { default as ToolbarSubItem } from "./toolbar/ToolbarSubItem.vue";
9
- export { default as ToolboxItem } from "./toolbox/ToolboxItem.vue";
1
+ export * from "./block";
2
+ export * from "./bubble";
3
+ export * from "./toolbar";
4
+ export * from "./toolbox";
5
+ export { default as RichTextEditor } from "./Editor.vue";
6
+ export * from "./EditorHeader.vue";
7
+ export * from "./EditorBubbleMenu.vue";
@@ -0,0 +1,2 @@
1
+ export { default as ToolbarItem } from "./ToolbarItem.vue";
2
+ export { default as ToolbarSubItem } from "./ToolbarSubItem.vue";
@@ -1,5 +1,5 @@
1
1
  import type { Component } from "vue";
2
- import type { Editor } from "@tiptap/core";
2
+ import type { Editor } from '../../tiptap/vue-3';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
5
5
  type: import("vue").PropType<Editor>;
@@ -0,0 +1 @@
1
+ export { default as ToolboxItem } from "./ToolboxItem.vue";
@@ -1,6 +1,5 @@
1
- import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
2
- import type { Decoration } from "@tiptap/pm/view";
3
- import type { Editor, Node } from "@tiptap/core";
1
+ import type { Node as ProseMirrorNode, Decoration } from '../../tiptap/pm';
2
+ import type { Editor, Node } from '../../tiptap/vue-3';
4
3
  declare const _default: import("vue").DefineComponent<{
5
4
  editor: {
6
5
  type: import("vue").PropType<Editor>;
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/core";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  import { type Component } from "vue";
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
@@ -1,6 +1,6 @@
1
1
  import type { ExtensionOptions } from '../../types';
2
- import { Node } from "@tiptap/core";
3
- declare module "@tiptap/core" {
2
+ import { Node } from '../../tiptap/vue-3';
3
+ declare module "@/tiptap" {
4
4
  interface Commands<ReturnType> {
5
5
  audio: {
6
6
  setAudio: (options: {
@@ -1,4 +1,4 @@
1
1
  import type { BlockquoteOptions } from "@tiptap/extension-blockquote";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const Blockquote: import("@tiptap/core").Node<ExtensionOptions & BlockquoteOptions, any>;
3
+ declare const Blockquote: import('../../tiptap/vue-3').Node<ExtensionOptions & BlockquoteOptions, any>;
4
4
  export default Blockquote;
@@ -1,4 +1,4 @@
1
1
  import type { BoldOptions } from "@tiptap/extension-bold";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const Bold: import("@tiptap/core").Mark<ExtensionOptions & BoldOptions, any>;
3
+ declare const Bold: import('../../tiptap/vue-3').Mark<ExtensionOptions & BoldOptions, any>;
4
4
  export default Bold;
@@ -1,4 +1,4 @@
1
1
  import type { BulletListOptions } from "@tiptap/extension-bullet-list";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const BulletList: import("@tiptap/core").Node<ExtensionOptions & BulletListOptions, any>;
3
+ declare const BulletList: import('../../tiptap/vue-3').Node<ExtensionOptions & BulletListOptions, any>;
4
4
  export default BulletList;
@@ -1,4 +1,4 @@
1
1
  import type { CodeOptions } from "@tiptap/extension-code";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const Code: import("@tiptap/core").Mark<ExtensionOptions & CodeOptions, any>;
3
+ declare const Code: import('../../tiptap/vue-3').Mark<ExtensionOptions & CodeOptions, any>;
4
4
  export default Code;
@@ -1,6 +1,5 @@
1
- import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
2
- import type { Decoration } from "@tiptap/pm/view";
3
- import type { Editor, Node } from "@tiptap/core";
1
+ import type { Node as ProseMirrorNode, Decoration } from '../../tiptap/pm';
2
+ import type { Editor, Node } from '../../tiptap/vue-3';
4
3
  declare const _default: import("vue").DefineComponent<{
5
4
  editor: {
6
5
  type: import("vue").PropType<Editor>;
@@ -3,7 +3,7 @@ export interface CustomCodeBlockLowlightOptions extends CodeBlockLowlightOptions
3
3
  lowlight: any;
4
4
  defaultLanguage: string | null | undefined;
5
5
  }
6
- declare module "@tiptap/core" {
6
+ declare module "@/tiptap" {
7
7
  interface Commands<ReturnType> {
8
8
  codeIndent: {
9
9
  codeIndent: () => ReturnType;
@@ -11,5 +11,5 @@ declare module "@tiptap/core" {
11
11
  };
12
12
  }
13
13
  }
14
- declare const _default: import("@tiptap/core").Node<CustomCodeBlockLowlightOptions & CodeBlockLowlightOptions, any>;
14
+ declare const _default: import('../../tiptap/vue-3').Node<CustomCodeBlockLowlightOptions & CodeBlockLowlightOptions, any>;
15
15
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/core";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  import type { Component } from "vue";
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
@@ -1,5 +1,5 @@
1
1
  import type { Component } from "vue";
2
- import type { Editor } from "@tiptap/core";
2
+ import type { Editor } from '../../tiptap/vue-3';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
5
5
  type: import("vue").PropType<Editor>;
@@ -1,4 +1,4 @@
1
1
  import type { ExtensionOptions } from '../../types';
2
2
  import type { ColorOptions } from "@tiptap/extension-color";
3
- declare const Color: import("@tiptap/core").Extension<ColorOptions & ExtensionOptions, any>;
3
+ declare const Color: import('../../tiptap/vue-3').Extension<ColorOptions & ExtensionOptions, any>;
4
4
  export default Color;
@@ -1,3 +1,3 @@
1
- import { Node } from "@tiptap/core";
1
+ import { Node } from '../../tiptap/vue-3';
2
2
  declare const Column: Node<any, any>;
3
3
  export default Column;
@@ -1,5 +1,5 @@
1
- import { Node } from "@tiptap/core";
2
- declare module "@tiptap/core" {
1
+ import { Node } from '../../tiptap/vue-3';
2
+ declare module "@/tiptap" {
3
3
  interface Commands<ReturnType> {
4
4
  columns: {
5
5
  insertColumns: (attrs?: {
@@ -1,3 +1,3 @@
1
- import { Extension } from "@tiptap/core";
1
+ import { Extension } from '../../tiptap/vue-3';
2
2
  declare const _default: Extension<any, any>;
3
3
  export default _default;
@@ -1,6 +1,6 @@
1
- import { Extension } from "@tiptap/core";
2
- import { Node, ResolvedPos } from "@tiptap/pm/model";
3
- import type { EditorView } from "@tiptap/pm/view";
1
+ import { Extension } from '../../tiptap/vue-3';
2
+ import { Node, ResolvedPos } from '../../tiptap/pm';
3
+ import type { EditorView } from '../../tiptap/pm';
4
4
  export interface ActiveNode {
5
5
  $pos: ResolvedPos;
6
6
  node: Node;
@@ -1,8 +1,8 @@
1
- import { Extension } from "@tiptap/core";
1
+ import { Extension } from '../../tiptap/vue-3';
2
2
  export type FontSizeOptions = {
3
3
  types: string[];
4
4
  };
5
- declare module "@tiptap/core" {
5
+ declare module "@/tiptap" {
6
6
  interface Commands<ReturnType> {
7
7
  fontSize: {
8
8
  setFontSize: (size: number) => ReturnType;
@@ -1,4 +1,4 @@
1
1
  import type { HeadingOptions } from "@tiptap/extension-heading";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const Blockquote: import("@tiptap/core").Node<ExtensionOptions & HeadingOptions, any>;
3
+ declare const Blockquote: import('../../tiptap/vue-3').Node<ExtensionOptions & HeadingOptions, any>;
4
4
  export default Blockquote;
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/core";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  import type { Component } from "vue";
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
@@ -1,5 +1,5 @@
1
1
  import type { Component } from "vue";
2
- import type { Editor } from "@tiptap/core";
2
+ import type { Editor } from '../../tiptap/vue-3';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
5
5
  type: import("vue").PropType<Editor>;
@@ -1,4 +1,4 @@
1
1
  import type { HighlightOptions } from "@tiptap/extension-highlight";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const Highlight: import("@tiptap/core").Mark<ExtensionOptions & HighlightOptions, any>;
3
+ declare const Highlight: import('../../tiptap/vue-3').Mark<ExtensionOptions & HighlightOptions, any>;
4
4
  export default Highlight;
@@ -1,4 +1,4 @@
1
1
  import type { HistoryOptions } from "@tiptap/extension-history";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const History: import("@tiptap/core").Extension<ExtensionOptions & HistoryOptions, any>;
3
+ declare const History: import('../../tiptap/vue-3').Extension<ExtensionOptions & HistoryOptions, any>;
4
4
  export default History;
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/core";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  import { type Component } from "vue";
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/core";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  editor: {
4
4
  type: import("vue").PropType<Editor>;
@@ -1,6 +1,5 @@
1
- import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
2
- import type { Decoration } from "@tiptap/pm/view";
3
- import type { Editor, Node } from "@tiptap/core";
1
+ import type { Node as ProseMirrorNode, Decoration } from '../../tiptap/pm';
2
+ import type { Editor, Node } from '../../tiptap/vue-3';
4
3
  declare const _default: import("vue").DefineComponent<{
5
4
  editor: {
6
5
  type: import("vue").PropType<Editor>;
@@ -1,6 +1,6 @@
1
1
  import type { ExtensionOptions } from '../../types';
2
- import { Node } from "@tiptap/core";
3
- declare module "@tiptap/core" {
2
+ import { Node } from '../../tiptap/vue-3';
3
+ declare module "@/tiptap" {
4
4
  interface Commands<ReturnType> {
5
5
  iframe: {
6
6
  setIframe: (options: {
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/core";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  import { type Component } from "vue";
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/vue-3";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  import { type Component } from "vue";
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/core";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  import { type Component } from "vue";
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/core";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  import { type Component } from "vue";
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
@@ -1,6 +1,5 @@
1
- import type { Editor, Node } from "@tiptap/core";
2
- import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
3
- import type { Decoration } from "@tiptap/pm/view";
1
+ import type { Editor, Node } from '../../tiptap/vue-3';
2
+ import type { Node as ProseMirrorNode, Decoration } from '../../tiptap/pm';
4
3
  declare const _default: import("vue").DefineComponent<{
5
4
  editor: {
6
5
  type: import("vue").PropType<Editor>;
@@ -1,4 +1,4 @@
1
1
  import type { ImageOptions } from "@tiptap/extension-image";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const Image: import("@tiptap/core").Node<ExtensionOptions & ImageOptions, any>;
3
+ declare const Image: import('../../tiptap/vue-3').Node<ExtensionOptions & ImageOptions, any>;
4
4
  export default Image;
@@ -1,5 +1,5 @@
1
- import { type KeyboardShortcutCommand, Extension } from "@tiptap/core";
2
- declare module "@tiptap/core" {
1
+ import { type KeyboardShortcutCommand, Extension } from '../../tiptap/vue-3';
2
+ declare module "@/tiptap" {
3
3
  interface Commands<ReturnType> {
4
4
  indent: {
5
5
  indent: () => ReturnType;
@@ -1,4 +1,4 @@
1
1
  import type { ItalicOptions } from "@tiptap/extension-italic";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const Italic: import("@tiptap/core").Mark<ExtensionOptions & ItalicOptions, any>;
3
+ declare const Italic: import('../../tiptap/vue-3').Mark<ExtensionOptions & ItalicOptions, any>;
4
4
  export default Italic;
@@ -1,5 +1,5 @@
1
1
  import { type Component } from "vue";
2
- import type { Editor } from "@tiptap/core";
2
+ import type { Editor } from '../../tiptap/vue-3';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
5
5
  type: import("vue").PropType<Editor>;
@@ -1,4 +1,4 @@
1
- import { Extension } from "@tiptap/core";
1
+ import { Extension } from '../../tiptap/vue-3';
2
2
  export interface NodeSelectedOptions {
3
3
  className: string;
4
4
  }
@@ -1,4 +1,4 @@
1
1
  import type { OrderedListOptions } from "@tiptap/extension-ordered-list";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const OrderedList: import("@tiptap/core").Node<ExtensionOptions & OrderedListOptions, any>;
3
+ declare const OrderedList: import('../../tiptap/vue-3').Node<ExtensionOptions & OrderedListOptions, any>;
4
4
  export default OrderedList;
@@ -1,4 +1,4 @@
1
1
  import type { StrikeOptions } from "@tiptap/extension-strike";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const Strike: import("@tiptap/core").Mark<ExtensionOptions & StrikeOptions, any>;
3
+ declare const Strike: import('../../tiptap/vue-3').Mark<ExtensionOptions & StrikeOptions, any>;
4
4
  export default Strike;
@@ -1,4 +1,4 @@
1
1
  import type { SubscriptExtensionOptions } from "@tiptap/extension-subscript";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const Subscript: import("@tiptap/core").Mark<ExtensionOptions & SubscriptExtensionOptions, any>;
3
+ declare const Subscript: import('../../tiptap/vue-3').Mark<ExtensionOptions & SubscriptExtensionOptions, any>;
4
4
  export default Subscript;
@@ -1,4 +1,4 @@
1
1
  import type { SuperscriptExtensionOptions } from "@tiptap/extension-superscript";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const Superscript: import("@tiptap/core").Mark<ExtensionOptions & SuperscriptExtensionOptions, any>;
3
+ declare const Superscript: import('../../tiptap/vue-3').Mark<ExtensionOptions & SuperscriptExtensionOptions, any>;
4
4
  export default Superscript;
@@ -1,4 +1,4 @@
1
1
  import { type TableOptions } from "@tiptap/extension-table";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const Table: import("@tiptap/core").Node<ExtensionOptions & TableOptions, any>;
3
+ declare const Table: import('../../tiptap/vue-3').Node<ExtensionOptions & TableOptions, any>;
4
4
  export default Table;
@@ -1,4 +1,4 @@
1
- import { Node } from "@tiptap/core";
1
+ import { Node } from '../../tiptap/vue-3';
2
2
  export interface TableCellOptions {
3
3
  HTMLAttributes: Record<string, any>;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Node } from "@tiptap/core";
1
+ import { Node } from '../../tiptap/vue-3';
2
2
  export interface TableCellOptions {
3
3
  HTMLAttributes: Record<string, any>;
4
4
  }
@@ -1,6 +1,5 @@
1
- import { CellSelection } from "@tiptap/pm/tables";
2
- import type { Selection, Transaction } from "@tiptap/pm/state";
3
- import { Node } from "@tiptap/pm/model";
1
+ import { Node, CellSelection } from '../../tiptap/pm';
2
+ import type { Selection, Transaction } from '../../tiptap/pm';
4
3
  export declare const selectTable: (tr: Transaction) => Transaction;
5
4
  export declare const selectColumn: (index: number) => (tr: Transaction) => Transaction;
6
5
  export declare const selectRow: (index: number) => (tr: Transaction) => Transaction;
@@ -1,4 +1,4 @@
1
1
  import type { TaskListOptions } from "@tiptap/extension-task-list";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const TaskList: import("@tiptap/core").Node<ExtensionOptions & TaskListOptions, any>;
3
+ declare const TaskList: import('../../tiptap/vue-3').Node<ExtensionOptions & TaskListOptions, any>;
4
4
  export default TaskList;
@@ -1,3 +1,3 @@
1
1
  import type { ExtensionOptions } from '../../types';
2
- declare const Text: import("@tiptap/core").Node<ExtensionOptions, any>;
2
+ declare const Text: import('../../tiptap/vue-3').Node<ExtensionOptions, any>;
3
3
  export default Text;
@@ -1,4 +1,4 @@
1
1
  import type { TextAlignOptions } from "@tiptap/extension-text-align";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const TextAlign: import("@tiptap/core").Extension<ExtensionOptions & TextAlignOptions, any>;
3
+ declare const TextAlign: import('../../tiptap/vue-3').Extension<ExtensionOptions & TextAlignOptions, any>;
4
4
  export default TextAlign;
@@ -1,4 +1,4 @@
1
- import { Extension } from "@tiptap/core";
1
+ import { Extension } from '../../tiptap/vue-3';
2
2
  /**
3
3
  * Extension based on:
4
4
  * - https://github.com/ueberdosis/tiptap/tree/main/demos/src/Experiments/TrailingNode
@@ -1,4 +1,4 @@
1
1
  import type { UnderlineOptions } from "@tiptap/extension-underline";
2
2
  import type { ExtensionOptions } from '../../types';
3
- declare const Underline: import("@tiptap/core").Mark<ExtensionOptions & UnderlineOptions, any>;
3
+ declare const Underline: import('../../tiptap/vue-3').Mark<ExtensionOptions & UnderlineOptions, any>;
4
4
  export default Underline;
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/core";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  import { type Component } from "vue";
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
@@ -1,4 +1,4 @@
1
- import type { Editor } from "@tiptap/core";
1
+ import type { Editor } from '../../tiptap/vue-3';
2
2
  import { type Component } from "vue";
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  editor: {
@@ -1,6 +1,5 @@
1
- import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
2
- import type { Decoration } from "@tiptap/pm/view";
3
- import type { Editor, Node } from "@tiptap/core";
1
+ import type { Node as ProseMirrorNode, Decoration } from '../../tiptap/pm';
2
+ import type { Editor, Node } from '../../tiptap/vue-3';
4
3
  declare const _default: import("vue").DefineComponent<{
5
4
  editor: {
6
5
  type: import("vue").PropType<Editor>;
@@ -1,6 +1,6 @@
1
1
  import type { ExtensionOptions } from '../../types';
2
- import { Node } from "@tiptap/core";
3
- declare module "@tiptap/core" {
2
+ import { Node } from '../../tiptap/vue-3';
3
+ declare module "@/tiptap" {
4
4
  interface Commands<ReturnType> {
5
5
  video: {
6
6
  setVideo: (options: {
package/dist/index.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import type { Plugin } from "vue";
2
- import RichTextEditor from "./components/Editor.vue";
3
2
  declare const plugin: Plugin;
4
3
  export default plugin;
5
- export { RichTextEditor };
6
- export * from "@tiptap/vue-3";
4
+ export * from "./tiptap";
7
5
  export * from "./extensions";
8
6
  export * from "./components";