firepad
firepad copied to clipboard
Unable to make firepad automatically resize to fit it's contents
The following should work for allowing a firepad to automatically resize to fit it's contents ("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.").
Reference: http://codemirror.net/demo/resize.html
However it does not work and you are still forced to scroll through the content. I've created a gist that illustrates the issue: https://gist.github.com/axelson/9b9154c37338b6fb74c8
gist 404s! Can you make a JSFiddle?
Any updates for this? I am also struggling to get this demo to work correctly.