1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-06-12 17:40:27 +00:00

hot fix: Wrong behavior with Japanese IME keyboard

This commit is contained in:
Dick Choi
2016-10-18 13:42:10 +09:00
parent ac65a3c86e
commit 8f1c198406
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ export default class CodeEditor extends React.Component {
tabSize: this.props.indentSize,
indentWithTabs: this.props.indentType !== 'space',
keyMap: 'sublime',
inputStyle: 'contenteditable',
inputStyle: 'textarea',
extraKeys: {
Tab: function (cm) {
if (cm.somethingSelected()) cm.indentSelection('add')