<template>
<QuillEditor theme="snow" toolbar="full" v-model:content="textContent" contentType="html" />
<!-- 预览 加上ql-editor类选择器 -->
<span v-html="textContent" :class="['quill', 'ql-editor']"></span>
</template>
<script>
import { QuillEditor } from '@vueup/vue-quill';
import '@vueup/vue-quill/dist/vue-quill.snow.css';
export default {
components: { QuillEditor },
};
</script>
<style>
</style>
vue3之vue-quill插件回显问题:空格、有序列表
猜你喜欢
转载自blog.csdn.net/weixin_45346457/article/details/122165917
今日推荐
周排行