Skip to content

Commit

Permalink
Revert changes to placeholder prop
Browse files Browse the repository at this point in the history
  • Loading branch information
SantosGuillamot committed Sep 16, 2024
1 parent a04dba1 commit 7efe172
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/block-editor/src/components/rich-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,7 @@ export function RichTextWrapper(
selectionStart,
selectionEnd,
onSelectionChange,
placeholder: props[ 'data-custom-placeholder' ]
? placeholder
: bindingsPlaceholder || placeholder,
placeholder: bindingsPlaceholder || placeholder,
__unstableIsSelected: isSelected,
__unstableDisableFormats: disableFormats,
preserveWhiteSpace,
Expand Down

0 comments on commit 7efe172

Please sign in to comment.