How to add a button to the text editor

hello
i want add shortcode button (plugin) to text editor in page builder
how can i do that?
thanks

Hi Eldar,

Here’s a tutorial on how to do that…

http://www.sitepoint.com/adding-a-media-button-to-the-content-editor/

The only thing you’ll need to do differently is adjust the priority of the media_buttons action to 99999999 like this…

add_action('media_buttons', 'add_my_media_button', 99999999);

Let us know how that goes.

Justin

thanks