Quill for Vue3
https://7uvss.github.io/vue3-quill-editor/
npm i vue3-quill-editor
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>