Add proper body class for the email editor to mark it a block editor
This class is needed so that some CSS rules (e.g. white background, hidden footer) are applied for WP admin. [MAILPOET-5854]
This commit is contained in:
committed by
Jan Lysý
parent
414e540f33
commit
cc8bb10d8b
@@ -69,6 +69,6 @@ class EmailEditor {
|
||||
// Enqueue media library scripts
|
||||
$this->wp->wpEnqueueMedia();
|
||||
|
||||
echo '<div id="mailpoet-email-editor"></div>';
|
||||
echo '<div id="mailpoet-email-editor" class="block-editor"></div>';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user