https://github.com/twp0217/ueditor-angular
angular directive for UEditor(基于AngularJS的UEditor指令)
https://github.com/twp0217/ueditor-angular
angular angularjs ueditor ueditor-angular
Last synced: 10 months ago
JSON representation
angular directive for UEditor(基于AngularJS的UEditor指令)
- Host: GitHub
- URL: https://github.com/twp0217/ueditor-angular
- Owner: twp0217
- License: mit
- Created: 2017-04-23T10:58:23.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-26T15:07:43.000Z (almost 9 years ago)
- Last Synced: 2025-06-20T23:07:47.428Z (10 months ago)
- Topics: angular, angularjs, ueditor, ueditor-angular
- Language: JavaScript
- Homepage: https://twp0217.github.io/ueditor-angular/
- Size: 3.48 MB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ueditor-angular
> angular directive for UEditor(基于AngularJS的UEditor指令)
## 环境
- **AngularJS >=1.2.0**
## 安装
#### 安装依赖
```
bower install ueditor-angular --save
```
#### 项目引入`angular`、`ueditor`和`ueditor-angular`相关js
```
```
#### 引入模块`ueditor-angular`
```
var app = angular.module('app', [
'ueditor-angular'
]);
```
## 文档
### 属性(Attributes)
| 名称 | 类型 | 默认值 | 说明 |
| --- | --- | --- | --- |
| setting | Object | - | [配置项](http://fex.baidu.com/ueditor/#start-config) |
### 事件(Events)
| 名称 | 参数 | 说明 |
| --- | --- | --- |
| onReady | $ueditor : Editor | 编辑器初始化完成 |
| onContentChange | $content : string | 编辑器内容改变 |
# 支持
- 如果项目对你有帮助,请点颗星:star:,谢谢。
- 如果你对项目有想法、问题、BUG,欢迎讨论。