JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" id="url"><br>
<div class="display"></div>
JavaScript
$(document).ready(function() {
$("#url").bind('paste', function(event) {
var _this = this;
// Short pause to wait for paste to complete
setTimeout( function() {
var text = $(_this).val();
$(".display").html(text);
}, 0);});
});