@vonaffenfels/contentful-slate-editor 1.0.60 → 1.0.63

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonaffenfels/contentful-slate-editor",
3
- "version": "1.0.60",
3
+ "version": "1.0.63",
4
4
  "scripts": {
5
5
  "prepublish": "yarn run build",
6
6
  "dev": "yarn run start",
@@ -91,10 +91,10 @@
91
91
  "webpack-watch-files-plugin": "^1.2.1"
92
92
  },
93
93
  "dependencies": {
94
- "@vonaffenfels/slate-editor": "^1.0.60",
94
+ "@vonaffenfels/slate-editor": "^1.0.63",
95
95
  "webpack": "5.88.2"
96
96
  },
97
- "gitHead": "82ea53774b0e6a0f904cfaaca038bf0eda00af8e",
97
+ "gitHead": "fe0fcf870d95e0f1c3cc6e8edd31a4c70465df63",
98
98
  "publishConfig": {
99
99
  "access": "public"
100
100
  }
@@ -103,7 +103,11 @@ const EditorField = ({
103
103
  method: "POST",
104
104
  body: JSON.stringify({
105
105
  variables: {
106
- ...(attributes || {}),
106
+ ...({
107
+ ...attributes,
108
+ entries: null,
109
+ items: null,
110
+ } || {}),
107
111
  },
108
112
  context: {activeContent: {sys: {id: sdk?.entry?.sys?.id}}},
109
113
  }),