WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#29952 closed defect (bug) (fixed)

When editor-expand is active and the window is resized, the end of a longer post may become inaccessible

Reported by: azaozz Owned by: nacin
Milestone: 4.0.1 Priority: normal
Severity: normal Version: 4.0
Component: Editor Keywords: fixed-major commit
Focuses: Cc:
PR Number:

Description

Can happen when the window is resized so that the editor body is narrower than the max-width set by the theme.

Attachments (1)

29952.diff (583 bytes) - added by jorbin 5 years ago.

Download all attachments as: .zip

Change History (7)

#1 @azaozz
5 years ago

Running another editor.execCommand( 'wpAutoResize' ); after resizing fixes it.

#2 @azaozz
5 years ago

  • Keywords fixed-major commit added

In [29886]:

Editor-expand: reset the editor height after the window is resized. Fixes #29952 for trunk.

@jorbin
5 years ago

#3 @jorbin
5 years ago

The above patch ports r29886 over to the 4.0 branch. I tested in FF 31, Chome 40 ,38 and 36 and it fixes the identified issue.

This is ready for merge.

#4 @nacin
5 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 30251:

Editor-expand: reset the editor height after the window is resized.

Merges [29886] to the 4.0 branch.

props azaozz.
fixes #29952.

#5 @boonebgorges
3 years ago

In 37600:

Add tests for no_found_rows behavior of WP_Query.

See #29952.

#6 @boonebgorges
3 years ago

Disregard comment 5 - meant to reference #29552.

Note: See TracTickets for help on using tickets.