BlockNote
BlockNote copied to clipboard
Multiline custom block in react
Describe the bug
Is it possible to implement custom block in react that would handle multiline in the same way as for example Paragraph? I want to create a "Blockquote" component, that would behave the same as Paragraph, but it should show solid left border to mark quoted text.
The Shift+Enter shortcut to insert a line break doesn't work for me.
Demo: https://stackblitz.com/edit/github-v7ssmz9n?file=App.tsx
To Reproduce Create a simple react component. Then press Shift+Enter to get a new line. Nothing will happen. I was expecting a line break.
Misc
- Node version: v18.20.3 and v20.9.0
- Package manager: npm
- Browser: chrome
- [ ] I'm a sponsor and would appreciate if you could look into this sooner than later 💖
same issue @YousefED
this has been fixed