Editor API enhancement
|Reported by:||azaozz||Owned by:|
|Cc:||trac@…, aaroncampbell, mikeschinkel@…, Ken@…, info@…, bainternet, nerrad, frank@…, dcox@…, xazure, ipstenu@…, anointed, marfarma, pauldewouters, sushkov|
Description (last modified by azaozz)
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.
- 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