[wp-trac] [WordPress Trac] #31480: TinyMCE resize sandbox iFrame when images load

WordPress Trac noreply at wordpress.org
Mon Apr 6 13:31:58 UTC 2015


#31480: TinyMCE resize sandbox iFrame when images load
--------------------------+------------------
 Reporter:  mattheu       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.2
Component:  TinyMCE       |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------

Comment (by iseulde):

 > Do you think we should debounce these calls to resize?

 The callback is only called once.

 > I think the image has already loaded before you're attaching resize to
 the load event.

 Wouldn't moving it before `iframeDoc.write` work?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31480#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list