# 富文本编辑器
<e-editor v-model="value" :text.sync="text"></e-editor>
text:{{text}}

```html
<template>
  <e-editor v-model="value"/>
</template>
<script>
  import EEditor from 'e-ui/Editor'
  export default {
    components: {
      EEditor
    },
    data () {
      return {
        value: '',
        text: ''
      }
    }
  }
</script>
```
### Extends
[UEditor](http://ueditor.baidu.com/)

### Props
| 参数      | 说明    | 类型      | 可选值       | 默认值   |
|---------- |-------- |---------- |------------- |--------- |
| value     | 值   | string  |   -       |    -    |
| text[sync]     | 文字   | string  |   -       |    -    |
| disabled     | 是否禁用   | boolean  |   -       |    false    |
| validateEvent     | change事件后是否触发表单校验   | -  |   -       |    true    |
| maxlength     | 最大长度   | number  |   -       |    8000    |
| options     | ueditor初始化选项   | object  |   -       |    -    |
| toolbars     | ueditor编辑器工具栏功能   | string,array  |   -       |        |
| script     | ueditor引入的脚本，默认把ueditor文件放在static下即可   | array  |   -       |        |
| headers     | http headers信息   | function  |   -       |        |


### Events
| 事件名称 | 说明 | 回调参数 |
|---------|--------|---------|
| change | 值改变事件 | value |

### Slots
| 名称 | 说明 | 
|---------|--------|
| - | - |