Skip to content

Commit

Permalink
Merge pull request #837 from WordPress/fix/669-boundaries-modifier-keys
Browse files Browse the repository at this point in the history
Dismiss block borders by key press
  • Loading branch information
aduth authored May 18, 2017
2 parents 258f24f + 1b0b7ff commit 4916db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/modes/visual-editor/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class VisualEditorBlock extends wp.element.Component {
<Slot name="Formatting.Toolbar" />
</div>
}
<div onKeyDown={ this.maybeStartTyping }>
<div onKeyPress={ this.maybeStartTyping }>
<BlockEdit
focus={ focus }
attributes={ block.attributes }
Expand Down

0 comments on commit 4916db2

Please sign in to comment.