OA开发的前两个应用模块给用户去测试了,反馈回来的意见是CuteEditor网页编辑器中的字体没有中文字体。 百度和Google了一下,没有现成的代码,只好根据这篇《[URL=http://www.cnblogs.com/mxh691/archive/2008/07/10/1240166.html]CuteEditor 编辑器添加中文字体[/URL]》,花了20分钟整理出来了常见中文字体的清单代码,分享一下给同样用CuteEditor的朋友,更推荐给[URL=http://www.cnblogs.com/jirigala item text="LiSu" html="隶书">LiSu</item>
需要修改的文件是CuteSoft_Client\CuteEditor
转换过程中遇到的问题主要有: 1、添加引用的问题,不要漏掉引用NPOI、CuteEditor、CuteEditor.ImageEditor、System.ServiceModel 2、重复的类名:Common
如果使用CuteEditor,CuteEditor会自动去除代码中的空格,造成代码格式破坏。
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
CuteEditor 最强大的富文本编辑器,巨牛无比,但是是收费的,个人使用的话用下破解版倒无所谓,要想在企业中使用那就得买了,所以虽然强大,但是想节约的话就不考虑这个了。
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
推荐两款富文本编辑器:NicEdit和Kindeditor 做过Web开发的朋友相信都使用过富文本编辑器,比较出名的CuteEditor和CKEditor很多人应该已经使用过,在功能强大的同时需要加载的东西也变得很多
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
如果使用CuteEditor,CuteEditor会自动去除代码中的空格,造成代码格式破坏。
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);