[wp-trac] [WordPress Trac] #28000: Editor frame becomes huge after dragging the corner to resize it

WordPress Trac noreply at wordpress.org
Wed Apr 30 00:31:52 UTC 2014


#28000: Editor frame becomes huge after dragging the corner to resize it
--------------------------+-------------------------
 Reporter:  jupiterwise   |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.9.1
Component:  Editor        |     Version:  3.9
 Severity:  normal        |  Resolution:  fixed
 Keywords:  fixed-major   |     Focuses:  javascript
--------------------------+-------------------------

Comment (by kinderr@…):

 I've encounter a very similar problem with a huge editor size after
 upgrading to WP 3.9.

 ========== New Symptoms ========

 Upgraded to WP 3.9 and everything is working fine except an old bug
 reported in WP 3.5 is back: https://core.trac.wordpress.org/ticket/23042

 '''1st scenario: Logged in as Editor'''
 When I create a new post the editor text area is ~9 pages in height with
 no scroll bar. BTW - the post editor width is fine. If I manually drag the
 editor window control in the lower right corner to reduce the number of
 lines in the window it's fine until I save the post... the post editor is
 back to a huge vertical size.

 Running getUserSetting('ed_size') from the FireBug Javascript console in
 FireFox 28.0 results:

 Created a new post results in a huge editor text area:
 >>> getUserSetting('ed_size');
 "444266667"

 After manually resizing to the editor area to about 1 screen in height -
 the editor scroll bar now showing:
 >>> getUserSetting('ed_size');
 "535266667"

 Obviously the editor size numbers are invalid.

 Same issue when editing posts Chrome 34.0.1847.116 m.

 '''2nd Scenario: Logged in as Administrator'''
 The post editor works fine and there's never a problem with the vertical
 window size after saving a post.

 >>> getUserSetting('ed_size');
 "558"

 '''3rd Scenario: Logged in as Administrator in a new browser session;
 cleared the browser cache and cookies'''

 The post editor window height is now huge whether logged in as Editor or
 Administrator. I can manually resize the editor window just fine via the
 lower right corner handle, but it doesn't keep the new window height after
 saving the post draft.

 Let me know if you need more debug info.

 Thanks
 Robert

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28000#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list