JSFiddle - React, Tailwind, and code Playground

by EZSlaver

HTML

<input type="text"/>
<div id="text">
    
<div>

JavaScript

$('input').on('paste', function (e) {
    var text = "";
    for (var v in e)
    {
        text += v + ":   " + e[v] + '\n';
    }
    $('#text').text(text);
}