From a14852cab9ae4fbf0a1c674aba7ca61b04882ae6 Mon Sep 17 00:00:00 2001 From: Ramon Date: Tue, 4 Jun 2024 10:09:57 +1000 Subject: [PATCH] Checking for preview mode (another way of saying canvasMode === 'view', or the editor view is not currently editable) when rendering the editor canvas container slot is a regression. Removing. (#62212) Co-authored-by: ramonjd Co-authored-by: t-hamano Co-authored-by: youknowriad --- packages/editor/src/components/editor-interface/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/components/editor-interface/index.js b/packages/editor/src/components/editor-interface/index.js index b78e3caa0b57c..386214189cfda 100644 --- a/packages/editor/src/components/editor-interface/index.js +++ b/packages/editor/src/components/editor-interface/index.js @@ -160,7 +160,7 @@ export default function EditorInterface( { { ( [ editorCanvasView ] ) => - ! isPreviewMode && editorCanvasView ? ( + editorCanvasView ? ( editorCanvasView ) : ( <>