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); });