I have been trying to add google fonts to summernote but i cannot make it work.
I am using opencart 3.0.2.0 and i have placed the ttf in to admin/view/avascript/summernote/font
then i edited the summernote.js
Code: Select all
fontNames: [
'Arial', 'Arial Black', 'Comic Sans MS', 'Courier New',
'Helvetica Neue', 'Helvetica', 'Impact', 'Lucida Grande',[b] 'Play', 'Play Bold',
'Play Regular',[/b] 'Tahoma', 'Times New Roman', 'Verdana'
],
fontNamesIgnoreCheck: ['play', 'Play Bold', 'Play Regular'],
fontSizes: ['8', '9', '10', '11', '12', '13', '14', '18', '24', '36'],