Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#32593 closed defect (bug) (fixed)

wpviews: avoid resizing iframes after undo/redo

Reported by: iseulde's profile iseulde Owned by: iseulde's profile 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 10 years ago.
32593.2.patch (1.8 KB) - added by iseulde 10 years ago.

Download all attachments as: .zip

Change History (4)

@iseulde
10 years ago

#1 @iseulde
10 years ago

  • Keywords has-patch added
  • Version set to 4.0

@iseulde
10 years ago

#2 @iseulde
10 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.