-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OJS 3.1.1.0] TinyMCE calls for google font even when enable_cdn is disabled #3759
Comments
@MarHerUMR, at a glance it looks like there's a separate Noto Sans import (in |
However, @MarHerUMR, if you are already disabling the CDN, then you won't have this font anyway, so you're probably safe removing that line in We'll probably need to figure out a solution that takes |
Ooh, it supports multiple stylesheets. 🙏 https://www.tinymce.com/docs-3x/reference/configuration/Configuration3x@content_css/ Ok, let me address this real quick. |
PR: Tests: |
This needs a commit to the |
This was addressed as part of #3594 |
In to share as little data as possible we disabled the enable_cdn option in the config. But it turns out that the backend still makes calls to
//fonts.googleapis.com/css?family=Noto+Sans:400,400italic,700,700italic
.As far as I can see the call is made because the
plugins/generic/tinymce/styles/content.css
has the import:@import url('//fonts.googleapis.com/css?family=Noto+Sans:400,400italic,700,700italic');
I would have assumed that the google fonts would be disabled in the front- and backend when disabling enable_cdn (especially because of the advise to disable it because of GDPR). But I'm not quite shure how this can be disabled here.
The text was updated successfully, but these errors were encountered: