爱程序网

CKEditor && CKFinder 配置

来源: 阅读:

准备                                                                                                                                                                

  CKEditor&&CKFinder破解版百度网盘地址:http://pan.baidu.com/s/1qWsDPKC       密码:yydcdut

   

  将CKEditor和CKFinder放在同一文件夹下。

CKEditor实现编辑框                                                                                                                                        

  CKEditor 实际是替换一个textarea标签,所以把textarea放到一个form表单中,当提交到php服务器端,使用$_POST['xxx'] 取得编辑好的数据。

  修改CKEditor的配置文件config.js

1 CKEDITOR.editorConfig = function( config )2 {3     config.language = 'zh-cn';4     config.uiColor = '#FFA';5     config.skin = 'v2';6     config.width = 850;7     config.height = 400;8     config.toolbar = 'Full';9 };