Skip to content

Unable to import TableCellMergeButton, AddCommentButton, AddTiptapCommentButton to create my custom Toolbar #1509

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

Closed
fscs64 opened this issue Mar 7, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@fscs64
Copy link

fscs64 commented Mar 7, 2025

Not able to import some components
I am trying to create a custom FormattingToolbar but I am not able to import those prebuilt components.

To Reproduce

  1. Create a new proyect
  2. Install blocknotejs
  3. Create a new FormattingToolbar (you can copy the class from here)
  4. You will find the importing errors

Fix
I guess that is needed to update the index.ts file to include those new components

Misc

  • Node version: Any
  • Package manager: Any
  • Browser: Any
@fscs64 fscs64 added the bug Something isn't working label Mar 7, 2025
@nperez0111
Copy link
Contributor

Good catch, we forgot to export these

nperez0111 added a commit that referenced this issue Mar 7, 2025
@fscs64
Copy link
Author

fscs64 commented Mar 10, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants