[wp-trac] [WordPress Trac] #45382: Add ability to specify a different default editor font per locale

WordPress Trac noreply at wordpress.org
Fri Dec 7 01:48:29 UTC 2018


#45382: Add ability to specify a different default editor font per locale
--------------------------+---------------------
 Reporter:  mkaz          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.0
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:  Awaiting Review => 5.0


Comment:

 Confirmed that [43919] does indeed include
 https://github.com/WordPress/gutenberg/pull/11826/.

 Default editor font can now be adjusted per locale in translatable
 strings:
 * `font_family = _x( 'Noto Serif:400,400i,700,700i', 'Google Font Name and
 Variants' );`
 * `$locale_font_family = esc_html_x( 'Noto Serif', 'CSS Font Family for
 Editor Font' );`

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


More information about the wp-trac mailing list