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

fix IME popup bug

This commit is contained in:
Dick Choi
2016-10-17 18:58:28 +09:00
parent a52cfb2cd2
commit 247d1db5d5

View File

@@ -50,6 +50,7 @@ export default class CodeEditor extends React.Component {
tabSize: this.props.indentSize,
indentWithTabs: this.props.indentType !== 'space',
keyMap: 'sublime',
inputStyle: 'contenteditable',
extraKeys: {
Tab: function (cm) {
if (cm.somethingSelected()) cm.indentSelection('add')