Skip to content

Commit

Permalink
Center the textAlignment by default
Browse files Browse the repository at this point in the history
Co-authored-by: Gerardo Pacheco <[email protected]>
  • Loading branch information
enejb and Gerardo Pacheco committed Oct 5, 2021
1 parent 492efdd commit bbc9288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/pullquote/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function PullQuoteEdit( props ) {
// translators: placeholder text used for the quote
__( 'Add quote' )
}
textAlign={ textAlign }
textAlign={ textAlign ?? 'center' }
/>
{ shouldShowCitation && (
<RichText
Expand All @@ -114,7 +114,7 @@ function PullQuoteEdit( props ) {
} )
}
__unstableMobileNoFocusOnMount
textAlign={ textAlign }
textAlign={ textAlign ?? 'center' }
__unstableOnSplitAtEnd={ () =>
insertBlocksAfter(
createBlock( 'core/paragraph' )
Expand Down

0 comments on commit bbc9288

Please sign in to comment.