JSFiddle - React, Tailwind, and code Playground

HTML

<textarea id="textA"></textarea>
<span></span>

JavaScript

$(document).ready(function() {
 
	$("#textA").bind({
		copy : function(){
			$('span').text('copy behaviour detected!');
		},
		paste : function(){
			$('span').text('paste behaviour detected!');
		},
		cut : function(){
			$('span').text('cut behaviour detected!');
		}
	});
 
});