@portabletext/plugin-sdk-value 7.0.20 → 7.0.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/README.md +8 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@portabletext/plugin-sdk-value`
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> Connect a Portable Text Editor with a Sanity document using the SDK
|
|
4
4
|
|
|
5
5
|
The SDK Value plugin provides seamless two-way synchronization between a Portable Text Editor instance and a specific field in a Sanity document. This enables real-time collaboration and ensures that changes made through the editor are immediately reflected in the document, and vice versa.
|
|
6
6
|
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @portabletext/plugin-sdk-value
|
|
11
|
+
```
|
|
12
|
+
|
|
7
13
|
## Features
|
|
8
14
|
|
|
9
15
|
- **Two-way synchronization**: Changes in the editor update the document, and document changes update the editor
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@portabletext/plugin-sdk-value",
|
|
3
|
-
"version": "7.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "7.0.22",
|
|
4
|
+
"description": "Connect a Portable Text Editor with a Sanity document using the SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"portabletext",
|
|
7
7
|
"plugin",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"typescript-eslint": "^8.48.0",
|
|
58
58
|
"vitest": "^4.1.8",
|
|
59
59
|
"vitest-browser-react": "^2.2.0",
|
|
60
|
-
"@portabletext/editor": "^7.
|
|
60
|
+
"@portabletext/editor": "^7.7.0",
|
|
61
61
|
"@portabletext/patches": "^2.0.4",
|
|
62
62
|
"@portabletext/schema": "^2.2.1",
|
|
63
63
|
"@portabletext/test": "^1.0.3"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@sanity/sdk-react": "^2.1.2",
|
|
67
67
|
"react": "^19.2",
|
|
68
68
|
"react-dom": "^19.2",
|
|
69
|
-
"@portabletext/editor": "^7.
|
|
69
|
+
"@portabletext/editor": "^7.7.0"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
72
|
"node": ">=20.19 <22 || >=22.12"
|