WordPress.org

Forums

WordPress 3.9 Post Editor Text Area Size Bug (5 posts)

  1. Robert
    Member
    Posted 1 year ago #

    Upgraded to WP 3.9 and everything is working fine except an old bug reported in WP 3.5 is back.

    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 doesn't save the new window size after saving... 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.

    Let me know if you need more debug info.

    Thanks

  2. Robert
    Member
    Posted 1 year ago #

    I discovered if I'm logged in as the Administrator the post editor works fine and there's never a problem:

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

    If I log in under my Editor account the post editor size bug always occurs.

    This suggests it's a permissions problem. I log into both accounts using SSL/HTTPS.

  3. Robert
    Member
    Posted 1 year ago #

    OK - now the bug is happening when I log in as Administrator, too. Tried clearing the browser cookies and caches. No joy.

    Another symptom is sometimes the visual editor displays the scroll bar and other times it doesn't.

  4. Leonelb
    Member
    Posted 1 year ago #

    I changed:

    wp_usermeta -> wp_user-settings -> ed_size= value

    and is working for now...

  5. Robert
    Member
    Posted 1 year ago #

    I wasn't aware of that value in the database and edited the value via phpMyAdmin. It was initially set to "ed_size=620266667" and changed it to 550 pixels height and saved.

    When I opened the Visual Editor on a new post the huge window height problem was there.

    I added comments to a similar problem reported in a WordPress Trac Ticket: https://core.trac.wordpress.org/ticket/28000

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic