JSFiddle - React, Tailwind, and code Playground
HTML
<div class="content-editable" form-textarea font-face-frank
placeholder="Type something here..." contenteditable="true"
ng-model="form.message" ng-class="form.fontName" strip-br="true" required></div>
CSS
.content-editable {
outline-width: 0;
min-height: 1em;
max-height: 300px;
line-height: 1em;
overflow-y: scroll;
font-size: 44px;
padding: 10px;
border: 1px solid cyan;
}
JavaScript
document.getElementsByClassName('content-editable')[0].innerHTML=document.getElementsByClassName('content-editable')[0].getAttribute('placeholder');