Skip to content

Commit

Permalink
Search block: Use ellipsis at end of input placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
noisysocks committed Feb 1, 2019
1 parent 0d3fb09 commit d87c67d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/block-library/src/search/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function SearchEdit( { className, attributes, setAttributes } ) {
<RichText
wrapperClassName="wp-block-search__label"
aria-label={ __( 'Label text' ) }
placeholder={ __( 'Add label' ) }
placeholder={ __( 'Add label' ) }
keepPlaceholderOnFocus
formattingControls={ [] }
value={ label }
Expand All @@ -21,15 +21,15 @@ export default function SearchEdit( { className, attributes, setAttributes } ) {
<input
className="wp-block-search__input"
aria-label={ __( 'Optional placeholder text' ) }
placeholder={ __( 'Optional placeholder' ) }
placeholder={ __( 'Optional placeholder' ) }
value={ placeholder }
onChange={ ( event ) => setAttributes( { placeholder: event.target.value } ) }
/>
<RichText
wrapperClassName="wp-block-search__button"
className="wp-block-search__button-rich-text"
aria-label={ __( 'Button text' ) }
placeholder={ __( 'Add button text' ) }
placeholder={ __( 'Add button text' ) }
keepPlaceholderOnFocus
formattingControls={ [] }
value={ buttonText }
Expand Down

0 comments on commit d87c67d

Please sign in to comment.