Skip to content

Custom ToolbarSelect #712

@idntty

Description

@idntty

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions