[wp-trac] [WordPress Trac] #19658: action hooks for after_title and after_editor needed to utiliize wp_editor
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 24 06:45:33 UTC 2011
#19658: action hooks for after_title and after_editor needed to utiliize wp_editor
-------------------------+-----------------------------
Reporter: stonefree | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3
Severity: normal | Keywords:
-------------------------+-----------------------------
I was pretty excited about the new wp_editor function, but the current
hooks make it difficult to utilize. TinyMCE is problematic inside
meta_boxes, but "edit_form_advanced' and 'dbx_post_sidebar' are not ideal
alternatives because they output content after meta boxes, including
comments box. Ideally all form fields should be at the top. It looks
awkward otherwise, especially for clients. I have attached a picture to
demonstrate.
I am proposing the following additions to edit-form-advanced.php
{{{
do_action ( 'after_title' ); //line 316, after the title div
do_action ( 'after_editor ' ); //line 340 , after the editor div
}}}
The after_title would be helpful as a way to label what content to put in
the standard editor for CPTs.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19658>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list