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

**URL:** <https://discuss.prosemirror.net/t/resize-the-height-of-the-prosemirror-editor-to-the-height-of-the-content/8995>\
**Category:** Uncategorized\
**Created:** [April 6, 2026, 8:45am UTC](https://discuss.prosemirror.net/t/resize-the-height-of-the-prosemirror-editor-to-the-height-of-the-content/8995 "2026-04-06T08:45:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![robehickman](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/robehickman/32/4755_2.png) [@robehickman](https://discuss.prosemirror.net/u/robehickman)\
**Post date:** [April 6, 2026, 8:45am UTC](https://discuss.prosemirror.net/t/resize-the-height-of-the-prosemirror-editor-to-the-height-of-the-content/8995/1 "2026-04-06T08:45:12Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![marijn](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/marijn/32/15_2.png) [@marijn](https://discuss.prosemirror.net/u/marijn)\
**Post date:** [April 6, 2026, 8:45am UTC](https://discuss.prosemirror.net/t/resize-the-height-of-the-prosemirror-editor-to-the-height-of-the-content/8995/2 "2026-04-06T08:45:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![robehickman](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/robehickman/32/4755_2.png) [@robehickman](https://discuss.prosemirror.net/u/robehickman)\
**Post date:** [April 6, 2026, 9:04am UTC](https://discuss.prosemirror.net/t/resize-the-height-of-the-prosemirror-editor-to-the-height-of-the-content/8995/3 "2026-04-06T09:04:59Z")

</div>

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