浏览代码

Leven: fix code text-color.

Allan Cole 5 年之前
父节点
当前提交
9b4cafc465
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      leven/inc/wpcom-editor-colors.php

+ 2 - 1
leven/inc/wpcom-editor-colors.php

@@ -161,7 +161,8 @@ add_editor_color_rule( 'txt', '#444444', array(
 			#editor .editor-styles-wrapper .wp-block-quote.is-style-large cite,
 			#editor .editor-styles-wrapper .wp-block-quote.is-style-large footer,
 			#editor .editor-styles-wrapper .wp-block-video figcaption,
-			#editor .editor-styles-wrapper figcaption', 'color' ),
+			#editor .editor-styles-wrapper figcaption,
+			#editor .editor-styles-wrapper .wp-block-code', 'color' ),
 			
 	// Lighten text-color
 	array( '#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .cat-links,