diff --git a/ElectronClient/gui/NoteEditor/NoteBody/CodeMirror/utils/useListIdent.ts b/ElectronClient/gui/NoteEditor/NoteBody/CodeMirror/utils/useListIdent.ts index bdd2cf4581f..7a681a5018c 100644 --- a/ElectronClient/gui/NoteEditor/NoteBody/CodeMirror/utils/useListIdent.ts +++ b/ElectronClient/gui/NoteEditor/NoteBody/CodeMirror/utils/useListIdent.ts @@ -141,7 +141,7 @@ export default function useListIdent(CodeMirror: any) { cm.setCursor({ line: anchor.line, ch: line.length }); cm.execCommand('insertListElement'); - cm.setOption('disableInput', true); + CodeMirror.Vim.handleKey(cm, 'i', 'macro'); }; CodeMirror.commands.insertListElement = function(cm: any) {