-
Notifications
You must be signed in to change notification settings - Fork 304
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
Is there any way to add custom font family to editor Html #70
Comments
@prathasaxena Did you find a solution? |
|
Okay, thanks) |
Hey Guys, i made a fork of this repo and added the needed functionality. BTW you can use local fonts but you have to convert them, i use https://transfonter.org/ for this. best regards :) |
I've got an MR to provide more context on using custom fonts. Check it out if you're lost like I was: #241 |
@stulip
I have been trying to add a custom font family to editor html:
I added jf-flat-regular-webfont.woff, jf-flat-regular-webfont.woff2 files parallel to the editor file.
then i added the custom fonts in the html
finally I applied the font in
contentCSSText:
font-size: 45px; min-height: 200px; height: 100%; font-family:'jf_flatregular';
, // initial valid};
but the changes did not reflect.
The text was updated successfully, but these errors were encountered: