Skip to content

Commit

Permalink
Block: Remove unused block classname constant
Browse files Browse the repository at this point in the history
Originally used for down-to-new-paragraph in #3973, removed as of #5271
  • Loading branch information
aduth committed Mar 6, 2018
1 parent 59f381c commit 95a4d31
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions editor/components/block-list/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ export class BlockListBlock extends Component {
onMouseDown={ this.onPointerDown }
onKeyDown={ this.onKeyDown }
onFocus={ this.onFocus }
className={ BlockListBlock.className }
className="editor-block-list__block-edit"
aria-label={ blockLabel }
data-block={ block.uid }
>
Expand Down Expand Up @@ -757,8 +757,6 @@ const mapDispatchToProps = ( dispatch, ownProps ) => ( {
},
} );

BlockListBlock.className = 'editor-block-list__block-edit';

BlockListBlock.childContextTypes = {
BlockList: noop,
canUserUseUnfilteredHTML: noop,
Expand Down

0 comments on commit 95a4d31

Please sign in to comment.