@vonaffenfels/contentful-slate-editor 1.2.19 → 1.2.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/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@vonaffenfels/contentful-slate-editor",
3
- "version": "1.2.19",
3
+ "version": "1.2.21",
4
+ "description": "slate editor for contentful",
4
5
  "scripts": {
5
6
  "prepublish": "yarn run build",
6
7
  "dev": "yarn run start",
@@ -98,7 +99,7 @@
98
99
  "@vonaffenfels/slate-editor": "^1.2.19",
99
100
  "webpack": "5.88.2"
100
101
  },
101
- "gitHead": "aa2e077d950ae577347ebe01cd13860321b5141b",
102
+ "gitHead": "163e4781b8ea7eded968657e15000bab909ee124",
102
103
  "publishConfig": {
103
104
  "access": "public"
104
105
  }
@@ -109,7 +109,7 @@ const EditorField = ({
109
109
  entries: null,
110
110
  } || {}),
111
111
  },
112
- context: {activeContent: {sys: {id: entrySdk?.sys?.id}}},
112
+ context: {activeContent: {sys: {id: entrySdk.getSys().id}}},
113
113
  }),
114
114
  }).then(res => res.json()).catch(err => {
115
115
  console.error(err);