Currently we manually update the Google Fonts list with each release via a Gulp task. While this was a good idea initially to not wait for Elementor to update the font list, it still opposes the same issue as originally, that is, waiting for the plugin update.
Proposal
Introduce a way to auto-update the Google webfonts list. Maybe a cron task, scheduled to run every 24 hours.
Implementation
Add a setting to input the Google font API key, with instructions on how to get one.
If key is added, add a cron event to run every 24 hours to fetch the font list.
Save the font list to an options object via Options
Currently we manually update the Google Fonts list with each release via a Gulp task. While this was a good idea initially to not wait for Elementor to update the font list, it still opposes the same issue as originally, that is, waiting for the plugin update.
Proposal
Introduce a way to auto-update the Google webfonts list. Maybe a cron task, scheduled to run every 24 hours.
Implementation
Options
Additionally, we can pass
fields
parameter as follows to only include what we need in the response object, otherwise, the object gets pretty huge.