16 Star 116 Fork 44

邓草 / UEditor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

dc-UEditor 1.0.1

dc-UEditor,rich text 富文本编辑器,基于百度UEditor 1.4.3.3-utf8-php版修改。

修复了Uploader.class.php的安全隐患。

新增了以下功能:

1、上传图片是否加水印。

2、新增了单独调用上传的接口。

3、表情本地化,预防百度UEditor永久停更而打不开。

使用方法

上传图片是否加水印:

1、打开php/config.json,将"imageWatermark"修改为true,即可开启默认添加图片水印。

2、水印图片存放位置:php/water/watermark.png。

单独调用上传的接口:

参考示例文件:demo_upload.html,里面有详细调用说明和代码实例。

更新说明:

1、新版1.0.1:考虑到有时候编辑的内容需要保留标签,因此删除了原编辑器自动过滤标签的功能。

2、使用时,调用ueditor.all.js是修改后的1.0.1版本,而调用ueditor.all.min.js是使用原自动过滤标签的1.0.0版本,注意区分。

赞助支持:

支持本程序,请到Gitee和GitHub给我们点Star!

Gitee:https://gitee.com/caozha/ueditor

GitHub:https://github.com/cao-zha/ueditor

关于开发者

开发:草札 www.caozha.com

鸣谢:品络 www.pinluo.com   穷店 www.qiongdian.com

接口预览

输入图片说明

The MIT License (MIT) Copyright (c) 2013 ueditor Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

dc-UEditor,基于百度UEditor 1.4.3.3-utf8-php版修改。修复了Uploader.class.php的安全隐患,新增了功能:1、上传图片是否加水印。2、表情本地化,预防百度UEditor永久停更而打不开。3、新增了单独调用上传的接口。 展开 收起
PHP
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/caozha/ueditor.git
git@gitee.com:caozha/ueditor.git
caozha
ueditor
UEditor
master

搜索帮助