Skip to content

Commit

Permalink
Explicitly return null for empty values
Browse files Browse the repository at this point in the history
  • Loading branch information
SantosGuillamot committed Sep 24, 2024
1 parent a9da96d commit 0027219
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/block-editor/src/components/rich-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
}

Expand Down

0 comments on commit 0027219

Please sign in to comment.