BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Multiline custom block in react

Open rnovacek opened this issue 11 months ago • 1 comments

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 💖

rnovacek avatar Jan 03 '25 14:01 rnovacek

same issue @YousefED

HyeminJeong-surff avatar Feb 10 '25 01:02 HyeminJeong-surff

this has been fixed

YousefED avatar Jun 20 '25 07:06 YousefED