Skip to content
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

Google Font Store Locally #328

Open
RaitisSevelis opened this issue Jun 21, 2022 · 0 comments · Fixed by #329
Open

Google Font Store Locally #328

RaitisSevelis opened this issue Jun 21, 2022 · 0 comments · Fixed by #329
Assignees

Comments

@RaitisSevelis
Copy link

In order to apply with the GDPR, we need to make sure that all fonts specified in the Theme Customizer are stored locally.

  • In Theme Customizer do not show the preview when changing Font Family
  • If you select a new font family, under dropdown we see a message: To see the typography preview you need to download [link] this font family locally
  • Clicking on download - downloads the font and display preview
  • If you click Publish without downloading font - a popup appears with message: "In order to comply with the GDPR, you need to download all font families and store them locally on your server." and 2 buttons a) Download & Publish b) Revert & Cancel
@dmytro-kovalov dmytro-kovalov self-assigned this Jun 21, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 4, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 4, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 5, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 5, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 5, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 5, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 6, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 6, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 6, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 6, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 6, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 6, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 6, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 11, 2022
* Increase a top spacing for the message under font-family select
* Apply native WP styles for both buttons in popup
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 11, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 12, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 12, 2022
dmytro-kovalov added a commit to dmytro-kovalov/visual-composer-starter that referenced this issue Jul 12, 2022
veidenbaums pushed a commit that referenced this issue Jul 12, 2022
* Add methods to download Google Fonts #328

* Allow loading Google Fonts that are hosted locally only #328

* Fix unstoppable customizer preview refresh for select control #328

* Add serif to the list of font families #328

* Fix incorrect behavior of str_replace for generating font name #328

* Add new customizer control "google-fonts" with ajax callbacks #328

* Apply new control for all font-family fields #328

* Add popup to customizer #328

* Codestyle changes #328

* Codestyle changes #328

* Codestyle changes #328

* Fix jshint errors #328

* Fix jscs errors #328

* Update styles #328

* Increase a top spacing for the message under font-family select
* Apply native WP styles for both buttons in popup

* Refresh preview after downloading fonts from popup #328

* Refresh preview for fonts that are not from Google Fonts #328

* Add spinner while waiting for downloading fonts #328

* Codestyle fixes #328
@veidenbaums veidenbaums reopened this Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants