Skip to content

Commit

Permalink
Restore drop down table controls
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Aug 11, 2018
1 parent 66f22ee commit abb3228
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/block-library/src/table/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
TextControl,
Button,
Toolbar,
DropdownMenu,
} from '@wordpress/components';

import {
Expand Down Expand Up @@ -266,7 +267,13 @@ export default class extends Component {
return (
<Fragment>
<BlockControls>
<Toolbar controls={ this.getTableControls() } />
<Toolbar>
<DropdownMenu
icon="editor-table"
label={ __( 'Edit Table' ) }
controls={ this.getTableControls() }
/>
</Toolbar>
</BlockControls>
<InspectorControls>
<PanelBody title={ __( 'Table Settings' ) } className="blocks-table-settings">
Expand Down

0 comments on commit abb3228

Please sign in to comment.