Resize the height of the prosemirror editor to the height of the content

Hi,

How can you make the prosemirror editor resize so that the height of the editor window expands to be the same as the height of the content? I find this a substantial ergonomic improvement as it means there is only one scroll bar for the whole page, instead of one for the page, and then a second one for the editor.

This is the default behavior you get when you don’t give it a fixed height and overflow style.

1 Like

Thank you, makes sense. I did not find any mention of how to do this in the documentation.