@prosekit/react 0.3.21 → 0.3.22
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-react.js +2 -2
- package/package.json +6 -6
package/dist/prosekit-react.js
CHANGED
@@ -134,10 +134,10 @@ function useEditor(options) {
|
|
134
134
|
const forceUpdate = useForceUpdate();
|
135
135
|
useEffect2(() => {
|
136
136
|
if (update) {
|
137
|
-
const extension = union(
|
137
|
+
const extension = union(
|
138
138
|
defineMountHandler(forceUpdate),
|
139
139
|
defineUpdateHandler(forceUpdate)
|
140
|
-
|
140
|
+
);
|
141
141
|
return editor.use(extension);
|
142
142
|
}
|
143
143
|
}, [editor, update, forceUpdate]);
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/react",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.3.
|
4
|
+
"version": "0.3.22",
|
5
5
|
"private": false,
|
6
6
|
"author": {
|
7
7
|
"name": "ocavue",
|
@@ -68,8 +68,8 @@
|
|
68
68
|
"@prosemirror-adapter/react": "^0.2.6",
|
69
69
|
"react-merge-refs": "^2.1.1",
|
70
70
|
"@prosekit/core": "^0.7.8",
|
71
|
-
"@prosekit/
|
72
|
-
"@prosekit/
|
71
|
+
"@prosekit/pm": "^0.1.8",
|
72
|
+
"@prosekit/web": "^0.3.10"
|
73
73
|
},
|
74
74
|
"peerDependencies": {
|
75
75
|
"react": ">= 18.2.0",
|
@@ -88,9 +88,9 @@
|
|
88
88
|
"@types/react-dom": "^18.3.0",
|
89
89
|
"react": "^18.3.1",
|
90
90
|
"react-dom": "^18.3.1",
|
91
|
-
"tsup": "^8.2.
|
92
|
-
"typescript": "^5.5.
|
93
|
-
"vitest": "^2.0.
|
91
|
+
"tsup": "^8.2.4",
|
92
|
+
"typescript": "^5.5.4",
|
93
|
+
"vitest": "^2.0.5",
|
94
94
|
"@prosekit/dev": "0.0.0"
|
95
95
|
},
|
96
96
|
"scripts": {
|