@contentful/field-editor-rich-text 2.0.0-next.6 → 2.0.0-next.7
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/field-editor-rich-text.cjs.development.js +2 -2
- package/dist/field-editor-rich-text.cjs.development.js.map +1 -1
- package/dist/field-editor-rich-text.cjs.production.min.js +1 -1
- package/dist/field-editor-rich-text.cjs.production.min.js.map +1 -1
- package/dist/field-editor-rich-text.esm.js +2 -2
- package/dist/field-editor-rich-text.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -342,8 +342,8 @@ var schema = {
|
|
|
342
342
|
function getContentfulEditorId(sdk) {
|
|
343
343
|
var entry = sdk.entry,
|
|
344
344
|
field = sdk.field;
|
|
345
|
-
var
|
|
346
|
-
return "rich-text-editor-" +
|
|
345
|
+
var sys = entry.getSys();
|
|
346
|
+
return "rich-text-editor-" + sys.id + "-" + field.id + "-" + field.locale;
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
function useContentfulEditorHook(_ref) {
|