JSFiddle - React, Tailwind, and code Playground
HTML
<div id="editor" contenteditable="true"><p>​</p></div>
CSS
#editor {
border: 1px solid red;
min-height: 6em;
margin: 1em;
padding: 1eM
}
<div id="editor" contenteditable="true"><p>​</p></div>
#editor {
border: 1px solid red;
min-height: 6em;
margin: 1em;
padding: 1eM
}