vue3-quill-editor

1,346 2
Install
npm install vue3-quill-editor
Latest Version:0.0.23-0
Vue:3
License:ISC
Last Updated:Jun 3, 2021
Links: GitHub  ·  npm
Maintainer: 7uvss

Vue 3 Quill Rich Text Editor

Quill for Vue3

Install

npm i vue3-quill-editor

Usage

Global Registration:

// vue - main.js
import Quill from "vue3-quill-editor";
import "vue3-quill-editor/lib/style.css";

app.use(Quill);

In .vue:

<template>
  <richTextEditor :toolBarConfig="toolBarConfig" v-model="rawHTML"></richTextEditor>
</template>

<script setup lang="ts">
  import { ref } from "vue";
  const toolBarConfig = [[{ header: [1, 2, 3, false] }], [{ color: [] }, { background: [] }], ['bold', 'italic', 'underline', 'strike'], [{ align: [] }], ['clean']]
  const rawHTML = ref("");
</script>

Version History

Pre-releases (22)
Version Released Vue License
0.0.23-0 ^3.0.5 ISC
0.0.22-0 ^3.0.5 ISC
0.0.20-0 ^3.0.5 ISC
0.0.19-0 ^3.0.5 ISC
0.0.18-0 ^3.0.5 ISC