-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
Cannot have \n in custom block content. #742
Comments
/bounty 10 |
💎 $10 bounty • BlockNoteSteps to solve:
Thank you for contributing to TypeCellOS/BlockNote! Add a bounty • Share on socials
|
Hello @YousefED , Could you please describe your expected solution more specifically? In fact, it can be addressed simply by changing it to {
type: "alert",
content: [
{
type: "text",
styles: {},
text: "This is an \n example \n alert!!",
},
],
}, Here are a few possible solutions:
|
By the way, if the |
Hey @YousefED , I'd like to give this a try. Can you please assign this issue under my name? /attempt
|
Describe the bug
{
type: 'alert',
content: 'This is an \n example \n alert!!',
}
the above content is in a single line instead of 3.
To Reproduce
https://stackblitz.com/edit/github-qx9fhr?file=App.tsx
The text was updated successfully, but these errors were encountered: