Monaco-editor: To Fit content height by a configurable option.

Created on 20 Apr 2018  路  2Comments  路  Source: microsoft/monaco-editor

The scroll is amazing and effect. But some times, We need to edit all code without scroll.

Can add a key
fitContentHeight: true/false
to make the editor's height auto fit the content?

Just like CodeMirror does.

http://codemirror.net/demo/resize.html

feature-request

Most helpful comment

very handy feature

All 2 comments

very handy feature

Let's track in #794

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akosyakov picture akosyakov  路  3Comments

robclive picture robclive  路  3Comments

poloten4uk picture poloten4uk  路  3Comments

PinkyJie picture PinkyJie  路  3Comments

fabiospampinato picture fabiospampinato  路  3Comments