Files
cn-rdms-web/src/views/plugin/editor/quill/index.vue

20 lines
601 B
Vue
Raw Normal View History

2026-03-26 20:18:20 +08:00
<script setup lang="ts">
import { ref } from 'vue';
import BusinessRichTextEditor from '@/components/custom/business-rich-text-editor.vue';
2026-03-26 20:18:20 +08:00
defineOptions({ name: 'QuillPage' });
const value = ref('<p>hello&nbsp;<strong>wangEditor v5</strong></p>');
2026-03-26 20:18:20 +08:00
</script>
<template>
<div class="h-full">
<ElCard header="富文本插件" class="card-wrapper">
<BusinessRichTextEditor v-model="value" :height="360" upload-directory="demo" />
2026-03-26 20:18:20 +08:00
<template #footer>
<GithubLink link="https://github.com/wangeditor-next/wangEditor-next" />
2026-03-26 20:18:20 +08:00
</template>
</ElCard>
</div>
</template>