Skip to content

Examples

Predefined Height

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

HTML

<div id="eg-predefined-height" class="text-small">
          <p>Set a specific height to the WYSIWYG HTML editor and if the text inside is longer, then the rich text editor will get a vertical scrollbar.</p>
        </div>

JAVASCRIPT

<script>
  $(function() {
    $('div#eg-predefined-height').editable({
      inlineMode: false,
      height: 300
    })
  });
</script>
File: 7090