[wp-trac] [WordPress Trac] #61808: Twenty Twelve: Code Block font family is different in the editor (was: Twenty Twelve : Code Block Font family is different in frontend and editor side)

WordPress Trac noreply at wordpress.org
Fri Aug 2 08:52:31 UTC 2024


#61808: Twenty Twelve: Code Block font family is different in the editor
---------------------------------------+-----------------------------
 Reporter:  pitamdey                   |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  Future Release
Component:  Bundled Theme              |     Version:  6.4
 Severity:  normal                     |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:  css
---------------------------------------+-----------------------------
Changes (by sabernhardt):

 * keywords:  has-screenshots => has-screenshots has-patch
 * focuses:   => css
 * version:   => 6.4
 * milestone:  Awaiting Review => Future Release


Comment:

 The iframe editor overrules the theme's font with Menlo (if available) in
 `block-library/theme.css`.

 The `inherit` property for the `code` element could work if the correct
 font is set on `.wp-block-code`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61808#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list