@tiptap/vue-2 3.0.0-beta.0 → 3.0.0-beta.2

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.0.0-beta.0",
4
+ "version": "3.0.0-beta.2",
5
5
  "homepage": "https://tiptap.dev",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -42,13 +42,13 @@
42
42
  "vue-ts-types": "1.6.2"
43
43
  },
44
44
  "devDependencies": {
45
- "@tiptap/core": "^3.0.0-beta.0",
46
- "@tiptap/pm": "^3.0.0-beta.0",
45
+ "@tiptap/core": "^3.0.0-beta.2",
46
+ "@tiptap/pm": "^3.0.0-beta.2",
47
47
  "vue": "^2.7.16"
48
48
  },
49
49
  "optionalDependencies": {
50
- "@tiptap/extension-bubble-menu": "^3.0.0-beta.0",
51
- "@tiptap/extension-floating-menu": "^3.0.0-beta.0"
50
+ "@tiptap/extension-bubble-menu": "^3.0.0-beta.2",
51
+ "@tiptap/extension-floating-menu": "^3.0.0-beta.2"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@tiptap/core": "^3.0.0-beta.0",
@@ -105,9 +105,7 @@ class VueNodeView extends NodeView<Vue | VueConstructor, Editor, VueNodeViewRend
105
105
  return null
106
106
  }
107
107
 
108
- const contentElement = this.dom.querySelector('[data-node-view-content]')
109
-
110
- return (contentElement || this.dom) as HTMLElement | null
108
+ return this.dom.querySelector('[data-node-view-content]') as HTMLElement | null
111
109
  }
112
110
 
113
111
  /**