Hi all!
I want to add new font type (like calibri or etc) in the text editor font list.
Please help.
Add New Font Type in Text editor
Started by tofayelahmed, 03 November 2012 - 11:00 AM
- Single Page
Posted 03 November 2012 - 11:00 AM
Posted 03 November 2012 - 12:34 PM
HI!
Change the config "assets/grocery_crud/texteditor/ckeditor/config.js":
Change the config "assets/grocery_crud/texteditor/ckeditor/config.js":
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.font_names =
'Arial/Arial, Helvetica, sans-serif;' +
'Comic Sans MS/Comic Sans MS, cursive;' +
'Courier New/Courier New, Courier, monospace;' +
'Georgia/Georgia, serif;' +
'Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;' +
'Tahoma/Tahoma, Geneva, sans-serif;' +
'Times New Roman/Times New Roman, Times, serif;' +
'Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;' +
'Calibri/Calibri, Verdana, Geneva, sans-serif;' + /* here is your font */
'Verdana/Verdana, Geneva, sans-serif';
};