WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#32593 closed defect (bug) (fixed)

wpviews: avoid resizing iframes after undo/redo

Reported by: iseulde Owned by: iseulde
Milestone: 4.3 Priority: normal
Severity: normal Version: 4.0
Component: TinyMCE Keywords: has-patch
Focuses: Cc:

Description

We could save the height from the first view in the instance so we can reuse it later.
This will prevent the editor content from moving around when undoing or redoing changes.

Attachments (2)

32593.patch (2.4 KB) - added by iseulde 6 years ago.
32593.2.patch (1.8 KB) - added by iseulde 6 years ago.

Download all attachments as: .zip

Change History (4)

@iseulde
6 years ago

#1 @iseulde
6 years ago

  • Keywords has-patch added
  • Version set to 4.0

@iseulde
6 years ago

#2 @iseulde
6 years ago

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

In 32711:

TinyMCE: wpviews: cache iframe heights

Cache iframe heights per instance so it can be reused. This will prevent to content from moving in the editor when undoing or redoing changes.

Fixes #32593.

Note: See TracTickets for help on using tickets.