From c1e8ced053b47607683b7fbbbdc3cb4f13fb9ffb Mon Sep 17 00:00:00 2001 From: berliner Date: Tue, 7 Mar 2023 21:39:14 +0100 Subject: [PATCH] Use frontend theme for rendering the node preview --- html/modules/custom/ncms_ui/src/Theme/ThemeNegotiator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/html/modules/custom/ncms_ui/src/Theme/ThemeNegotiator.php b/html/modules/custom/ncms_ui/src/Theme/ThemeNegotiator.php index 2f85b1bf..bdb6e7fe 100644 --- a/html/modules/custom/ncms_ui/src/Theme/ThemeNegotiator.php +++ b/html/modules/custom/ncms_ui/src/Theme/ThemeNegotiator.php @@ -64,6 +64,7 @@ public function applies(RouteMatchInterface $route_match) { $route_names = [ 'entity.node.iframe', 'entity.node.standalone', + 'entity.node.preview', 'ncms_ui.login_proxy_page', 'graphql.query.ncms', ];