# lui-ckeditor

## CkeditorComponent

## 使用场景

富文本编辑器

## 项目中用到的地方

公共讨论组件--新建讨论模块

## 代码示例

```html
 <lui-ckeditor formControlName="content" [toolbarMode]="'um'"></lui-ckeditor>
 <lui-ckeditor [(ngModel)]="replyContent" [toolbarMode]="'um'"></lui-ckeditor>
```

## API

| 参数                | 说明             | 类型     | 默认值  |
| ------------------- | ---------------- | -------- | ------- |
| `[formControlName]` | 富文本里面的内容 | `String` | ---     |
| `[(ngModel)]`       | 富文本里面的内容 | `String` | ---     |
| `(toolbarMode)`     | 富文本配置       | `String` | `basic` |
