JSFiddle - React, Tailwind, and code Playground

by NerfAnarchist

HTML

<div>Right click on me you will not get a context menu.</div>

JavaScript

// this is how to prevent a context menu from appearing
$('div').get(0).oncontextmenu = function () {return false; };