angular-email-editor
                                
                                 angular-email-editor copied to clipboard
                                
                                    angular-email-editor copied to clipboard
                            
                            
                            
                        Font not appear and can't change
 
how to load the font list in angular??
Passing the below in options solved the problem for me.
fonts: { showDefaultFonts: false }
Detailed documentation - https://docs.unlayer.com/docs/font-management
I think the showDefaultFonts logic is written in reverse.
So, in my html file I have <email-editor [options]="options" (loaded)="editorLoaded()"></email-editor>.
In my component, I have options = {fonts: { showDefaultFonts: false }}.
Passing the below in options solved the problem for me.
fonts: { showDefaultFonts: false }Detailed documentation - https://docs.unlayer.com/docs/font-management
I think the
showDefaultFontslogic is written in reverse.So, in my html file I have
<email-editor [options]="options" (loaded)="editorLoaded()"></email-editor>.In my component, I have
options = {fonts: { showDefaultFonts: false }}.
great, this solve my problem, thank you...
Yes, this solved my problem. The font logic is implemented in reverse!
This solved my problem with the initial display, but it messed up the styling in preview. I added the fonts I was using as custom fonts to help with that. I wish the developers would look into this, it's a funny bug
options = {
    fonts: { 
      showDefaultFonts: false,
      customFonts: [
        {
          label: "Playfair Display",
          value: "'Playfair Display',serif",
          url: "https://fonts.googleapis.com/css?family=Playfair+Display:400,700",
        },
        {
          label: "Montserrat",
          value: "'Montserrat',sans-serif",
          url: "https://fonts.googleapis.com/css?family=Montserrat:400,700",
        },
      ],
    }
}
Note: I use the free plan