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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user