mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Merge pull request #267 from asmsuechan/fix-ctrl-e-shortcut
Fix Ctrl + E shortcut on escape from CodeEditor
This commit is contained in:
@@ -77,6 +77,7 @@ class MarkdownEditor extends React.Component {
|
||||
}
|
||||
|
||||
handleBlur (e) {
|
||||
this.setState({ keyPressed: [] })
|
||||
let { config } = this.props
|
||||
if (config.editor.switchPreview === 'BLUR') {
|
||||
let cursorPosition = this.refs.code.editor.getCursor()
|
||||
|
||||
Reference in New Issue
Block a user