#61808 closed defect (bug) (fixed)
Twenty Twelve: Code Block font family is different in the editor
Reported by: | pitamdey | Owned by: | karmatosed |
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | 6.4 |
Component: | Bundled Theme | Keywords: | has-screenshots has-patch needs-testing commit |
Focuses: | css | Cc: |
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
@
6 weeks ago
- Focuses css added
- Keywords has-patch added
- Milestone changed from Awaiting Review to Future Release
- Summary changed from Twenty Twelve : Code Block Font family is different in frontend and editor side to Twenty Twelve: Code Block font family is different in the editor
- Version set to 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
@
5 weeks ago
I am going to apply the testing keyword to get that happening and see about moving this through. Thank you everyone.
#3
@
5 weeks ago
- Keywords needs-testing added
- Owner set to karmatosed
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.
Editor View