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

FEAT: Support for Adding a Button Link Component in BlockNote #1033

Open
webYdinesh opened this issue Aug 27, 2024 · 1 comment
Open

FEAT: Support for Adding a Button Link Component in BlockNote #1033

webYdinesh opened this issue Aug 27, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@webYdinesh
Copy link

webYdinesh commented Aug 27, 2024

Is your feature request related to a problem? Please describe.
Button link component would allow users to be directed to external pages, which is useful for newsletters and blogs.

If anyone has already implemented a similar feature or has a workaround to achieve this functionality, your input would be very much appreciated. Any guidance or code snippets would be extremely helpful!

Screenshot 2024-08-27 102248

@webYdinesh webYdinesh added the enhancement New feature or request label Aug 27, 2024
@matthewlipski
Copy link
Collaborator

matthewlipski commented Aug 28, 2024

You might wanna join our Discord, I think it's more likely that you'll find someone who has already implemented something like this there. But to start, take a look at the custom block & inline content pages:

https://www.blocknotejs.org/docs/custom-schemas/custom-blocks
https://www.blocknotejs.org/docs/custom-schemas/custom-inline-content

You'll want to use one or the other depending on if the button should be inline with text or a standalone block

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

No branches or pull requests

2 participants