Post by dippetas » Fri Apr 09, 2021 11:36 pm


I have been trying to add google fonts to summernote but i cannot make it work.
I am using opencart 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'],
i simply cannot see the changes to take effect does any body have an idea how to accomplish that?



Thu Aug 23, 2018 10:20 pm

Post by mikeinterserv » Sat Apr 10, 2021 12:10 am

dippetas wrote:
Fri Apr 09, 2021 11:36 pm
Maybe that's a typo but if its your path it needs a j for javascript

Active Member


Thu May 28, 2020 6:55 am
Location - Wales
Who is online

Users browsing this forum: CJC and 34 guests