@prosekit/vue 0.3.20 → 0.3.21
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/prosekit-vue.js +2 -2
- package/package.json +6 -6
package/dist/prosekit-vue.js
CHANGED
@@ -151,10 +151,10 @@ function useEditor(options) {
|
|
151
151
|
if (update) {
|
152
152
|
onMounted(() => {
|
153
153
|
const forceUpdate = () => triggerRef(editorRef);
|
154
|
-
const extension = union(
|
154
|
+
const extension = union(
|
155
155
|
defineMountHandler(forceUpdate),
|
156
156
|
defineUpdateHandler(forceUpdate)
|
157
|
-
|
157
|
+
);
|
158
158
|
const dispose = editor.use(extension);
|
159
159
|
onUnmounted(dispose);
|
160
160
|
});
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/vue",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.3.
|
4
|
+
"version": "0.3.21",
|
5
5
|
"private": false,
|
6
6
|
"author": {
|
7
7
|
"name": "ocavue",
|
@@ -68,7 +68,7 @@
|
|
68
68
|
"@prosemirror-adapter/vue": "^0.2.6",
|
69
69
|
"@prosekit/core": "^0.7.8",
|
70
70
|
"@prosekit/pm": "^0.1.8",
|
71
|
-
"@prosekit/web": "^0.3.
|
71
|
+
"@prosekit/web": "^0.3.10"
|
72
72
|
},
|
73
73
|
"peerDependencies": {
|
74
74
|
"vue": ">= 3.0.0"
|
@@ -80,10 +80,10 @@
|
|
80
80
|
},
|
81
81
|
"devDependencies": {
|
82
82
|
"@vue/test-utils": "^2.4.6",
|
83
|
-
"tsup": "^8.2.
|
84
|
-
"typescript": "^5.5.
|
85
|
-
"vitest": "^2.0.
|
86
|
-
"vue": "^3.4.
|
83
|
+
"tsup": "^8.2.4",
|
84
|
+
"typescript": "^5.5.4",
|
85
|
+
"vitest": "^2.0.5",
|
86
|
+
"vue": "^3.4.35",
|
87
87
|
"@prosekit/dev": "0.0.0"
|
88
88
|
},
|
89
89
|
"scripts": {
|