Opened 13 years ago
Closed 13 years ago
#20184 closed defect (bug) (fixed)
Default font in the Visual Editor has changed to sans-serif
Reported by: | mfields | Owned by: | azaozz |
---|---|---|---|
Milestone: | 3.4 | Priority: | normal |
Severity: | major | Version: | 3.4 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
The default font for the visual editor in trunk has recently changed from a Georgia stack to sans-serif. I believe this is a regression and I was able to track it down to the following changeset [19982]
This may be hard to see on a stock install of trunk running Twenty Eleven. The reason for this is that Twenty Eleven provides a custom stylesheet for the Visual Editor. To see what I am talking about, you will need to install a theme that has no editor stylesheet.
Here is what text in the Visual Editor looks like in 3.3.1
https://img.skitch.com/20120306-mit6esawu36pyii8g8us5brh5a.png
Here is what test looks like in the latest trunk:
https://img.skitch.com/20120306-8bn6jtui47n5xbym6fyd2pd16h.png
Removing the font styles from the body element in wp_theme/content.css seems to do the trick. Not sure if this is the best approach. Patch to follow.
In [20125]: