https://github.com/vusui/vusui-editor
基于 Vue3 + Quill 封装的富文本编辑器组件。
https://github.com/vusui/vusui-editor
editor quill quilljs vue3 vusui vusui-editor
Last synced: 3 months ago
JSON representation
基于 Vue3 + Quill 封装的富文本编辑器组件。
- Host: GitHub
- URL: https://github.com/vusui/vusui-editor
- Owner: vusui
- License: mit
- Created: 2022-11-17T09:05:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-22T02:46:44.000Z (about 3 years ago)
- Last Synced: 2025-09-18T11:36:50.893Z (4 months ago)
- Topics: editor, quill, quilljs, vue3, vusui, vusui-editor
- Language: JavaScript
- Homepage: https://vusui.com/editor
- Size: 905 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vusui-editor 富文本编辑器
## 介绍
[](https://cn.vuejs.org/)
[](https://quilljs.com/)
[](https://github.com/vusui/vusui-admin-template/blob/main/LICENSE)
[](https://github.com/vusui/vusui-editor)
基于 Vue3 + Quill 封装的富文本编辑器组件。
【[使用文档](https://www.vusui.com/editor)】|【[在线演示](https://www.vusui.com/editor/docs/guide/demo.html)】
## 安装
```bash
yarn add @vusui/editor
npm i @vusui/editor -S
```
## 全局注册
```ts
// main.ts
import { VusuiEditor } from '@vusui/editor';
import '@vusui/editor/lib/style.css';
app.use(VusuiEditor);
```
## 局部注册
```ts
import { VusuiEditor } from '@vusui/editor';
import '@vusui/editor/lib/style.css';
export default {
components: {
VusuiEditor
}
};
```
## 模板使用
```vue
import { reactive } from 'vue';
const editor = reactive({
// 内容
content: '',
// quill 配置参数
options: {
...
}
});
```
## License
[MIT](http://opensource.org/licenses/MIT)
Copyright (c) 2017-present, Vusui