Fix switching between HTML blocks

[MAILPOET-2754]
This commit is contained in:
Rostislav Wolny
2020-03-10 17:22:42 +01:00
committed by Veljko V
parent 5c20c11ac9
commit 4ec53d2d52
2 changed files with 18 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ const CustomHtmlEdit = ({ attributes, setAttributes }) => {
return (
<ParagraphEdit>
{inspectorControls}
<div>
<div className="mailpoet-html-block-editor-content-wrapper">
<SandBox html={renderedContent} styles={styles} key={key} />
</div>
</ParagraphEdit>