Skip to content

Commit

Permalink
Add saved blocks preview available to keyboard users (WordPress#5163)
Browse files Browse the repository at this point in the history
* Fix build instructions

It's need run "npm run build" to build the files.

* Update gutenberg.php

* Add saved blocks preview available to keyboard users
  • Loading branch information
Rahmon authored and aduth committed Feb 23, 2018
1 parent 9781800 commit f351ae0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/components/inserter/group.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ export default class InserterGroup extends Component {
disabled={ item.isDisabled }
onMouseEnter={ this.createToggleBlockHover( item ) }
onMouseLeave={ this.createToggleBlockHover( null ) }
onFocus={ this.createToggleBlockHover( item ) }
onBlur={ this.createToggleBlockHover( null ) }
>
<BlockIcon icon={ item.icon } />
{ item.title }
Expand Down

0 comments on commit f351ae0

Please sign in to comment.