1 Star 0 Fork 0

twp0217 / ueditor-angular

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

ueditor-angular

angular directive for UEditor(基于AngularJS的UEditor指令)

环境

  • AngularJS >=1.2.0

安装

安装依赖

bower install ueditor-angular --save

项目引入angularueditorueditor-angular相关js

<script type="text/javascript" src="http://cdn.bootcss.com/angular.js/1.2.0/angular.min.js"></script>
<script type="text/javascript" src="http://ueditor.baidu.com/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="http://ueditor.baidu.com/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="dist/ueditor-angular.min.js"></script>

引入模块ueditor-angular

var app = angular.module('app', [
    'ueditor-angular'
]);

文档

属性(Attributes)

名称 类型 默认值 说明
setting Object - 配置项

事件(Events)

名称 参数 说明
onReady $ueditor : Editor 编辑器初始化完成
onContentChange $content : string 编辑器内容改变

支持

  • 如果项目对你有帮助,请点颗星:star:,谢谢。
  • 如果你对项目有想法、问题、BUG,欢迎讨论。
MIT License Copyright (c) 2017 tu.wenpan 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.

简介

angular directive for UEditor(基于AngularJS的UEditor指令) 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/twp0217/ueditor-angular.git
git@gitee.com:twp0217/ueditor-angular.git
twp0217
ueditor-angular
ueditor-angular
master

搜索帮助