1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 10:16:26 +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', indentWithTabs: this.props.indentType !== 'space',
keyMap: this.props.keyMap, keyMap: this.props.keyMap,
inputStyle: 'textarea', inputStyle: 'textarea',
dragDrop: false,
extraKeys: { extraKeys: {
Tab: function (cm) { Tab: function (cm) {
if (cm.somethingSelected()) cm.indentSelection('add') if (cm.somethingSelected()) cm.indentSelection('add')
@@ -69,8 +70,7 @@ export default class CodeEditor extends React.Component {
'Cmd-T': function (cm) { 'Cmd-T': function (cm) {
// Do nothing // Do nothing
} }
}, }
dragDrop: false
}) })
this.setMode(this.props.mode) this.setMode(this.props.mode)