From 0027219426d4db3b7f5c38ee7eef844724024a35 Mon Sep 17 00:00:00 2001 From: Mario Santos Date: Tue, 24 Sep 2024 13:46:52 +0200 Subject: [PATCH] Explicitly return `null` for empty values --- packages/block-editor/src/components/rich-text/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/block-editor/src/components/rich-text/index.js b/packages/block-editor/src/components/rich-text/index.js index 00024f42f794fb..9c67476ed0ea63 100644 --- a/packages/block-editor/src/components/rich-text/index.js +++ b/packages/block-editor/src/components/rich-text/index.js @@ -191,6 +191,9 @@ export function RichTextWrapper( if ( adjustedValue.length > 0 ) { return { disableBoundBlock: _disableBoundBlock, + // Null values will make them fall back to the default behavior. + bindingsPlaceholder: null, + bindingsLabel: null, }; }