mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
fix lint errors
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user