mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
hot fix: Wrong behavior with Japanese IME keyboard
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user