@contentful/field-editor-rich-text 3.8.3 → 3.9.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.
|
@@ -103,6 +103,8 @@ const ConnectedRichTextEditor = (props)=>{
|
|
|
103
103
|
]);
|
|
104
104
|
const classNames = (0, _emotion.cx)(_RichTextEditorstyles.styles.editor, props.minHeight !== undefined ? (0, _emotion.css)({
|
|
105
105
|
minHeight: props.minHeight
|
|
106
|
+
}) : undefined, props.maxHeight !== undefined ? (0, _emotion.css)({
|
|
107
|
+
maxHeight: props.maxHeight
|
|
106
108
|
}) : undefined, props.isDisabled ? _RichTextEditorstyles.styles.disabled : _RichTextEditorstyles.styles.enabled, props.isToolbarHidden && _RichTextEditorstyles.styles.hiddenToolbar);
|
|
107
109
|
return _react.createElement(_SdkProvider.SdkProvider, {
|
|
108
110
|
sdk: sdk
|
|
@@ -41,6 +41,8 @@ export const ConnectedRichTextEditor = (props)=>{
|
|
|
41
41
|
]);
|
|
42
42
|
const classNames = cx(styles.editor, props.minHeight !== undefined ? css({
|
|
43
43
|
minHeight: props.minHeight
|
|
44
|
+
}) : undefined, props.maxHeight !== undefined ? css({
|
|
45
|
+
maxHeight: props.maxHeight
|
|
44
46
|
}) : undefined, props.isDisabled ? styles.disabled : styles.enabled, props.isToolbarHidden && styles.hiddenToolbar);
|
|
45
47
|
return React.createElement(SdkProvider, {
|
|
46
48
|
sdk: sdk
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-rich-text",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"source": "./src/index.tsx",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"prism-react-renderer": "2.0.5",
|
|
82
82
|
"react": ">=16.14.0"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "92c8dbd53b34e1e584588b274105ed392691fb7c"
|
|
85
85
|
}
|