-
Notifications
You must be signed in to change notification settings - Fork 727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fonts aren't displayed #205
Comments
@amartya-dev |
@talovicnedim nope, |
@amartya-dev @talovicnedim |
@amartya-dev here is the solution for fonts <EmailEditor
ref={emailEditorRef}
exportHtml={exportHtml}
options={{
appearance: {
theme: "dark",
},
features: {
textEditor: {
fontSizes: ["70px", "60px", "50px"],
},
},
fonts: {
showDefaultFonts: false,
customFonts: [
{
label: "Comic Sans",
value: "'Comic Sans MS', cursive, sans-serif",
},
{
label: "DotGothic16",
value: "'DotGothic16',cursive",
url: "https://fonts.googleapis.com/css?family=DotGothic16",
},
],
},
}}
onLoad={onLoad}
onReady={onReady} />
``` |
same issuer on Ubuntu, fixed with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to embed the EmailEditor via React, everything seems to work fine except the fonts section, the dropdown which is supposed to contain the list of fonts, shows nothing and even the font size selection is a bit off:
Is it a bug with the editor itself? or am I doing something wrong:
Code:
The text was updated successfully, but these errors were encountered: