## 富文本编辑器（选项多）
<br />

#### 用法（请看Attributes说明）
#
< c-edit :msg="{ text: '' }" />
#
< c-edit :tKey="'textA'" :msg="{ textA: '' }" />

### 基本用法

:::demo 
```html
<template>
    <div>
    {{msg}}
    <c-edit1 :msg="msg" :tKey="tKey" placeholder="请输入" :width="widthN"></c-edit1>
    </div>
</template>
<script>
export default {
    data() {
        return {
            widthN: '100%',
            tKey: 'asd',
            msg: {
                asd: `富文本<strong>加粗<a title=\"超链接\" href=\"https://element.eleme.cn/2.11/#/zh-CN\" target=\"_blank\" rel=\"noopener\">https://element.eleme.cn/2.11/#/zh-CN</a></strong>\n<p><img src="2021/01/20/16111035787370603.jpg" ></p>`
            }
        }
   }
 };
</script>
```
:::

### Attributes
| 参数      | 说明          | 类型      | 可选值                           | 默认值  |
|---------- |-------------- |---------- |--------------------------------  |-------- |
| msg     |  用户输入文本与props.msg[props.tKey]或props.msg.text(不传tKey时)双向绑定           | object | — | — |
| tKey     |  用户输入文本与props.msg[props.tKey]双向绑定           | string | — | — |
| width | 编辑器宽度,默认值为800 | string | — | — |