@contentful/field-editor-rich-text 3.24.0 → 3.24.2
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.
|
@@ -137,8 +137,7 @@ const RichTextEditor = (props)=>{
|
|
|
137
137
|
debounce: 0,
|
|
138
138
|
field: sdk.field,
|
|
139
139
|
isInitiallyDisabled: isInitiallyDisabled,
|
|
140
|
-
isEmptyValue: isEmptyValue
|
|
141
|
-
isEqualValues: _fastdeepequal.default
|
|
140
|
+
isEmptyValue: isEmptyValue
|
|
142
141
|
}, ({ lastRemoteValue, disabled, setValue })=>_react.createElement(ConnectedRichTextEditor, {
|
|
143
142
|
...otherProps,
|
|
144
143
|
key: `rich-text-editor-${id}`,
|
|
@@ -73,8 +73,7 @@ const RichTextEditor = (props)=>{
|
|
|
73
73
|
debounce: 0,
|
|
74
74
|
field: sdk.field,
|
|
75
75
|
isInitiallyDisabled: isInitiallyDisabled,
|
|
76
|
-
isEmptyValue: isEmptyValue
|
|
77
|
-
isEqualValues: deepEquals
|
|
76
|
+
isEmptyValue: isEmptyValue
|
|
78
77
|
}, ({ lastRemoteValue, disabled, setValue })=>React.createElement(ConnectedRichTextEditor, {
|
|
79
78
|
...otherProps,
|
|
80
79
|
key: `rich-text-editor-${id}`,
|
|
@@ -3,5 +3,5 @@ import { FieldAppSDK } from '@contentful/app-sdk';
|
|
|
3
3
|
interface SdkProviderProps {
|
|
4
4
|
sdk: FieldAppSDK;
|
|
5
5
|
}
|
|
6
|
-
export declare const SdkProvider: React.FC<SdkProviderProps
|
|
6
|
+
export declare const SdkProvider: React.FC<React.PropsWithChildren<SdkProviderProps>>, useSdkContext: () => FieldAppSDK;
|
|
7
7
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-rich-text",
|
|
3
|
-
"version": "3.24.
|
|
3
|
+
"version": "3.24.2",
|
|
4
4
|
"source": "./src/index.tsx",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@contentful/f36-icons": "^4.28.2",
|
|
45
45
|
"@contentful/f36-tokens": "^4.0.5",
|
|
46
46
|
"@contentful/f36-utils": "^4.24.3",
|
|
47
|
-
"@contentful/field-editor-reference": "^5.29.
|
|
48
|
-
"@contentful/field-editor-shared": "^1.5.
|
|
47
|
+
"@contentful/field-editor-reference": "^5.29.2",
|
|
48
|
+
"@contentful/field-editor-shared": "^1.5.4",
|
|
49
49
|
"@contentful/rich-text-plain-text-renderer": "^16.0.4",
|
|
50
50
|
"@contentful/rich-text-types": "16.5.1",
|
|
51
51
|
"@popperjs/core": "^2.11.5",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@udecode/plate-serializer-html": "30.1.2",
|
|
62
62
|
"@udecode/plate-table": "30.1.2",
|
|
63
63
|
"@udecode/plate-trailing-block": "30.1.2",
|
|
64
|
-
"constate": "3.2
|
|
64
|
+
"constate": "^3.3.2",
|
|
65
65
|
"fast-deep-equal": "^3.1.3",
|
|
66
66
|
"is-hotkey": "^0.2.0",
|
|
67
67
|
"is-plain-obj": "^3.0.0",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"registry": "https://npm.pkg.github.com/"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "f9d4036890841b8d459dd92912f2d410a8ee72f6"
|
|
90
90
|
}
|