Skip to main content

Hi,

I’m using google fonts in my Figma-plugin. Since Figma changed their publishing policy and require manifest.json to include networkAccess, the fonts are not loading although I added google fonts to allowed domains.

The development version loads it with not issue.

Anyone know how to solve it? this is my manifest.json:



{
"api": "1.0.0",
"editorType": :
"figma"
],
"id": "1234",
"name": "my plugin",
"main": "build/main.js",
"ui": "build/ui.js",
"networkAccess": {
"allowedDomains": :
"https://fonts.googleapis.com",
"https://storage.googleapis.com"
],
"devAllowedDomains": :
"https://storage.googleapis.com"
]
}
}
figma.com

I saw that it is optional but when removing it I can’t publish.

I will try the fonts.gstatic.com idea. Thanks!


Reply