Skip to content

Commit

Permalink
More Block: Remove duplicate block class (#42120)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored Jul 6, 2022
1 parent b452a86 commit b96de4d
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions packages/block-library/src/more/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,15 @@ export default function MoreEdit( {
</PanelBody>
</InspectorControls>
<div { ...useBlockProps() }>
<div className="wp-block-more">
<input
aria-label={ __( 'Read more link text' ) }
type="text"
value={ customText }
placeholder={ DEFAULT_TEXT }
onChange={ onChangeInput }
onKeyDown={ onKeyDown }
style={ style }
/>
</div>
<input
aria-label={ __( 'Read more link text' ) }
type="text"
value={ customText }
placeholder={ DEFAULT_TEXT }
onChange={ onChangeInput }
onKeyDown={ onKeyDown }
style={ style }
/>
</div>
</>
);
Expand Down

0 comments on commit b96de4d

Please sign in to comment.