From 5305939606ecd38ff4ab0b1ecda124a9f5cb9aea Mon Sep 17 00:00:00 2001 From: sabrina-bongiovanni <116291154+sabrina-bongiovanni@users.noreply.github.com> Date: Tue, 16 Jan 2024 12:57:52 +0100 Subject: [PATCH] fix: added type button to pop up button for html block editor (#474) --- .../volto/components/manage/Blocks/HTML/Edit.jsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/customizations/volto/components/manage/Blocks/HTML/Edit.jsx b/src/customizations/volto/components/manage/Blocks/HTML/Edit.jsx index 54df6652f..3633823e9 100644 --- a/src/customizations/volto/components/manage/Blocks/HTML/Edit.jsx +++ b/src/customizations/volto/components/manage/Blocks/HTML/Edit.jsx @@ -259,6 +259,7 @@ class Edit extends Component { aria-label={this.props.intl.formatMessage(messages.source)} active={!this.state.isPreview} onClick={this.onCodeEditor} + type="button" > @@ -275,6 +276,7 @@ class Edit extends Component { aria-label={this.props.intl.formatMessage(messages.preview)} active={this.state.isPreview} onClick={this.onPreview} + type="button" > @@ -290,6 +292,7 @@ class Edit extends Component { basic aria-label={this.props.intl.formatMessage(messages.prettier)} onClick={this.onPrettify} + type="button" > @@ -302,7 +305,12 @@ class Edit extends Component { -