[wp-trac] [WordPress Trac] #19098: QTags.addButton not working according to the docblocks

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 5 15:55:31 UTC 2011

#19098: QTags.addButton not working according to the docblocks
 Reporter:  amereservant  |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.3
 Severity:  minor         |  Resolution:
 Keywords:                |

Comment (by azaozz):

 Went ahead and reviewed the whole Quicktags init and addButton process.
 Don't think the `disabled_buttons` were useful there, removed that and
 made the init.buttons control better.

 Also adjusted the priority, plugins can override init.buttons:
 - all buttons added by plugins are shown,
 - buttons can be added to specific instance,
 - default buttons can be removed from an instance by setting the IDs in
 the init,
 - if the arg is not specified, WP_Editor sets all default buttons.

Ticket URL: <http://core.trac.wordpress.org/ticket/19098#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list