EDMdesigner / editor-issues

This is an issue tracking repository for reporting bugs, improvements and feature requests of our email editor.
5 stars 1 forks source link

Custom web fonts fallback #101

Open agnieszkakowalska opened 6 years ago

agnieszkakowalska commented 6 years ago

Hi, I have a question from my client. He is asking about the custom web fonts that can be used in editor: Not all clients support web fonts. Which font will be depicted if client is not allowed to use customised font?

smiska commented 6 years ago

Hi, In the API dashboard you can define the fallback fonts for the custom fonts: you would provide the fallback font's name after the custom font's name, like this: 'Sedgwick Ave', cursive (where Sedgwick Ave is the custom font, cursive is the fallback font.

If you don't provide a fallback font name and the custom font is not available in the given email client, it can apply the defined style from the body element or the user agent style sheet if there's a targeted style defined for an element.

This default fallback value may vary based on the operating system and the email client.

agnieszkakowalska commented 6 years ago

Thank you @smiska for your fast reply!