Skip to content

Commit

Permalink
Remove image block align none control
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Apr 28, 2017
1 parent 92be486 commit b9328a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
6 changes: 0 additions & 6 deletions blocks/library/image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@ registerBlock( 'core/image', {
title: wp.i18n.__( 'Align right' ),
isActive: ( { align } ) => 'right' === align,
onClick: applyOrUnset( 'right' )
},
{
icon: 'align-none',
title: wp.i18n.__( 'No alignment' ),
isActive: ( { align } ) => ! align || 'none' === align,
onClick: applyOrUnset( 'none' )
}
],

Expand Down
6 changes: 1 addition & 5 deletions languages/gutenberg.pot
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgid "Embed"
msgstr ""

#: blocks/library/embed/index.js:33
#: blocks/library/image/index.js:81
#: blocks/library/image/index.js:75
msgid "Write caption…"
msgstr ""

Expand Down Expand Up @@ -58,10 +58,6 @@ msgstr ""
msgid "Align right"
msgstr ""

#: blocks/library/image/index.js:59
msgid "No alignment"
msgstr ""

#: blocks/library/list/index.js:11
msgid "List"
msgstr ""
Expand Down

0 comments on commit b9328a2

Please sign in to comment.