Even after defining row height a single line textarea appears.
<textarea rows="10" id="" name="" class="editable "></textarea>
<script>var editor = new MediumEditor('.editable');
</script>
Even after defining row height a single line textarea appears.
<textarea rows="10" id="" name="" class="editable "></textarea>
<script>var editor = new MediumEditor('.editable');
</script>
You can use two different way to increase the height of an medium editor, Not a textarea.
Medium will shows a
contenteditablediv instead of textarea in the editor.OR
Contenteditable div will introduce
ptag for each line.Ref: https://github.com/yabwe/medium-editor/blob/master/demo/textarea.html