如何正确安装CKEditor for Drupal?

http://lukehan.net/cn/content/ru-he-zheng-que-zhuang-ckeditor-drupal

 

如果只是使用Drush安装CKEditor或者从Drupal.org下载并安装CKEditor模块,CKEditor其实并没有正确配置和安装,会在配置界面(Drupal 7)出现如下错误: 
CKEditor was not found in sites/all/modules/ckeditor/ckeditor.

 

原因是该Drupal Module其实只是一个CKEditor的Wrapper,因此需要另外下载核心的CKEditor:

 

1. 先下载并安装(或者使用Drush) CKEditor,默认目录是:
 

 

../site/all/module/ckeditor

 

2. 从www.ckeditor.com下载 CKEditor的相对版本 (注意,不要下载CKEditor for Drupal版本)。并解压到拷贝到如下目录:

 

../site/all/module/ckeditor/ckeditor

 

3. 注意不要下载CKEditor for Drupal版本,该版本是Unlimited,需要购买商业许可证,否则无法使用。一般网站,使用open source版本即可。

 

posted on 2013-01-28 12:10  rorodo  阅读(2185)  评论(2)    收藏  举报