Merge pull request #1577 from mailpoet/fonts

adding custom fonts [MAILPOET-1493]
This commit is contained in:
M. Shull
2018-11-08 11:18:36 -05:00
committed by GitHub
16 changed files with 1645 additions and 1384 deletions

View File

@ -68,6 +68,9 @@ class Menu {
if($_REQUEST['page'] === 'mailpoet-newsletter-editor') {
// Disable WP emojis to not interfere with the newsletter editor emoji handling
$this->disableWPEmojis();
add_action('admin_head', function() {
echo '<!--[if !mso]><link href="https://fonts.googleapis.com/css?family=Arvo:400,400i,700,700i|Lato:400,400i,700,700i|Lora:400,400i,700,700i|Merriweather:400,400i,700,700i|Merriweather+Sans:400,400i,700,700i|Noticia+Text:400,400i,700,700i|Open+Sans:400,400i,700,700i|Playfair+Display:400,400i,700,700i|Roboto:400,400i,700,700i|Source+Sans+Pro:400,400i,700,700i" rel="stylesheet"><![endif]-->';
});
}
}