[wp-trac] [WordPress Trac] #22708: Post edit page may become almost unusable and textarea cannot be resized

WordPress Trac noreply at wordpress.org
Tue Dec 4 01:42:32 UTC 2012


#22708: Post edit page may become almost unusable and textarea cannot be resized
-----------------------------+--------------------------
 Reporter:  knutsp           |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Editor
  Version:                   |   Severity:  normal
 Keywords:  needs-patch      |
-----------------------------+--------------------------
 I have seen a two cases where the edit page (post/page) has been
 practically unusable because the height of the editor textarea (and
 TinyMCE). It has become so large that it no longer can be adjusted back to
 normal by dragging the bottom corner. This is because this bottom is then
 somewhere thousands of screen heights scrolling down, if at all available
 (Firefox chokes).

 All meta boxes in the main column was of course also inaccessible for both
 using and moving. No way to rectify this for the end user.

 Inspecting table usermeta, meta_key user_settings for the actual user_id,
 variable ed_size, I could see a 9 or 10 digit large number (max_int?)
 stored. Setting this to 10 manually resolved the problem.

 I have no idea how this value may become so big, but it happened using
 Firefox and WordPress 3.5 RC2.

 This value needs to sanitized before saving, I think. Find a reasonable
 max value no one ever, on any kind of screen, need larger.

 This is probably a regression, and came with the new way of setting the
 size of the text editor, discussed in #21718.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22708>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list