1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

enhance Editor UX again

This commit is contained in:
Dick Choi
2016-01-09 23:17:33 +09:00
parent a505227d01
commit 3105958afb
3 changed files with 24 additions and 14 deletions

View File

@@ -95,10 +95,9 @@ export default class ModeSelect extends React.Component {
break
// esc
case 27:
e.preventDefault()
case 9:
e.stopPropagation()
this.handleBlur()
break
this.setIdle()
}
if (this.props.onKeyDown) this.props.onKeyDown(e)
}