https://github.com/bigcui/quill-pro
https://github.com/bigcui/quill-pro
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bigcui/quill-pro
- Owner: bigcui
- Created: 2021-08-24T13:31:31.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-08T12:33:07.000Z (almost 5 years ago)
- Last Synced: 2024-12-31T22:11:27.127Z (over 1 year ago)
- Language: JavaScript
- Size: 435 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# quill-pro
寻遍全网找不到富文本插入下拉框的组件而不得
自己mock下element ui的多级下拉组件 简单实现如下
多级下拉框效果图如下
select 数据规则如下
统一挂载 `Quill.selectData` 对象名称必须`type`+ 'List' 命名
内部会统一处理 否则列表无法渲染 比如`userList`
结构要求
```
[
"name": "XXX",
"code": "XXX",
"children":[{XXXX}]
]
```
```
Quill.selectData = {
userList: userList
}
```

## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Run your unit tests
```
npm run test:unit
```
### Lints and fixes files
```
npm run lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
## refer https://github.com/surmon-china/vue-quill-editor/blob/master/src/editor.vue