Disable resize on textarea in form editor

[MAILPOET-2599]
This commit is contained in:
Rostislav Wolny
2020-03-12 11:05:07 +01:00
committed by Veljko V
parent 4d524f906a
commit 4d1b589da3

View File

@@ -125,6 +125,8 @@ const CustomTextAreaEdit = ({ attributes, setAttributes, clientId }) => {
inputStyles.backgroundColor = attributes.styles.backgroundColor;
}
inputStyles.resize = 'none';
const textarea = useRef(null);
const getTextArea = (placeholder) => (
<textarea