@contentful/field-editor-rich-text 3.9.4 → 3.10.0
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.
|
@@ -133,7 +133,7 @@ const RichTextEditor = (props)=>{
|
|
|
133
133
|
return _react.createElement(_fieldeditorreference.EntityProvider, {
|
|
134
134
|
sdk: sdk
|
|
135
135
|
}, _react.createElement(_fieldeditorshared.FieldConnector, {
|
|
136
|
-
|
|
136
|
+
debounce: 0,
|
|
137
137
|
field: sdk.field,
|
|
138
138
|
isInitiallyDisabled: isInitiallyDisabled,
|
|
139
139
|
isEmptyValue: isEmptyValue,
|
|
@@ -82,7 +82,7 @@ const EmbedEntityWidget = ({ isDisabled , canInsertBlocks })=>{
|
|
|
82
82
|
nodeType: _richtexttypes.BLOCKS.EMBEDDED_ASSET,
|
|
83
83
|
onClose: onCloseEntityDropdown
|
|
84
84
|
}));
|
|
85
|
-
const showEmbedButton = blockEntryEmbedEnabled || inlineEntryEmbedEnabled || blockAssetEmbedEnabled;
|
|
85
|
+
const showEmbedButton = blockEntryEmbedEnabled || blockResourceEmbedEnabled || inlineEntryEmbedEnabled || blockAssetEmbedEnabled;
|
|
86
86
|
return showEmbedButton ? _react.default.createElement(_EmbeddedEntityDropdownButton.EmbeddedEntityDropdownButton, {
|
|
87
87
|
isDisabled: isDisabled,
|
|
88
88
|
onClose: onCloseEntityDropdown,
|
|
@@ -71,7 +71,7 @@ const RichTextEditor = (props)=>{
|
|
|
71
71
|
return React.createElement(EntityProvider, {
|
|
72
72
|
sdk: sdk
|
|
73
73
|
}, React.createElement(FieldConnector, {
|
|
74
|
-
|
|
74
|
+
debounce: 0,
|
|
75
75
|
field: sdk.field,
|
|
76
76
|
isInitiallyDisabled: isInitiallyDisabled,
|
|
77
77
|
isEmptyValue: isEmptyValue,
|
|
@@ -33,7 +33,7 @@ export const EmbedEntityWidget = ({ isDisabled , canInsertBlocks })=>{
|
|
|
33
33
|
nodeType: BLOCKS.EMBEDDED_ASSET,
|
|
34
34
|
onClose: onCloseEntityDropdown
|
|
35
35
|
}));
|
|
36
|
-
const showEmbedButton = blockEntryEmbedEnabled || inlineEntryEmbedEnabled || blockAssetEmbedEnabled;
|
|
36
|
+
const showEmbedButton = blockEntryEmbedEnabled || blockResourceEmbedEnabled || inlineEntryEmbedEnabled || blockAssetEmbedEnabled;
|
|
37
37
|
return showEmbedButton ? React.createElement(EmbeddedEntityDropdownButton, {
|
|
38
38
|
isDisabled: isDisabled,
|
|
39
39
|
onClose: onCloseEntityDropdown,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-rich-text",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.0",
|
|
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.1.1",
|
|
45
45
|
"@contentful/f36-tokens": "^4.0.0",
|
|
46
46
|
"@contentful/f36-utils": "^4.19.0",
|
|
47
|
-
"@contentful/field-editor-reference": "^5.
|
|
48
|
-
"@contentful/field-editor-shared": "^1.
|
|
47
|
+
"@contentful/field-editor-reference": "^5.16.0",
|
|
48
|
+
"@contentful/field-editor-shared": "^1.4.0",
|
|
49
49
|
"@contentful/rich-text-plain-text-renderer": "^16.0.4",
|
|
50
50
|
"@contentful/rich-text-types": "16.1.0",
|
|
51
51
|
"@popperjs/core": "^2.11.5",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"prism-react-renderer": "2.0.5",
|
|
82
82
|
"react": ">=16.14.0"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "2db95226af0417c42aae8d1be85796fc8774e283"
|
|
85
85
|
}
|