1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

fix lint errors

This commit is contained in:
Baptiste Augrain
2018-11-10 00:18:06 +01:00
parent b1d2c25ce5
commit 3679fbe3ea

View File

@@ -225,21 +225,21 @@ class MarkdownEditor extends React.Component {
const { storageKey, noteKey } = this.props const { storageKey, noteKey } = this.props
this.setState({ this.setState({
status: 'CODE' status: 'CODE'
}, () => { }, () => {
this.refs.code.focus() this.refs.code.focus()
this.refs.code.editor.execCommand('goDocEnd') this.refs.code.editor.execCommand('goDocEnd')
this.refs.code.editor.execCommand('goLineEnd') this.refs.code.editor.execCommand('goLineEnd')
this.refs.code.editor.execCommand('newlineAndIndent') this.refs.code.editor.execCommand('newlineAndIndent')
attachmentManagement.handleAttachmentDrop( attachmentManagement.handleAttachmentDrop(
this.refs.code, this.refs.code,
storageKey, storageKey,
noteKey, noteKey,
dropEvent dropEvent
) )
}) })
} }
handleKeyUp (e) { handleKeyUp (e) {