JSFiddle - React, Tailwind, and code Playground
HTML
<div contentEditable="true">testing....</div>
JavaScript
$('[contenteditable]').removeAttr('contenteditable');
<div contentEditable="true">testing....</div>
$('[contenteditable]').removeAttr('contenteditable');