kindeditor初学
2015-11-28 21:51
369 查看
富文本编辑器 kindeditor
简单的引入
参考资料:
kindeditor详细使用说明(个人)
http://www.doc88.com/p-212659998443.html
KindEditor 4.x documentation
http://www.kindsoft.net/docs/option.html#synctype
简单的引入
KindEditor.ready(function(K) { KE = K.create('textarea[name="content"]', { items : [ 'source', '|', 'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste', 'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript', 'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/', 'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak', 'anchor', 'link', 'unlink','letterpaper' ], filterMode : false, wellFormatMode : false, newlineTag : 'br', allowFileManager : true, afterBlur : function() { this.sync(); K.ctrl(document, 13, function() { }); K.ctrl(this.edit.doc, 13, function() { }); } }); });
参考资料:
kindeditor详细使用说明(个人)
http://www.doc88.com/p-212659998443.html
KindEditor 4.x documentation
http://www.kindsoft.net/docs/option.html#synctype
相关文章推荐
- Contest1040 - 第三届“图灵杯”NEUQ-ACM程序设计大赛(个人赛) G: 田鼠看热闹(Ⅰ)
- #学习笔记#(1)JavaScript动态时间
- nodejs学习--子进程 child_process模块的基本介绍
- 【HTML5+css3】学习笔记之嵌入元素
- C语言学习笔记1
- Android之自定义View的封装
- 微信学习系列
- Linux Netcat命令
- Java的ArrayDeque使用例程
- Java虚拟机运行时数据区
- Struts2基础复习系列(1)
- 遍历数组
- mbprogresshud简单使用
- Fragment的生命周期
- C++中单链表的建立
- 1024. 科学计数法 (20)
- ACM学习历程—HDU5585 Numbers(数论 || 大数)(BestCoder Round #64 (div.2) 1001)
- 【HTML5+css3】学习笔记之文档元素
- alterview使用
- Python机器学习3-沪深全部股票抓取、保存