I have monaco editor within my ElectronJS app and I want to automatically adjust the height of the editor as user types the code. For this, I used
editor.onDidContent