1、ueditor怎么提交表单,自定义字段
<script id="editor" type="text/plain" name="content" style="95%;height:350px;">{$data.content}</script>
2、ueditor怎么修改编辑器字体大小
在目录中找到editor_config.js根目录,改变字体大小
//fontfamily //字体设置 label留空支持多语言自动切换,若配置,则以配置值为准 //,'fontfamily':[ // { label:'',name:'songti',val:'宋体,SimSun'}, // { label:'',name:'kaiti',val:'楷体,楷体_GB2312, SimKai'}, // { label:'',name:'yahei',val:'微软雅黑,Microsoft YaHei'}, // { label:'',name:'heiti',val:'黑体, SimHei'}, // { label:'',name:'lishu',val:'隶书, 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'} //]
只要把里面的注释“//”去掉。更改为你需要的就是了。在他下面还有一句
//fontsize //字号 //,'fontsize':[10, 11, 12, 14, 16, 18, 20, 24, 36]