Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#32593 closed defect (bug) (fixed)

wpviews: avoid resizing iframes after undo/redo

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

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 11 years ago.
32593.2.patch (1.8 KB ) - added by iseulde 11 years ago.

Download all attachments as: .zip

Change History (4)

@iseulde
11 years ago

#1 @iseulde
11 years ago

  • Keywords has-patch added
  • Version4.0

@iseulde
11 years ago

#2 @iseulde
11 years ago

  • Owner set to iseulde
  • Resolutionfixed
  • Status newclosed

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.