if someone swing by:
Here is also a possible solution.
Apply this to the target-element holding the editor, like this:
.editorholder {
height: 500px;
display: flex;
flex-flow: column;
}
<div class="editorholder">
<div id="editor">
<p>Hello World!</p>
</div>
</div>