BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Custom ToolbarSelect

Open idntty opened this issue 1 year ago • 1 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?

idntty avatar Apr 22 '24 20:04 idntty

Seems to be a regression as the example below is broken. Will be fixed in next release

YousefED avatar May 01 '24 11:05 YousefED