From bf5393db366dab8e5e9cd42b75a5cb85e0f49e0e Mon Sep 17 00:00:00 2001 From: Jerry Jones Date: Tue, 1 Oct 2024 09:45:18 -0500 Subject: [PATCH] Fix accidental removal --- .../block-editor/src/components/block-tools/zoom-out-toolbar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-editor/src/components/block-tools/zoom-out-toolbar.js b/packages/block-editor/src/components/block-tools/zoom-out-toolbar.js index 7b7de716984644..f2c073117d2ce8 100644 --- a/packages/block-editor/src/components/block-tools/zoom-out-toolbar.js +++ b/packages/block-editor/src/components/block-tools/zoom-out-toolbar.js @@ -135,6 +135,7 @@ export default function ZoomOutToolbar( { clientId, __unstableContentRef } ) { } __unstableSetEditorMode( 'edit' ); resetZoomLevel(); + __unstableContentRef.current?.focus(); } } /> ) }