[wp-trac] [WordPress Trac] #23042: Post edit page may become almost unusable and textarea resize not saved

WordPress Trac noreply at wordpress.org
Sat Dec 22 23:40:35 UTC 2012


#23042: Post edit page may become almost unusable and textarea resize not saved
--------------------------+--------------------
 Reporter:  kinderr@…     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5.1
Component:  Editor        |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+--------------------

Comment (by azaozz):

 Replying to [comment:7 kymar]:
 > To cause the editor box to re-size at 5000px height on all subsequent
 saves and opens, you need only to save a post once at > 5000px height.

 The thing is that the JS won't save 'ed_size' if the height is > 5000:
 http://core.trac.wordpress.org/browser/trunk/wp-admin/js/post.js#L704 and
 http://core.trac.wordpress.org/browser/trunk/wp-admin/js/post.js#L759

 The only logical explanation of how a height > 5000 can get in there is if
 the user has tested 3.5-beta when this was still broken. However the
 height should have been reset as soon as the user resized the editor.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23042#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list