django-markdown-editor icon indicating copy to clipboard operation
django-markdown-editor copied to clipboard

Add offline static files

Open r1bnc opened this issue 4 years ago • 3 comments

I have observed that semantic-ui loads external google static files (fonts), is there a way for this project to local host that font or other external static files. This is a request and not an issue.

r1bnc avatar Apr 10 '20 23:04 r1bnc

Actually a data protection issue as well. At least with the German GDPR, you should avoid loading stuff from Google in the background.

GitRon avatar Jun 12 '20 11:06 GitRon

Furthermore if you use django-csp you need to add this to your rules:

CSP_DEFAULT_SRC = (
    ...
    '*.googleapis.com',
    "font-src 'self' data:",
)

GitRon avatar Jun 12 '20 11:06 GitRon

Any update?

r1bnc avatar May 15 '21 05:05 r1bnc