Skip to content

Commit

Permalink
Fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
cbravobernal committed Sep 10, 2024
1 parent a0bce8f commit 964b861
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/rich-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ export function RichTextWrapper(
selectionStart,
selectionEnd,
onSelectionChange,
placeholder: placeholder || bindingsPlaceholder,
placeholder: bindingsPlaceholder || placeholder,
__unstableIsSelected: isSelected,
__unstableDisableFormats: disableFormats,
preserveWhiteSpace,
Expand Down Expand Up @@ -406,7 +406,7 @@ export function RichTextWrapper(
aria-readonly={ shouldDisableEditing }
{ ...props }
aria-label={
props[ 'aria-label' ] || placeholder || bindingsPlaceholder
bindingsPlaceholder || props[ 'aria-label' ] || placeholder
}
{ ...autocompleteProps }
ref={ useMergeRefs( [
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/bindings/post-meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default {
for ( const [ attributeName, source ] of Object.entries( bindings ) ) {
// Use the key if the value is not set.
newValues[ attributeName ] =
metaFields?.[ source.args.key ] || source.args.key;
metaFields?.[ source.args.key ] ?? source.args.key;
}
return newValues;
},
Expand Down

0 comments on commit 964b861

Please sign in to comment.