JSFiddle - React, Tailwind, and code Playground

JavaScript

$(document).keydown(function (event) {
    if (!event.metaKey) {
        console.log(event.key);
    }
});