JSFiddle - React, Tailwind, and code Playground

HTML

<div id="editableDiv">
    <textarea id="editText" placeholder="This is my placeholder"></textarea>
</div>

CSS

#editableDiv {
    width: 400px;
    height: 200px;
}

#editText {
    width: 100%;
    height: 100%;
}