@tiptap/vue-2 3.15.2 → 3.16.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiptap/vue-2",
3
3
  "description": "Vue components for tiptap",
4
- "version": "3.15.2",
4
+ "version": "3.16.0",
5
5
  "homepage": "https://tiptap.dev",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -43,17 +43,17 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "vue": "^2.7.16",
46
- "@tiptap/core": "^3.15.2",
47
- "@tiptap/pm": "^3.15.2"
46
+ "@tiptap/core": "^3.16.0",
47
+ "@tiptap/pm": "^3.16.0"
48
48
  },
49
49
  "optionalDependencies": {
50
- "@tiptap/extension-bubble-menu": "^3.15.2",
51
- "@tiptap/extension-floating-menu": "^3.15.2"
50
+ "@tiptap/extension-bubble-menu": "^3.16.0",
51
+ "@tiptap/extension-floating-menu": "^3.16.0"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "vue": "^2.6.0",
55
- "@tiptap/core": "^3.15.2",
56
- "@tiptap/pm": "^3.15.2"
55
+ "@tiptap/core": "^3.16.0",
56
+ "@tiptap/pm": "^3.16.0"
57
57
  },
58
58
  "repository": {
59
59
  "type": "git",
@@ -5,8 +5,10 @@ import type Vue from 'vue'
5
5
 
6
6
  export interface FloatingMenuInterface extends Vue {
7
7
  pluginKey: FloatingMenuPluginProps['pluginKey']
8
- options: FloatingMenuPluginProps['options']
9
8
  editor: FloatingMenuPluginProps['editor']
9
+ updateDelay: FloatingMenuPluginProps['updateDelay']
10
+ resizeDelay: FloatingMenuPluginProps['resizeDelay']
11
+ options: FloatingMenuPluginProps['options']
10
12
  appendTo: FloatingMenuPluginProps['appendTo']
11
13
  shouldShow: FloatingMenuPluginProps['shouldShow']
12
14
  }
@@ -25,6 +27,14 @@ export const FloatingMenu: Component = {
25
27
  required: true,
26
28
  },
27
29
 
30
+ updateDelay: {
31
+ type: Number as PropType<FloatingMenuPluginProps['updateDelay']>,
32
+ },
33
+
34
+ resizeDelay: {
35
+ type: Number as PropType<FloatingMenuPluginProps['resizeDelay']>,
36
+ },
37
+
28
38
  options: {
29
39
  type: Object as PropType<FloatingMenuPluginProps['options']>,
30
40
  default: () => ({}),
@@ -64,6 +74,8 @@ export const FloatingMenu: Component = {
64
74
  pluginKey: this.pluginKey,
65
75
  editor,
66
76
  element: this.$el as HTMLElement,
77
+ updateDelay: this.updateDelay,
78
+ resizeDelay: this.resizeDelay,
67
79
  options: this.options,
68
80
  appendTo: this.appendTo,
69
81
  shouldShow: this.shouldShow,