Using this code to add button into media frame.
http://wordpress.stackexchange.com/a/88104
But its added to the WP builtin “Insert media” because of “wp.media.view.MediaFrame.Post” its added in code.
ACF image popup or gallery doesnt set a toolbar, but WP core fallback/default toolbar is “select”. My understanding here is that I would either need to create a separate toolbar or use some of the existing ones (for example the “select” one it already uses) but we miss some handlers for new buttons here.
Okay, but a technical question here. How can I add more buttons into the Gallery field media frame toolbar? I know it uses the default select toolbar, but whenever I try to add some buttons, it only works for builtin Media frames (button “Insert media”)
If you could help me add a button into that toolbar I can conclude this question.