I implemented a code using the @HostListener from '@angular/core' to get images from the clipboard, however, this code is preventing any input on the screen from being able to receive a copied text.
@HostListener('paste', ['$event'])
onPaste(event: any): void {
const files = (event.clipboardData || event.originalEvent.clipboardData).items;
...
}
Ever i paste a text in some input, onPaste method ins called and the input cannot edited by clipboard.