[wp-meta] [Making WordPress.org] #6592: Editor styles of code block are broke. Text is not legible

Making WordPress.org noreply at wordpress.org
Thu Nov 24 08:36:32 UTC 2022


#6592: Editor styles of code block are broke. Text is not legible
--------------------------+--------------------
 Reporter:  fabiankaegy   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:
Component:  General       |   Keywords:
--------------------------+--------------------
 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.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6592>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list