Skip to content

Is there any way to add custom font family to editor Html #70

@prathasaxena

Description

@prathasaxena

@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.
image

then i added the custom fonts in the html
Screenshot 2020-07-31 at 6 04 17 PM

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions