Autoresize Demo
By setting an editor's height style
to auto and giving
the viewportMargin
a value of Infinity, CodeMirror can be made to
automatically resize to fit its content.
/usr/share/doc/libjs-codemirror/examples/resize.html (1437B)
By setting an editor's height style
to auto and giving
the viewportMargin
a value of Infinity, CodeMirror can be made to
automatically resize to fit its content.