随笔分类 -  CKEditor

摘要:一、使用方法:1、在页面<head>中引入ckeditor核心文件ckeditor.js<script type="text/javascript"src="ckeditor/ckeditor.js"></script>2、在使用编辑器的地方插入HTML控件<textarea><textarea id="TextArea1" cols="20" rows="2"class="ckeditor"></textar 阅读全文
posted @ 2012-06-05 13:47 Setme 阅读(38441) 评论(0) 推荐(4)
摘要:CKEDITOR.editorConfig = function (config) { config.language = 'zh-CN'; //语言 config.skin = 'v2'; //样式 config.enterMode = CKEDITOR.ENTER_BR; //回车时产生的标示 config.width = '660px'; //默认宽度 config.height = '410px'; //默认高度 config.r... 阅读全文
posted @ 2012-06-05 12:00 Setme 阅读(2922) 评论(0) 推荐(0)