diff --git a/src/Jodit.ts b/src/Jodit.ts index 92c75845f..cf796cc60 100644 --- a/src/Jodit.ts +++ b/src/Jodit.ts @@ -1330,6 +1330,9 @@ export class Jodit extends ViewWithToolbar implements IJodit { this.setCurrentPlace(place); } }) + .on(editor, 'compositionend', () => { + this.setEditorValue(); + }) .on( editor, 'selectionchange selectionstart keydown keyup keypress dblclick mousedown mouseup ' + @@ -1338,6 +1341,9 @@ export class Jodit extends ViewWithToolbar implements IJodit { if (this.options.readonly) { return; } + if (event instanceof KeyboardEvent && event.isComposing) { + return; + } if (this.events && this.events.fire) { if (this.events.fire(event.type, event) === false) {