JSFiddle - React, Tailwind, and code Playground

by Soltuts Tutorial

HTML

<!DOCTYPE html>
<html>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<input type = "text" id="mytext">Copy, cut and paste function doesn't work here.

</body>
</html>
<!-- see more https://soltuts.com -->

JavaScript

$(document).ready(function() {
  $('#mytext').bind("cut copy paste", function(e) {
    e.preventDefault();
  });
});