wysiwyg+ckeditor 安装

1.下载wysiwyg模块  https://drupal.org/project/wysiwyg

2.下载ckeditor 上传/sites/all/libraries

出现问题:

wysiwyg+ckeditor 安装

解决方法:

在文件  \sites\all\modules\wysiwyg\ckeditor\ckeditor.inc 查找
if (preg_match('@version:\'(?:CKEditor )?([\d\.]+)(?:.+revision:\'([\d]+))?@', $line, $version)) {

修改成:

if (preg_match('@version:\"(?:CKEditor )?([\d\.]+)(?:.+revision:\"([\d]+))?@', $line, $version)) {

3.配置

wysiwyg

 

参考:http://www.webopius.com/content/717/how-to-get-ckeditor-4-x-working-with-the-drupal-7-wysiwyg-module

你可能感兴趣的:(ckeditor)