Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom ToolbarSelect #712

Closed
idntty opened this issue Apr 22, 2024 · 1 comment · Fixed by #652
Closed

Custom ToolbarSelect #712

idntty opened this issue Apr 22, 2024 · 1 comment · Fixed by #652
Labels
enhancement New feature or request

Comments

@idntty
Copy link

idntty commented Apr 22, 2024

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 idntty added the enhancement New feature or request label Apr 22, 2024
@YousefED
Copy link
Collaborator

YousefED commented May 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants