BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

FEAT: Support for Adding a Button Link Component in BlockNote

Open webYdinesh opened this issue 1 year ago • 1 comments

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 avatar Aug 27 '24 05:08 webYdinesh

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

matthewlipski avatar Aug 28 '24 17:08 matthewlipski