Skip to content

Fix invisible editor text in Firefox and comment token styling - #56

Open
Akay7 wants to merge 1 commit into
wagtail-nest:mainfrom
Akay7:fix-editor-font-and-comment-token
Open

Akay7 wants to merge 1 commit into
wagtail-nest:mainfrom
Akay7:fix-editor-font-and-comment-token

Conversation

@Akay7

@Akay7 Akay7 commented Oct 13, 2026

Copy link
Copy Markdown

FreeMono renders invisibly in Firefox, so the code textarea looked empty (#55). Use a system monospace stack instead.

Prism marks comments with a "comment" class, which also matches the Wagtail admin's comment card styles, so comments in the editor preview showed as dark padded boxes. Undo those styles inside the preview.

Fixes #55

FreeMono renders invisibly in Firefox, so the code textarea looked empty
(wagtail-nest#55). Use a system monospace stack instead.

Prism marks comments with a "comment" class, which also matches the
Wagtail admin's comment card styles, so comments in the editor preview
showed as dark padded boxes. Undo those styles inside the preview.

Fixes wagtail-nest#55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Akay7
Akay7 force-pushed the fix-editor-font-and-comment-token branch from 39890fe to de8c83a Compare October 14, 2026 07:52
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.

Code invisible in editor

1 participant