Custom ToolbarSelect
idntty opened this issue · comments
The documentation says that you can add either your own button(ToolbarButton) or a dropdown list(ToolbarSelect). And there is even a great example of how to do it for a button - https://www.blocknotejs.org/docs/ui-components/formatting-toolbar.
Any attempts to make your own analog of ToolbarSelect - did not lead to success. Is it possible to find somewhere an example how to make your own analog of BlockTypeSelect with your own menu items and actions bound to them?
Seems to be a regression as the example below is broken. Will be fixed in next release