我在我的项目中使用http://premiumsoftware.net/cleditor,默认情况下在字体下拉列表中显示了一些字体,现在我有一个字体,并希望在cleditor字体列表中使用此字体,当用户选择此字体时字体css适用于它。
答案 0 :(得分:0)
与大多数插件一样,有暴露的选项,$("#input").cleditor({
fonts: // font names in the font popup
"Arial,Arial Black,Comic Sans MS,Courier New,Narrow,Garamond," +
"Georgia,Impact,Sans Serif,Serif,Tahoma,Trebuchet MS,Verdana"
})
是初始化插件时可以设置的一个属性
{{1}}中的可选参数