Skip to content

fix(editor): compact-editor list markers (ol numbers / bullets) missing#131

Merged
th3-br41n merged 1 commit into
mainfrom
fix/editor-ol-numbers
Jul 10, 2026
Merged

fix(editor): compact-editor list markers (ol numbers / bullets) missing#131
th3-br41n merged 1 commit into
mainfrom
fix/editor-ol-numbers

Conversation

@th3-br41n

Copy link
Copy Markdown
Contributor

Dogfood find: ordered-list numbers don't render in the editor.

Cause: theme.ts tags the CompactEditor's <ol>/<ul> with bs-editor__list--numbered/--bullet, but those classes have no list-style rule in compact-editor.css — only the full editor's notes__list--* twin (editor-theme.css) sets decimal/disc. So the compact lists relied on the UA default, which a cascade reset strips → no markers.

Fix: add list-style: decimal/disc to bs-editor__list--numbered/--bullet, mirroring the working full-editor rules. Nested + checkbox items keep their list-style:none overrides.

⚠️ CSS isn't render-testable in-repo — needs a real-shell confirm (full shell restart, per the apps-redeploy rule). Biome + css-token gates green.

🤖 Generated with Claude Code

…r (F: ol numbers)

The CompactEditor (comments, chat composer) themes its <ol>/<ul> with
bs-editor__list--numbered/--bullet (theme.ts), but only the notes__ twin in
editor-theme.css ever set the marker type — so the compact editor's lists had NO
list-style rule and fell back to a UA default the cascade strips, hiding numbers
and bullets. Assert list-style: decimal/disc on the two classes, mirroring the
working full-editor rules. Nested + checkbox items keep their own list-style:none
overrides, so only base lists gain markers.

Needs a real-shell confirm (CSS not render-testable in-repo); dogfood-reported.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@th3-br41n th3-br41n merged commit 772d0de into main Jul 10, 2026
2 of 3 checks passed
@th3-br41n th3-br41n deleted the fix/editor-ol-numbers branch July 10, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant