From 19de902c3fefa400bc9dec24342eff2a438e6edf Mon Sep 17 00:00:00 2001 From: David Remer Date: Wed, 28 Jun 2023 07:31:59 +0300 Subject: [PATCH] Load editor styles in analytics [MAILPOET-5091] --- mailpoet/lib/Form/AssetsController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mailpoet/lib/Form/AssetsController.php b/mailpoet/lib/Form/AssetsController.php index cd3adfff94..7f3a84f8a2 100644 --- a/mailpoet/lib/Form/AssetsController.php +++ b/mailpoet/lib/Form/AssetsController.php @@ -160,6 +160,10 @@ EOL; ); $this->wp->wpSetScriptTranslations('automation_analytics', 'mailpoet'); + $this->wp->wpEnqueueStyle( + 'automation_editor', + Env::$assetsUrl . '/dist/css/' . $this->renderer->getCssAsset('mailpoet-automation-editor.css') + ); $this->wp->wpEnqueueStyle( 'automation_analytics', Env::$assetsUrl . '/dist/css/' . $this->renderer->getCssAsset('mailpoet-automation-analytics.css')