0

I have images inserted into the editor content area and I need to handle these images clicks. I need to know what the image was clicked on.

Whether is this possible, how do I do this? Just the idea.

Thanks for advance!

1 Answer 1

0
  @HostListener('window:click', ['$event'])
  handleClick(event: MouseEvent) {
    if (event?.target['src']) {
      this.handleEditorImageClick(event);
    }
  }

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.