JSFiddle - React, Tailwind, and code Playground

HTML

<textarea></textarea>

JavaScript

'use strict';
(() => {
  document.onkeypress = ev => false;
})();