You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If D2-generated SVG is rendered inside an iframe with Content Security Policy having font-src 'self', there are errors in browser console:
Refused to load the font 'data:application/font-woff;base64,...' because it violates the following Content Security Policy directive: "font-src 'self'".
Then browser falls back to the default fonts to render the diagram.
The text was updated successfully, but these errors were encountered:
If D2-generated SVG is rendered inside an
iframe
with Content Security Policy havingfont-src 'self'
, there are errors in browser console:Then browser falls back to the default fonts to render the diagram.
The text was updated successfully, but these errors were encountered: