Here is a simple and easy-to-use rich text editor
There are only three steps to use!
1 Download this rich text editor
npm install vue2-editor
#或者使用
yarn add vue2-editor
2 Global or local registration in mian.js
import Vue from "vue";
import Vue2Editor from "vue2-editor";
Vue.use(Vue2Editor);
// 基本用途-涵盖大多数情况
import { VueEditor } from "vue2-editor";
// 高级使用-HookQuill的API定制功能
import { VueEditor, Quill } from "vue2-editor";
3 Just use it directly on the page you want to use
<template>
<vue-editor v-model="content" />
</template>
Summary: The most simple and easy-to-use method has been compiled for everyone! As shown below
References: https://www.jianshu.com/p/424556c68cd6
Those who are interested can go to the detailed information
thank you all