import export local custom fonts
when a termplate is using custom fonts they whould also be part of the import/export process.
The import/export is merely a JSON and including anything additional would have to be a zip file.
Then we have to extract it on upload too.
could you not base64() encode the font files?
Divi encodes full pages via the .JSON images etc.. , could work for fonts.
Simple example
- glob files in custom font directory
- take each file and convert to a base64
- insert into and array/JSON
We could very well base64 encode and decode fonts.
It's a good idea. You know once of the things we had in mind was the ability to select what to export and what to import. Each tab be a checkbox. What do you think about that?
sounds great. this would be nice to be added to that list.