Skip to content

Commit

Permalink
Merge pull request #527 from wordpress-mobile/issue/add-image-setting…
Browse files Browse the repository at this point in the history
…s-button

Implementing InspectorControls.Slot for inline toolbar buttons.
  • Loading branch information
etoledom authored Jan 31, 2019
2 parents bc8fde1 + 62b48f3 commit e57deec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/block-management/inline-toolbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { View } from 'react-native';
import InlineToolbarActions from './actions';
import { ToolbarButton } from '@wordpress/components';
import { __ } from '@wordpress/i18n';
import { InspectorControls } from '@wordpress/editor';

type PropsType = {
clientId: string,
Expand Down Expand Up @@ -59,6 +60,8 @@ export default class InlineToolbar extends React.Component<PropsType> {

<View style={ styles.spacer } />

<InspectorControls.Slot />

<ToolbarButton
label={ __( 'Remove content' ) }
onClick={ this.onDeletePressed }
Expand Down

0 comments on commit e57deec

Please sign in to comment.