1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

move the line under L57

This commit is contained in:
Sosuke Suzuki
2017-03-18 14:49:46 +09:00
parent c80a26fe0b
commit af0fdb9277

View File

@@ -55,6 +55,7 @@ export default class CodeEditor extends React.Component {
indentWithTabs: this.props.indentType !== 'space',
keyMap: this.props.keyMap,
inputStyle: 'textarea',
dragDrop: false,
extraKeys: {
Tab: function (cm) {
if (cm.somethingSelected()) cm.indentSelection('add')
@@ -69,8 +70,7 @@ export default class CodeEditor extends React.Component {
'Cmd-T': function (cm) {
// Do nothing
}
},
dragDrop: false
}
})
this.setMode(this.props.mode)