Skip to content

Commit

Permalink
Update packages/block-library/src/paragraph/edit.js
Browse files Browse the repository at this point in the history
Co-Authored-By: jorgefilipecosta <jorge.costa@developer.pt>
  • Loading branch information
aduth and jorgefilipecosta committed Apr 30, 2019
1 parent bdd1e0b commit 6ea624e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/paragraph/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class ParagraphBlock extends Component {
unstableOnSplit={ this.splitBlock }
onMerge={ mergeBlocks }
onReplace={ this.props.onReplace && this.onReplace }
onRemove={ this.props.onReplace && ( () => onReplace( [] ) ) }
onRemove={ onReplace && ( () => onReplace( [] ) ) }
aria-label={ content ? __( 'Paragraph block' ) : __( 'Empty block; start writing or type forward slash to choose a block' ) }
placeholder={ placeholder || __( 'Start writing or type / to choose a block' ) }
/>
Expand Down

0 comments on commit 6ea624e

Please sign in to comment.