JSFiddle - React, Tailwind, and code Playground

by K.J Ye

HTML

<textarea id='mytext'>Testing 1 2 3</textarea>

JavaScript

window.onload = document.getElementById('mytext').select();