#6592 closed defect (bug) (fixed)
Editor styles of code block are broke. Text is not legible
Reported by: | fabiankaegy | Owned by: | dd32 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Make (Get Involved) / P2 | Keywords: | has-patch |
Cc: |
Description
This is a result of r12278
The Code block in the editor has a light text color (and obviously doesn’t get the syntax highlighting)
The color is coming from wp-content/plugins/code-syntax-block/assets/blocks.editor.css line 27
But probably needs to get overwritten in the theme styles.
My suggestion would be adding a color definition here:
https://github.com/fabiankaegy/wordpress.org/blob/b7627a4da9b47d8a2a1e2d6025013d335eaaef53/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css#L536
It will always get overwritten on the frontend with the syntax highlighting.
Change History (5)
This ticket was mentioned in PR #110 on WordPress/wordpress.org by @fabiankaegy.
22 months ago
#1
- Keywords has-patch added
Trac Ticket: https://meta.trac.wordpress.org/ticket/6592