TypeCellOS / BlockNote

A React Rich Text Editor that's block-based (Notion style) and extensible. Built on top of Prosemirror and Tiptap.

Home Page:https://www.blocknotejs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot have \n in custom block content.

colinstantos opened this issue · comments

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

/bounty 10

💎 $10 bounty • BlockNote

Steps to solve:

  1. Start working: Comment /attempt #742 with your implementation plan
  2. Submit work: Create a pull request including /claim #742 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to TypeCellOS/BlockNote!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🔴 @Bhavyajain21 Jun 1, 2024, 6:23:06 AM WIP
🟢 @NotVishesh Jun 2, 2024, 10:43:21 PM WIP
🔴 @DhairyaMajmudar Jun 4, 2024, 5:47:09 AM WIP
🟢 @jkcs Jun 4, 2024, 7:34:24 AM #800

Hey @YousefED , I'd like to give this a try. Can you please assign this issue under my name?

/attempt

Algora profile Completed bounties Tech Active attempts Options
@Bhavyajain21 10 bounties from 3 projects
TypeScript, Rust,
JavaScript & more
Cancel attempt

/attempt #742

Algora profile Completed bounties Tech Active attempts Options
@jkcs 15 bounties from 6 projects
TypeScript, Vue,
JavaScript & more
Cancel attempt

💡 @jkcs submitted a pull request that claims the bounty. You can visit your bounty board to reward.

@jkcs: You've been awarded a $20 bounty by BlockNote! We'll notify you once it is processed.