![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ckeditor
文章平均质量分 65
woshixushigang
这个作者很懒,什么都没留下…
展开
-
ckeditor报错ckeditor 使用 uncaught exception: [CKEDITOR.editor] The instance
config_front.js $(function() {CKEDITOR.editorConfig = function( config ){/* config.language = 'zh-cn'; config.toolbar = 'Background'; config.toolbar_Background = [ ['Bold','Ital...原创 2011-11-08 16:51:10 · 396 阅读 · 0 评论 -
ckeditor取值赋值问题
最近的项目中遇到个很头疼的问题,异步提交表单后需要清空表单数据,项目中文本编辑器是ckeditor,用了好几种方式都无法将提交后的表单清空。最后发现这种方式可以: document.form1.reset(); CKEDITOR.instances.caseText.setData(' '); 开始采用jquery的 $("#caseText").val(''...原创 2011-11-13 17:12:41 · 811 阅读 · 0 评论 -
ckeditor取值赋值
CKEditor 是著名的 HTML 编辑器,IBM、Oracle、Adobe 等都在用。CKEditor 创建于 2003 年,其前身为 FCKEditor,在 2009 年的时候把“F”去掉了,更名为 CKEditor。其开源协议是基于 GPL, LGPL 和 MPL 的。官方网站:http://ckeditor.com/一般来说,我们在编辑内容时,先是读入到 textarea,再将...原创 2011-11-13 17:14:30 · 379 阅读 · 0 评论 -
ckeditor自动换行问题
项目中用到ckeditor,研究源码之后得到适合我公司的编辑器,但是发现不自动换行,网上也找了很多方案,就是不好用。 解决方案:centent.css 里面加上 body,p{word-wrap:break-word;} ...原创 2011-11-18 19:39:21 · 950 阅读 · 0 评论 -
ckeditor判断字数限制问题
项目中用到了ckeditor,要求正文字数判断必须排除空格及回车等。这个问题纠结了半个小时,其中曲折暂且不说了,验证了好几十次,这其中也借鉴了不少别人的成果,好了,直接上结果。 function strlen(str) { //<summary>获得字符串实际长度,中文2,英文1</summary> //<param name="str"&...2011-12-11 16:46:08 · 1935 阅读 · 0 评论