Resizing Codemirror 6

CodeMirror 5 doesn’t provide any specific features for this either. You should be able to style the outer (.cm-editor) element with a resize CSS property and then arrange for view.scheduleMeasure() to be called when it is actually resized so that it can update its internal layout.

1 Like