@tiptap/vue-2 3.0.0-next.5 → 3.0.0-next.7
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.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/menus/index.cjs.map +1 -1
- package/dist/menus/index.js.map +1 -1
- package/package.json +5 -5
- package/src/Editor.ts +1 -1
- package/src/EditorContent.ts +3 -2
- package/src/NodeViewContent.ts +2 -1
- package/src/NodeViewWrapper.ts +2 -1
- package/src/VueNodeViewRenderer.ts +6 -5
- package/src/VueRenderer.ts +1 -1
- package/src/menus/BubbleMenu.ts +4 -2
- package/src/menus/FloatingMenu.ts +4 -2
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-next.
|
|
4
|
+
"version": "3.0.0-next.7",
|
|
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-next.
|
|
46
|
-
"@tiptap/pm": "^3.0.0-next.
|
|
45
|
+
"@tiptap/core": "^3.0.0-next.7",
|
|
46
|
+
"@tiptap/pm": "^3.0.0-next.7",
|
|
47
47
|
"vue": "^2.7.16"
|
|
48
48
|
},
|
|
49
49
|
"optionalDependencies": {
|
|
50
|
-
"@tiptap/extension-bubble-menu": "^3.0.0-next.
|
|
51
|
-
"@tiptap/extension-floating-menu": "^3.0.0-next.
|
|
50
|
+
"@tiptap/extension-bubble-menu": "^3.0.0-next.7",
|
|
51
|
+
"@tiptap/extension-floating-menu": "^3.0.0-next.7"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@tiptap/core": "^3.0.0-next.4",
|
package/src/Editor.ts
CHANGED
package/src/EditorContent.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { Component, CreateElement, PropType } from 'vue'
|
|
2
|
+
import type Vue from 'vue'
|
|
2
3
|
|
|
3
|
-
import { Editor } from './Editor.js'
|
|
4
|
+
import type { Editor } from './Editor.js'
|
|
4
5
|
|
|
5
6
|
export interface EditorContentInterface extends Vue {
|
|
6
7
|
editor: Editor
|
package/src/NodeViewContent.ts
CHANGED
package/src/NodeViewWrapper.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { DecorationWithType,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { DecorationWithType, NodeViewProps, NodeViewRenderer, NodeViewRendererOptions } from '@tiptap/core'
|
|
2
|
+
import { NodeView } from '@tiptap/core'
|
|
3
|
+
import type { Node as ProseMirrorNode } from '@tiptap/pm/model'
|
|
4
|
+
import type { Decoration, DecorationSource, NodeView as ProseMirrorNodeView } from '@tiptap/pm/view'
|
|
4
5
|
import Vue from 'vue'
|
|
5
|
-
import { VueConstructor } from 'vue/types/umd'
|
|
6
|
+
import type { VueConstructor } from 'vue/types/umd'
|
|
6
7
|
import { booleanProp, functionProp, objectProp } from 'vue-ts-types'
|
|
7
8
|
|
|
8
|
-
import { Editor } from './Editor.js'
|
|
9
|
+
import type { Editor } from './Editor.js'
|
|
9
10
|
import { VueRenderer } from './VueRenderer.js'
|
|
10
11
|
|
|
11
12
|
export const nodeViewProps = {
|
package/src/VueRenderer.ts
CHANGED
package/src/menus/BubbleMenu.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import type { BubbleMenuPluginProps } from '@tiptap/extension-bubble-menu'
|
|
2
|
+
import { BubbleMenuPlugin } from '@tiptap/extension-bubble-menu'
|
|
3
|
+
import type { Component, CreateElement, PropType } from 'vue'
|
|
4
|
+
import type Vue from 'vue'
|
|
3
5
|
|
|
4
6
|
export interface BubbleMenuInterface extends Vue {
|
|
5
7
|
pluginKey: BubbleMenuPluginProps['pluginKey']
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import type { FloatingMenuPluginProps } from '@tiptap/extension-floating-menu'
|
|
2
|
+
import { FloatingMenuPlugin } from '@tiptap/extension-floating-menu'
|
|
3
|
+
import type { Component, CreateElement, PropType } from 'vue'
|
|
4
|
+
import type Vue from 'vue'
|
|
3
5
|
|
|
4
6
|
export interface FloatingMenuInterface extends Vue {
|
|
5
7
|
pluginKey: FloatingMenuPluginProps['pluginKey']
|