JSFiddle - React, Tailwind, and code Playground

HTML

<div contenteditable>
<p>Try to delete the following image from here:</p>
<p contenteditable="false"><img src="https://bugzilla.mozilla.org/skins/contrib/Mozilla/tabzilla.png"></p>
<p>Try to delete the preceding image from here</p>
</div>