diff --git a/assets/js/src/form_editor/blocks/email/edit.jsx b/assets/js/src/form_editor/blocks/email/edit.jsx index c8786f36ea..84f5cc765f 100644 --- a/assets/js/src/form_editor/blocks/email/edit.jsx +++ b/assets/js/src/form_editor/blocks/email/edit.jsx @@ -17,6 +17,7 @@ const EmailEdit = ({ attributes, setAttributes }) => { (setAttributes({ label }))} /> { ); + + const getTextInput = (placeholder) => ( + + ); + return ( <> {inspectorControls} - {attributes.labelWithinInput ? ( - + {attributes.labelWithinInput ? (getTextInput(attributes.label) ) : ( -