Title: Edit Window Default Height
Last modified: December 9, 2018

---

# Edit Window Default Height

 *  Resolved [robgrahamsydney](https://wordpress.org/support/users/robgrahamsydney/)
 * (@robgrahamsydney)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/edit-window-default-height/)
 * Boone,
 * The users on our site are really appreciating your work. So thank you. If you
   wanted to take a look. PocketProjectLab.org
 * I do apologize for such a trivial question. On the edit tab, the edit window 
   where we type our text always has to be resized to a greater height. Is there
   a way to change the default height?
 * Much appreciated.
 * Rob

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [David Cavins](https://wordpress.org/support/users/dcavins/)
 * (@dcavins)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/edit-window-default-height/#post-10965187)
 * Hi Rob-
 * You can use a filter like this, in your `bp-custom.php`, another plugin file,
   or your theme’s `functions.php` file:
 *     ```
       add_filter( 'bp_docs_wp_editor_args', 'dc_filter_bp_docs_editor_size' );
       function dc_filter_bp_docs_editor_size( $args ) {
           $args['textarea_rows'] = 30;
           return $args;
       }
       ```
   
 *  Thread Starter [robgrahamsydney](https://wordpress.org/support/users/robgrahamsydney/)
 * (@robgrahamsydney)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/edit-window-default-height/#post-10973541)
 * Thank you David,
 * I gave this a go but it did not increase the size of the editing area. Maybe 
   the html from that section might help. I have pasted it below. It is the height:
   591px that I want to increase the default for.
 * Your help is really appreciated.
 * Rob
 * <div id=”mceu_34″ class=”mce-edit-area mce-container mce-panel mce-stack-layout-
   item” hidefocus=”1″ tabindex=”-1″ role=”group” style=”border-width: 1px 0px 0px;”
   ><iframe id=”doc_content_ifr” frameborder=”0″ allowtransparency=”true” title=”
   Rich Text Area. Press Alt-Shift-H for help.” style=”width: 100%; height: 591px;
   display: block;”></iframe></div>
 *  Plugin Author [David Cavins](https://wordpress.org/support/users/dcavins/)
 * (@dcavins)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/edit-window-default-height/#post-10974002)
 * Hi Rob-
 * I’ve verified that the snippet as provided works. You can really blow it up to
   be sure:
 *     ```
       add_filter( 'bp_docs_wp_editor_args', 'dc_filter_bp_docs_editor_size' );
       function dc_filter_bp_docs_editor_size( $args ) {
           $args['textarea_rows'] = 60;
           return $args;
       }
       ```
   
 * If you’re not seeing any change to the height of the editor window, try putting
   the code in another file that you know is being loaded.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Edit Window Default Height’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-docs.svg)
 * [BuddyPress Docs](https://wordpress.org/plugins/buddypress-docs/)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-docs/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-docs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-docs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-docs/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [David Cavins](https://wordpress.org/support/users/dcavins/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/edit-window-default-height/#post-10974002)
 * Status: resolved