JSFiddle - React, Tailwind, and code Playground

HTML

<div contenteditable="true">
Some Content
</div>
<div contenteditable="true">
Some More Content
</div>

JavaScript

$('div').first().focus();

$('div').bind("selectstart", function() {
    $('div').attr("contenteditable", false);
});