Setting a minimun default height to Quill text area

8th February, 2019 1 min. read

If you are planning to create a tool that includes a WYSIWYG text editor, Quill is great for that.

If you need to define a default height of the text area, since it doesn’t come with that option, just use this CSS rule:

.ql-editor{
    min-height:200px;
}

The component will adapt further if it needs more space for its content.

A kind of TIL (Today I Learned).


Spotted a typo or (likely) a grammar error? Send a pull request.