1. In the \ ueditor \ Lang \ ZH-CN \ zh-cn.js file, find the: fontfamily node and add: 'hangzhou': 'song ',
'fontfamily ': {
'songti': 'body',
'kaiti': 'kaiti',
'heiti': 'simhei ',
'lishu': 'zhangshu ',
'yahei': '',
'andalemono': 'andale mono',
'arial': 'arial',
'arialblack': 'arial Black',
'comicsansms ': 'comic sans Ms',
'Impact ': 'Impact',
'timesnewroman ': 'times new Roman',
'verdana ': 'verdana'
},
2. In the ueditor \ editor_config.js file, find: Cancel comments and add: {label: '', name: 'fangsong', VAL: ', simsun '},
, 'Fontfamily ':[
{Label: '', name: 'songti', VAL: ', simsun '},
{Label: '', name: 'kaiti', VAL: 'entity, entity _ gb2312, simkai '},
{Label: '', name: 'yahei', VAL: ', Microsoft yahei '},
{Label: '', name: 'heiti', VAL: 'simhei, simhei '},
{Label: '', name: 'lishu ', VAL: 'example, simli '},
{Label: '', name: 'andalemono', VAL: 'andale mono '},
{Label: '', name: 'arial', VAL: 'arial, Helvetica, sans-serif '},
{Label: '', name: 'arialblack', VAL: 'arial black, avant garde '},
{Label: '', name: 'comicsansms ', VAL: 'comic sans Ms '},
{Label: '', name: 'Impact ', VAL: 'Impact, Chicago '},
{Label: '', name: 'timesnewroman ', VAL: 'times new Roman '},
{Label: '', name: 'verdana ', VAL: 'verdana '}
]
Add font in Baidu editor ueditor