From bf3c2d36f29308d57e8e56a622ed9e17bfb7f322 Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Mon, 27 May 2024 15:52:52 +0800 Subject: [PATCH] Remove client-side IS_GUTENBERG_PLUGIN check that prevents registration of pattern overrides source --- 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 5824cdde022cc6..182edc621453ed 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 );