Make WordPress Core


Ignore:
Timestamp:
09/26/2012 03:30:21 AM (13 years ago)
Author:
azaozz
Message:

Main editor: maintain the height when switching Visual to Text and back, save the height when resizing as user state, output the height in the textarea tag when loading, (thanks @nacin for the help), fixes #21718

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r21968 r22007  
    348348<div id="postdivrich" class="postarea">
    349349
    350 <?php wp_editor($post->post_content, 'content', array('dfw' => true, 'tabfocus_elements' => 'sample-permalink,post-preview') ); ?>
     350<?php wp_editor($post->post_content, 'content', array('dfw' => true, 'tabfocus_elements' => 'sample-permalink,post-preview', 'editor_height' => 360) ); ?>
    351351
    352352<table id="post-status-info" cellspacing="0"><tbody><tr>
Note: See TracChangeset for help on using the changeset viewer.