[wp-trac] [WordPress Trac] #20184: Default font in the Visual Editor has changed to sans-serif
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 6 16:34:02 UTC 2012
#20184: Default font in the Visual Editor has changed to sans-serif
--------------------------+-----------------------------
Reporter: mfields | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.4
Severity: normal | Keywords:
--------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20184>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list