[wp-trac] [WordPress Trac] #22168: wp_editor height glitch in closed/collapsed meta boxes

WordPress Trac noreply at wordpress.org
Sun Dec 16 21:46:59 UTC 2012


#22168: wp_editor height glitch in closed/collapsed meta boxes
--------------------------+----------------------
 Reporter:  nenai         |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  TinyMCE       |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------
Changes (by azaozz):

 * status:  new => closed
 * version:  3.4.2 =>
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 As @nacin said, it is a bad idea to add TinyMCE inside a draggable block.
 A workaround is to initialize it only when needed, i.e. when the metabox
 is opened or after drag-drop operation ends.

 On init TinyMCE tries to get the height from the underlying textarea. If
 that textarea is hidden its height is 0 (zero) so you will need to pass an
 extra init settings to tell TinyMCE the
 [http://www.tinymce.com/wiki.php/Configuration:height height].

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22168#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list