Add Button To Top Toolbar in Gutenberg

Question

I would like to add a button that triggers some custom JS code to the top roolbar (not the block level editor toolbar):

Shows location of where the button should be added

Is there an official way to do this? I couldn’t find any documentation about extending the top toolbar.

Thanks
Aaron

0
Aaron 1 month 0 Answers 15 views 0

Leave an answer