首先去Drupal官方下载百度编辑器模块
Drupal百度编辑器模块下载地址:https://www.drupal.org/project/ueditor
Installation
-------------
1. Download the ueditor in
下载编辑器在下面的地址
http://ueditor.baidu.com/website/index.html.
或是 http://ueditor.baidu.com/website/download.html
下载最新的php版本即可。
2. Unzip it into sites/all/libraries,
so that there's like sites/all/libraries/ueditor/ueditor.all.js.
解压到sites/all/libraries,目录里面,以便像这样访问 sites/all/libraries/ueditor/ueditor.all.js.
3. Do like this https://drupal.org/node/2286333
这样做https://drupal.org/node/2286333
4. Enabled ueditor module.
启用编辑器模块。
5. Go to admin/people/permissions and grant permission to any roles that need to be
able to upload file with ueditor.
去admin/people/permissions ,授予可以上传的角色权限给编辑器。
6. Configure the module at admin/config/content/wysiwyg
配置模块admin/config/content/wysiwyg
7. Configure the module at admin/config/content/ueditor (Optional)
配置模块admin/config/content/ueditor (Optional)(可选)