JSFiddle - React, Tailwind, and code Playground

by John Allan

HTML

<textarea id="content"></textarea>
<input id="move" type="button">move cursor</button>

JavaScript

window.document.addEventListener