Skip to content

Commit

Permalink
Revert "add align class to pull quote in editor (#21756)"
Browse files Browse the repository at this point in the history
This reverts commit a805410.
  • Loading branch information
draganescu committed Apr 30, 2020
1 parent 97caac7 commit 036754c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/block-library/src/pullquote/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class PullQuoteEdit extends Component {
className,
} = this.props;

const { value, citation, align } = attributes;
const { value, citation } = attributes;

const isSolidColorStyle = includes( className, SOLID_COLOR_CLASS );
const figureStyles = isSolidColorStyle
Expand All @@ -115,7 +115,6 @@ class PullQuoteEdit extends Component {
const figureClasses = classnames( className, {
'has-background': isSolidColorStyle && mainColor.color,
[ mainColor.class ]: isSolidColorStyle && mainColor.class,
[ `align${ align }` ]: align,
} );

const blockquoteStyles = {
Expand Down

0 comments on commit 036754c

Please sign in to comment.