diff --git a/src/index.ts b/src/index.ts index 2eeb01f..9bfa25f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -266,6 +266,9 @@ const vimPlugin = ViewPlugin.fromClass( } }); }, + compositionstart: function(e: Event, view: EditorView) { + this.useNextTextInput = true; + }, keypress: function(e: KeyboardEvent, view: EditorView) { if (this.lastKeydown == "Dead") this.handleKey(e, view);