I want to add new font
in tinymce editor
which are display in font dropdown
and apply to editor text.
I try to add ttf font in
Using Google Fonts i've just achieve this issue using two lines (in TinyMCE initialization):
content_css: ['https://fonts.googleapis.com/css?family=Gugi'],
font_formats: 'Arial Black=arial black,avant garde;Gugi=Gugi, cursive;Times New Roman=times new roman,times;',
The new font is called Gugi and will appear between arial black and times new roman