JSFiddle - React, Tailwind, and code Playground

HTML

<div contenteditable="true">
    <div class="paragraph">Text</div>
</div>

CSS

div.paragraph:before {
    content: "☑";
}