Post edit page may become almost unusable and textarea cannot be resized
|Reported by:||knutsp||Owned by:||azaozz|
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.
Change History (23)
- Owner set to azaozz
- Resolution set to fixed
- Status changed from new to closed
3 years ago
- Keywords needs-patch added; has-patch removed
- Resolution fixed deleted
- Severity changed from normal to major
- Status changed from closed to reopened
- Keywords has-patch added; needs-patch removed
- Severity changed from major to normal