Disable resize on textarea in form editor
[MAILPOET-2599]
This commit is contained in:
committed by
Veljko V
parent
4d524f906a
commit
4d1b589da3
@@ -125,6 +125,8 @@ const CustomTextAreaEdit = ({ attributes, setAttributes, clientId }) => {
|
|||||||
inputStyles.backgroundColor = attributes.styles.backgroundColor;
|
inputStyles.backgroundColor = attributes.styles.backgroundColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inputStyles.resize = 'none';
|
||||||
|
|
||||||
const textarea = useRef(null);
|
const textarea = useRef(null);
|
||||||
const getTextArea = (placeholder) => (
|
const getTextArea = (placeholder) => (
|
||||||
<textarea
|
<textarea
|
||||||
|
Reference in New Issue
Block a user