Skip to content

Commit

Permalink
fix: Remove block alignment from paragraph block (fix #6476)
Browse files Browse the repository at this point in the history
  • Loading branch information
tofumatt committed May 1, 2018
1 parent f037e90 commit b4a7d52
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core-blocks/paragraph/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {
getColorClass,
withColors,
AlignmentToolbar,
BlockAlignmentToolbar,
BlockControls,
ColorPalette,
ContrastChecker,
Expand Down Expand Up @@ -142,7 +141,6 @@ class ParagraphBlock extends Component {
content,
dropCap,
placeholder,
width,
} = attributes;

const fontSize = this.getFontSize();
Expand Down Expand Up @@ -234,12 +232,6 @@ class ParagraphBlock extends Component {
} }
isLargeText={ fontSize >= 18 }
/>
<PanelBody title={ __( 'Block Alignment' ) }>
<BlockAlignmentToolbar
value={ width }
onChange={ ( nextWidth ) => setAttributes( { width: nextWidth } ) }
/>
</PanelBody>
</InspectorControls>
<div>
<RichText
Expand Down

0 comments on commit b4a7d52

Please sign in to comment.