From d9beb11a02521acbafe3fc14c7696858352ead39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20P=C3=B6mp?= Date: Tue, 26 Sep 2023 09:32:12 +0200 Subject: [PATCH] fix(ngx-jodit-pro): joditKeyUp and joditMouseup events not working --- .../src/lib/ngx-jodit-pro/ngx-jodit-pro.component.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/ngx-jodit-pro/src/lib/ngx-jodit-pro/ngx-jodit-pro.component.ts b/libs/ngx-jodit-pro/src/lib/ngx-jodit-pro/ngx-jodit-pro.component.ts index 6c8e4b8..fbf3575 100644 --- a/libs/ngx-jodit-pro/src/lib/ngx-jodit-pro/ngx-jodit-pro.component.ts +++ b/libs/ngx-jodit-pro/src/lib/ngx-jodit-pro/ngx-jodit-pro.component.ts @@ -109,9 +109,15 @@ export class NgxJoditProComponent implements AfterViewInit, OnDestroy, OnChanges this.jodit.events.on('keydown', (a: KeyboardEvent) => { this.joditKeyDown.emit(a); }); + this.jodit.events.on('keyup', (a: KeyboardEvent) => { + this.joditKeyUp.emit(a); + }); this.jodit.events.on('mousedown', (a: MouseEvent) => { this.joditMousedown.emit(a); }); + this.jodit.events.on('mouseup', (a: MouseEvent) => { + this.joditMouseup.emit(a); + }); this.jodit.events.on('click', (a: PointerEvent) => { this.joditClick.emit(a); });