š(Bug) Block menu shows an orphan separator on blocks without colors (math, diagram)
Maintainers usually reply within 3 days
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Start with DocsDragHandleMenu.tsx and SideMenuSeparator.tsx, then compare the separator visibility check with BlockColorsItem for blocks without color props. Update the separator behavior and remove the hardcoded type list; confirm the empty separator no longer appears for math and diagram blocks, and that separators remain correct for blocks with colors.
Written by the indexing model from the issue text.
Description
On a block without colors (math, diagram), the block menu opens with an empty separator at the top: BlockNote already hides "Colors" for blocks without textColor/backgroundColor props, but the separator after it is only hidden for a hardcoded list of types.
Any new block without colors brings the bug back, as mathBlock and diagram did.
Suggested fix: in SideMenuSeparator, hide the separator when the block has neither textColor nor backgroundColor in its props, with the same check as BlockColorsItem, and drop the hardcoded typeHide list.
- Dominant language
- TypeScript
- Stars
- 17k
- Forks
- 705
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 47
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from suitenumerique/docs
-
š(Bug) Helm chart is published from a push to any branch, not only mainPossibly taken @RoeeSivan claimed this 1 day ago. OpenAI generated CI helm
Difficulty 1/5 Under an hour Newbie friendliness 78/100
suitenumerique/docs#3049 Ā·
Maintainers usually reply within 3 days
-
š(Bug) Preview comment missing when a PR is opened or labelled with a conflictPossibly taken @RoeeSivan claimed this 1 day ago. OpenCI preview
Difficulty 1/5 Under an hour Newbie friendliness 90/100
suitenumerique/docs#3039 Ā·
Maintainers usually reply within 3 days
-
AI generated frontend
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
suitenumerique/docs#3030 Ā· 1 comment Ā·
Maintainers usually reply within 3 days
-
frontend
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
suitenumerique/docs#3018 Ā· 1 comment Ā·
Maintainers usually reply within 3 days
-
š(Bug) Browser Back after creating a doc reopens /docs/new and creates another docPossibly taken @tridev-tej claimed this 1 day ago. Openbug frontend good first issue
Difficulty 1/5 Under an hour Newbie friendliness 86/100
suitenumerique/docs#3014 Ā·
Maintainers usually reply within 3 days
All issues in suitenumerique/docs
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
bug triage:in-progress
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
e2e-failure ready-to-code
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
redhat-developer/rhdh-plugin-export-overlays#4845 Ā· 1 comment Ā·
Maintainers usually reply within 1 day
-
chore kaizen ui-rewrite
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
IBM/mcp-context-forge#7681 Ā·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
cloudflare/workers-sdk#17159 Ā·
Maintainers usually reply within 1 day