[wp-trac] [WordPress Trac] #19173: Issues with wp_editor() when used inside of a meta box.

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 15 04:24:05 UTC 2011


#19173: Issues with wp_editor() when used inside of a meta box.
--------------------------+-------------------------
 Reporter:  goto10        |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  3.3
 Severity:  normal        |  Resolution:  maybelater
 Keywords:                |
--------------------------+-------------------------

Comment (by JPry):

 Replying to [comment:13 azaozz]:
 > Yes, looked at this yesterday in IRC and the consensus was not to try
 finding a workaround for moving TinyMCE in the DOM. Also even if we output
 a non-movable postbox, it would still move in the DOM when other postboxes
 are added/removed above or below it, so that's not going to work.

 Based on my testing, it appears that the current output for a custom
 editor when using either do_action('edit_page_form') or
 do_action('edit_form_advanced') puts the editor in the midst of the custom
 meta boxes. My assumption is that this means that the additional editors
 are still being moved in the DOM, but I admit that the DOM and how it
 changes with javascript is not something I'm really familiar with.

 Regardless of this, wouldn't it also make sense to have additional actions
 before and after the custom meta boxes that could also be hooked into?
 That can give us better control of where the additional editors are
 displayed. Of course, if I'm missing something or doing it the wrong way,
 let me know.

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


More information about the wp-trac mailing list