email-builder-core
email-builder-core copied to clipboard
Web fonts
It seems web fonts are stripped out from the email.
Is there support for using webfonts with email builder?
I'm looking for similar functionality to how Zurb Ink's inliner ihandles web fonts.
It converts:
<link href='https://fonts.googleapis.com/css?family=Roboto:500' rel='stylesheet' type='text/css'>
to this:
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: local('Roboto Medium'), local('Roboto-Medium'), url('https://fonts.gstatic.com/s/roboto/v15/RxZJdnzeo3R5zSexge8UUaCWcynf_cDxXwCLxiixG1c.ttf') format('truetype');
}
Try adding the data-embed-ignore attribute to your link tag so the inliner avoids processing or stripping that line of code.