JSFiddle - React, Tailwind, and code Playground

by mgibsonbr

HTML

<input type="text"></input>
<textarea></textarea>

JavaScript

$(document).keydown(function(e) {
    if (e.keyCode == 70) { 
               return false;
     }
});

$('input[type="text"]').keydown(function(e) {
    e.stopPropagation();
});