Viewing 8 posts - 1 through 8 (of 8 total)
The topic ‘Adding google fonts not working’ is closed to new replies.
Hello,
In the forum I find an article called "Adding google fonts to the text-editor" which is used to add custom google fonts as a jason object in application settings which will work fine. Now apart from the editor I need to apply or use google fonts for other things like "[data-component="heading"],[data-component="text"] etc." hence, I have given font-family CSS property in <<module.exports.editableItems>> array, and for that I have defined some fonts/google fonts in the <<module.exports.editableItemOptions>> object (like '*[data-component="heading"] > * : font-family': ['Lato', 'Helvetica', 'Arial','Bowlby One', 'Cabin',.......],), which gives me a dropdown of values with given fonts in the side bar. But the issue is when I select a google font from the dropdown and click on apply changes It does not change. Please help me in fixing this issue.
Thanks,
Prabhu
The topic ‘Adding google fonts not working’ is closed to new replies.