xwp / wp-core-media-widgets

Feature plugin for development of new core media widgets for image, video, and audio (and others)
https://wordpress.org/plugins/wp-core-media-widgets/
35 stars 8 forks source link

How can I add extra buttons to the Text Widget editor. #184

Closed ivorpad closed 7 years ago

ivorpad commented 7 years ago

I was looking in class-wp-widget-text.php but can't wrap my head around it. I want to add extra mce_buttons in the Visual Tab such as align-left | align-center | align-right. Any idea about how to accomplish this?

westonruter commented 7 years ago

This is documented in https://make.wordpress.org/core/2017/05/23/addition-of-tinymce-to-the-text-widget/