#61808 closed defect (bug) (fixed)
Twenty Twelve: Code Block font family is different in the editor
| Reported by: | pitamdey | Owned by: | karmatosed |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.7 |
| Component: | Bundled Theme | Version: | 6.4 |
| Severity: | normal | Keywords: | has-screenshots has-patch needs-testing commit |
| Cc: | Focuses: | css |
Description
In Twenty Twelve Theme, the Code block have a different font family in front-end and editor side.
I have checked the code and found that font-family: inherit is being applied on the editor side due to which issue may arise
Attachments (4)
Change History (10)
#1
@
2 years ago
- Focuses css added
- Keywords has-patch added
- Milestone Awaiting Review → Future Release
- Summary Twenty Twelve : Code Block Font family is different in frontend and editor side → Twenty Twelve: Code Block font family is different in the editor
- Version → 6.4
The iframe editor overrules the theme's font with Menlo (if available) in block-library/theme.css.
The inherit property for the code element would work if the correct font is set on .wp-block-code.
#2
@
2 years ago
I am going to apply the testing keyword to get that happening and see about moving this through. Thank you everyone.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Editor View