zoukankan      html  css  js  c++  java
  • 百度编辑器 Ueditor 下拉处增加字体

    左百度,添加到同右钉邮那么多:

                                                 

    1、ueditorlangzh-cnzh-cn.js  文件中找到:fontfamily节点,替换如下:

    'fontfamily':{
            'songti':'宋体',
            'heiti':'黑体',
            'kaiti':'楷体',
            'lishu':'隶书',
            'yahei':'微软雅黑',
            'arial':'arial',
            'arialBlack':'arial black',
            'bookAntiqua':'Book Antiqua',
            'Calibri':'Calibri',
            'comicSansMs':'comic sans ms',
            'Courier New':'Courier New',
            'Garamond':'Garamond',
            'Georgia':'Georgia',
            'Helvetica':'Helvetica',
            'impact':'impact,chicago',
            'Narrow':'Narrow',
            'Sans Serif':'Sans Serif',
            'Serif':'Serif',
            'Symbol':'Symbol',
            'Tahoma':'Tahoma',
            'timesNewRoman':'times new roman',
            'Trebuchet MS':'Trebuchet MS',
            'Verdana':'Verdana',
            'andaleMono':'andale mono'
        },

    2、ueditoreditor.config.js   文件中

     ,'fontfamily':[
                { label:'',name:'songti',val:'宋体,SimSun'},
                { label:'',name:'heiti',val:'黑体, SimHei'},
                { label:'',name:'kaiti',val:'楷体,楷体_GB2312, SimKai'},
                { label:'',name:'lishu',val:'隶书, SimLi'},
                { label:'',name:'yahei',val:'微软雅黑,Microsoft YaHei'},
                { label:'',name:'arial',val:'arial, helvetica,sans-serif'},
                { label:'',name:'arialBlack',val:'arial black,avant garde'},//Arial Black
                { label:'',name:'bookAntiqua',val:'Book Antiqua'},//
                { label:'',name:'Calibri',val:'Calibri'},//Calibri
                { label:'',name:'comicSansMs',val:'comic sans ms'},
                { label:'',name:'Courier New',val:'Courier New'},//Courier New
                { label:'',name:'Garamond',val:'Garamond'},//Garamond
                { label:'',name:'Georgia',val:'Georgia'},//Georgia
                { label:'',name:'Helvetica',val:'Helvetica'},//Helvetica
                { label:'',name:'impact',val:'impact,chicago'},
                { label:'',name:'Narrow',val:'Narrow'},//Narrow
                { label:'',name:'Sans Serif',val:'Sans Serif'},//Sans Serif
                { label:'',name:'Serif',val:'Serif'},//Serif
                { label:'',name:'Symbol',val:'Symbol'},//Symbol
                { label:'',name:'Tahoma',val:'Tahoma'},//Tahoma
                { label:'',name:'timesNewRoman',val:'times new roman'},//Times New Roman
                { label:'',name:'Trebuchet MS',val:'Trebuchet MS'},//Trebuchet MS
                { label:'',name:'Verdana',val:'Verdana'},//Verdana
                { label:'',name:'andaleMono',val:'andale mono'}
            ]
  • 相关阅读:
    图像细节是高频,轮廓是低频
    Matlab实现西格玛(Sigma)平滑滤波
    Matlab实现细线化方法
    Matlab均匀性度量法实现图像二值化
    Matlab图像处理基础算法集锦(转载)
    Win7 下打开wifi共享的方法
    Day29 Matlab实现图像膨胀源代码
    时间类型和字符串类型之间的转换
    error: illegal character 'ufeff' 的解决方案
    无法卸载Sql Server 的解决办法
  • 原文地址:https://www.cnblogs.com/xiangsj/p/6018779.html
Copyright © 2011-2022 走看看