[wp-trac] [WordPress Trac] #20076: add_editor_style() should support plugins as well
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 19 21:54:28 UTC 2012
#20076: add_editor_style() should support plugins as well
-------------------------+------------------------------
Reporter: ericlewis | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: close |
-------------------------+------------------------------
Changes (by azaozz):
* keywords: => close
Comment:
Frankly I still don't see a point in having add_editor_style() at all. The
whole functionality (wouldn't call it API) of add_editor_style(), the
`$editor_styles` global and the code block in wp_editor that parses it was
added with the assumption that theme authors don't know how to use
filters.
However plugin authors '''know''' how to use filters, so using 'mce_css'
is far better.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20076#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list