JSFiddle - React, Tailwind, and code Playground
HTML
<textarea rows="5" cols="30">Enter text here.</textarea>
JavaScript
$(function() {
$("textarea").focus(function(event) {
// Erase text from inside textarea
$(this).text("");
// Disable text erase
$(this).unbind(event);
});
});