diff --git a/core-blocks/paragraph/index.js b/core-blocks/paragraph/index.js index f2b9054696fa16..46caaa810c14bb 100644 --- a/core-blocks/paragraph/index.js +++ b/core-blocks/paragraph/index.js @@ -29,7 +29,6 @@ import { getColorClass, withColors, AlignmentToolbar, - BlockAlignmentToolbar, BlockControls, ColorPalette, ContrastChecker, @@ -142,7 +141,6 @@ class ParagraphBlock extends Component { content, dropCap, placeholder, - width, } = attributes; const fontSize = this.getFontSize(); @@ -234,12 +232,6 @@ class ParagraphBlock extends Component { } } isLargeText={ fontSize >= 18 } /> - - setAttributes( { width: nextWidth } ) } - /> -
+ ); + }, + }, { supports, attributes: omit( { @@ -435,7 +476,6 @@ export const settings = { save( { attributes } ) { const { - width, align, content, dropCap, @@ -452,7 +492,6 @@ export const settings = { const fontSizeClass = fontSize && FONT_SIZES[ fontSize ] && `is-${ fontSize }-text`; const className = classnames( { - [ `align${ width }` ]: width, 'has-background': backgroundColor || customBackgroundColor, 'has-drop-cap': dropCap, [ fontSizeClass ]: fontSizeClass,