Skip to content

Commit

Permalink
fix(ngx-jodit-pro): joditKeyUp and joditMouseup events not working
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpoemp committed Sep 26, 2023
1 parent 1b3a7a0 commit d9beb11
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit d9beb11

Please sign in to comment.