BuddyDev

Search

[Resolved] Simple Front End Post – iFrame Height Issue – mce-tinymce

  • Participant
    Level: Enlightened
    Posts: 56
    John B on #25146

    On the blog creation page I’m trying to make the Rich Text area taller. The iframe id shows it as bp_simple_post_text_ifr.

    <iframe id="bp_simple_post_text_ifr" frameborder="0" allowtransparency="true" title="Rich Text Area. Press Alt-Shift-H for help." style="width: 100%; height: 154px; display: block;"></iframe>

    The height is being specified here. It’s getting 154px from somewhere. I’d like to change it. Does anyone know where I can edit this to 275px? I’ve tried to override with CSS with no luck.

    The following code doesn’t seem to help override the height.

    iframe#bp_simple_post_text_ifr {height: 275px;}

    Thanks!

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2935
    Ravi on #25152

    Hello John,

    Thank you for posting. Please modifying the “form.php” from the plugin and add extra parameter to wp_editor function.

    just add like this.

    
    wp_editor( $content, 'bp_simple_post_text', array(
    					'media_buttons' => $this->allow_upload,
    					'quicktags'     => false,
                        'editor_height' => 400,
    				) );
    

    Let me know if it works or not.

    Regards
    Ravi

  • Participant
    Level: Enlightened
    Posts: 56
    John B on #25154

    That did the trick. Thank you!!!!!!!!!!!!!!

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2935
    Ravi on #25155

    Thank You for the acknowledgement.

    Regards
    Ravi

The topic ‘ [Resolved] Simple Front End Post – iFrame Height Issue – mce-tinymce’ is closed to new replies.

This topic is: resolved