Drupal安装百度编辑器Ueditor for wysiwyg
2015-09-03 14:24
489 查看
首先去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)(可选)
安装百度编辑器时如果只是启用了编辑器模块而没有导入关联的编辑器库文件,可能会出现以下错误提示。
解决办法是去百度编辑器官网下载库文件在网站sites/all/libraries/ueditor/里建立uedutor目录并保证可以访问到这个文件 sites/all/libraries/ueditor/ueditor.all.js.错误即可解决。然后去设置-编辑器方案,给相应的方案选择编辑器就可以了。
相关文章推荐
- drupal中hook_menu()使用
- 一步一步跟我学易语言之第二个易程序菜单设计
- Drupal 添加模块出现莫名其妙的错误的解决方法(往往出现在模块较多时)
- dedecms ckeditor编辑器添加链接默认新窗口打开的修改方法
- FCK编辑器(FCKEditor)添加新按钮和功能的修改方法
- 为ckeditor编辑器加上传图片的功能
- CKEditor 附插入代码的插件
- ecshop后台编辑器替换成ueditor编辑器
- 10个基于jQuery或JavaScript的WYSIWYG 编辑器整理
- 将CKfinder整合进CKEditor3.0的新方法
- PHP网页 Ewebeditor 编辑器嵌入方法
- PHP中CKEditor和CKFinder配置问题小结
- kindSoft在线网页编辑器简单的配置参数介绍
- ckeditor syntaxhighlighter代码高亮插件,完美修复
- dedecms5.5 最新版ckeditor编辑器整合教程
- SyntaxHighlighter配合CKEditor插件轻松打造代码语法着色
- javascript 在线文本编辑器实现代码
- 在线编辑器中换行与内容自动提取
- 关于CKeditor的非主流个性应用的设置
- Linux-VI编辑器的使用—高手与菜鸟