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;
}
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>
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.