Font Content Security Policy directive with Forge Custom UI

I am developing a plugin by Forge ( Custom UI)
I import the third library UI.
I see the error belows:

hasRelativeStackingContext.js:22 Refused to load the font 'data:font/ttf;base64,AA*************
because it violates the following Content Security Policy directive: "font-src 'self'".

I add the meta tag in a header in the file “index.html” but it still not working.

<meta http-equiv="Content-Security-Policy" content="font-src 'self' data:; img-src 'self' data:; default-src 'self'">

Hi @MARINAHDAVILA

You may want to take a look at this page: https://developer.atlassian.com/platform/forge/add-content-security-and-egress-controls/

You could try adding permissions content policy that way.

Kind regards

Hi @linklefebvre
I checked but it only for css and script. It dont have permission for font.