TypeCellOS / TypeCellOS/BlockNote
Toggle block content is moved to next toggle block
Open
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
- Hit enter on a folded toggle block with content
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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