I was recently thinking that it would be nice to add customizable buttons in the toolbar above the block preview.
We’re already allowed to add functions like:
// Show text alignment toolbar.
'align_text' => true,
Wouldn’t it be nice to have something like:
'custom_toolbar' => array(
'icon' => 'svg_code',
'function' => 'function_name',
'description' => 'description'
)
Or something like that.