From a99575c2ea44bc5c5fd172e755f52c16b945d299 Mon Sep 17 00:00:00 2001 From: Ella <4710635+ellatrix@users.noreply.github.com> Date: Fri, 19 Jan 2024 21:44:57 +0100 Subject: [PATCH] Block editor: don't register shortcut for 'inert' editor (#57984) --- packages/block-editor/src/components/provider/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/provider/index.js b/packages/block-editor/src/components/provider/index.js index c3a87dfb5ff00..b140a2af8c095 100644 --- a/packages/block-editor/src/components/provider/index.js +++ b/packages/block-editor/src/components/provider/index.js @@ -46,7 +46,9 @@ export const ExperimentalBlockEditorProvider = withRegistryProvider( return ( - + { ! settings.__unstableIsPreviewMode && ( + + ) } { children } );