From d288da89849b6222e729ee232ce4d7c45c7f9125 Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Tue, 28 May 2024 09:52:23 +0800 Subject: [PATCH] Remove client-side IS_GUTENBERG_PLUGIN check that prevents registration of pattern overrides source (#62011) Co-authored-by: talldan Co-authored-by: SantosGuillamot --- packages/editor/src/bindings/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/editor/src/bindings/index.js b/packages/editor/src/bindings/index.js index 5824cdde022cc..182edc621453e 100644 --- a/packages/editor/src/bindings/index.js +++ b/packages/editor/src/bindings/index.js @@ -12,7 +12,4 @@ import postMeta from './post-meta'; const { registerBlockBindingsSource } = unlock( dispatch( blocksStore ) ); registerBlockBindingsSource( postMeta ); - -if ( globalThis.IS_GUTENBERG_PLUGIN ) { - registerBlockBindingsSource( patternOverrides ); -} +registerBlockBindingsSource( patternOverrides );