New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vusui/editor

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vusui/editor

基于 Vue3 + Quill 封装的富文本编辑器组件。

0.0.6
latest
Source
npm
Version published
Weekly downloads
16
-62.79%
Maintainers
1
Weekly downloads
 
Created
Source

Vusui-editor 富文本编辑器

介绍

vue quill license vusui-editor

基于 Vue3 + Quill 封装的富文本编辑器组件。

使用文档】|【在线演示

安装

yarn add @vusui/editor
npm i @vusui/editor -S

全局注册

// main.ts
import { VusuiEditor } from '@vusui/editor';
import '@vusui/editor/lib/style.css';

app.use(VusuiEditor);

局部注册

import { VusuiEditor } from '@vusui/editor';
import '@vusui/editor/lib/style.css';

export default {
  components: {
    VusuiEditor
  }
};

模板使用

<template>
  <vusui-editor :options="editor.options" v-model:content="editor.content" />
</template>

<script setup lang="ts">
import { reactive } from 'vue';

const editor = reactive({
    // 内容
    content: '',
    // quill 配置参数
    options: {
      ...
    }
});
</script>

License

MIT

Copyright (c) 2017-present, Vusui

Keywords

@vusui/editor

FAQs

Package last updated on 22 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts