JSFiddle - React, Tailwind, and code Playground
HTML
<textarea id="FirstTextEditor1" >Hello</textarea>
<textarea id="FirstTextEditor2" >Hello</textarea>
<textarea id="FirstTextEditor3" >Hello</textarea>
JavaScript
$(document).ready(function(){
$('textarea').focus(function(e){
var that = this;
setTimeout(
function() {
that.select()
}, 0);
});
});