[wp-trac] [WordPress Trac] #17144: Editor API enhancement

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 3 10:56:41 UTC 2011


#17144: Editor API enhancement
-------------------------+------------------
 Reporter:  azaozz       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.3
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------
Description changed by azaozz:

Old description:

> The Visual and HTML editors together with all the supporting functions
> should be combined in an easy to use API on both PHP and JS sides.
>
> On the JS side we can call the functions/methods in quicktags.js from a
> TinyMCE plugin that includes the editor switching, hiding the toolbar,
> filtering, etc. This would also make it a lot easier for plugins to use
> both editors in the same way as on the Write screen.
>
> On the PHP side we can combine all supporting functions and put them in
> the same place.

New description:

 The Visual and HTML editors together with all the supporting functions
 should be combined in an easy to use API on both PHP and JS sides.

 On the JS side we can call the functions/methods in quicktags.js from a
 TinyMCE plugin that includes the editor switching, hiding the toolbar,
 filtering, etc. This would also make it a lot easier for plugins to use
 both editors in the same way as on the Write screen.

 On the PHP side we can combine all supporting functions and put them in
 the same place.

 To do:
 - fix the blue theme to properly overwrite styles for the editors
 - remove unused styles from wp-admin.css and the colors css
 - move some of the JS that's outputted from PHP to editor.js so it can be
 cached
 - more phpdoc

--

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


More information about the wp-trac mailing list