Opened 8 years ago
Closed 8 years ago
#45382 closed defect (bug) (fixed)
Add ability to specify a different default editor font per locale
| Reported by: | mkaz | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.0 |
| Component: | Editor | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Allow translators to specifying a different default font based on the language/locale. The translator can specify a different Google font to load, and what the CSS font-family should be for different locales.
See PR at: https://github.com/WordPress/gutenberg/pull/11826/
Fixes issue: https://github.com/WordPress/gutenberg/issues/9891
Change History (3)
#3
@
8 years ago
- Milestone Awaiting Review → 5.0
- Resolution → fixed
- Status new → closed
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' );
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It looks like this ticket changes went in with [43919]
It probably can just be closed out as merged.
cc: @danielbachhuber