Skip to content
.github-star { padding-left: 15px; margin-bottom: 15px; }

Editor size

Predefined Height

Try it yourself:

Set a specific height to the WYSIWYG HTML editor using the height option. If the text inside is longer, then the rich text editor will get a vertical scrollbar.


Edit in JSFiddle

HTML

<div id="froala-editor">
  <p>Set a specific height to the WYSIWYG HTML editor using the <a href="../docs/options#height" title="height option" target="_blank">height</a> option. If the text inside is longer, then the rich text editor will get a vertical scrollbar.</p>
</div>

JAVASCRIPT

<script>
  new FroalaEditor('div#froala-editor', {
    height: 300
  })
</script>
File: 1535