Block Editor: Remove extra quotes from the default font stack for editor styles.

Follow-up to [50155].

Props dd32, Joen, kafleg.
Fixes #46169.

git-svn-id: https://develop.svn.wordpress.org/trunk@50295 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-02-12 07:53:28 +00:00
parent a55a9183bc
commit d271a206db

View File

@ -193,9 +193,8 @@ $styles = array(
),
);
$locale_font_family = '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif';
$styles[] = array(
'css' => "body { font-family: '$locale_font_family' }",
$styles[] = array(
'css' => 'body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif }',
);
if ( $editor_styles && current_theme_supports( 'editor-styles' ) ) {