Currently diving into the world of JavaScript, so please keep that in mind when explaining.
My main goal is to figure out a way to detect when a user triggers a right-click or uses the context menu from the keyboard. Specifically, I want to know if they selected the 'paste' option from the context menu. I am aware of the onPaste
event handler, but I am looking for an alternative method to achieve this.