JSFiddle - React, Tailwind, and code Playground

by neonms92

HTML

<input id="daPut" value="_">
<div id="daDiv"></div>

JavaScript

$('input').on('paste', function(e) {
    $('#daDiv').html(e.originalEvent.clipboardData.getData("Text/Html"));
});