TypeCellOS / TypeCellOS/BlockNote

Toggle block content is moved to next toggle block

Open
#2,378 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug:P2 sponsor
Dominant language
TypeScript
Stars
10.2k
Forks
772
Avg merge
3d 11h
Merged PRs (30d)
17

Description

Describe the bug
Content from 1st toggle block is moved to the newly created toggle block

To Reproduce

  1. Hit enter on a folded toggle block with content
  2. see another toggle block appear with the content from the first toggle block

https://github.com/user-attachments/assets/721b5674-1360-437a-9b03-09a21f5ac95e

Misc

  • Node version:
  • Package manager:
  • Browser:
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the BlockNote editor: press Enter on a folded toggle block that contains content and observe the newly created toggle block. Trace the toggle-block handling and verify the fix by confirming that content remains in the original block and the new block is empty or contains only the intended content.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.