From 42735bf77813bea18eeb6732fffb6a6038c20a76 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Mon, 16 Oct 2023 13:40:07 +0100 Subject: [PATCH] Set isPreview when generating block preview in switcher --- assets/js/blocks/classic-shortcode/index.tsx | 5 ++++- assets/js/blocks/classic-template/index.tsx | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/assets/js/blocks/classic-shortcode/index.tsx b/assets/js/blocks/classic-shortcode/index.tsx index 38e65aa96b9..d9daca4a73f 100644 --- a/assets/js/blocks/classic-shortcode/index.tsx +++ b/assets/js/blocks/classic-shortcode/index.tsx @@ -156,7 +156,10 @@ const ConvertTemplate = ( { blockifyConfig, clientId, attributes } ) => { } } > { } } >