2026-03-26 20:18:20 +08:00
|
|
|
<script setup lang="ts">
|
2026-05-09 11:30:34 +08:00
|
|
|
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' });
|
|
|
|
|
|
2026-05-09 11:30:34 +08:00
|
|
|
const value = ref('<p>hello <strong>wangEditor v5</strong></p>');
|
2026-03-26 20:18:20 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<div class="h-full">
|
|
|
|
|
<ElCard header="富文本插件" class="card-wrapper">
|
2026-05-09 11:30:34 +08:00
|
|
|
<BusinessRichTextEditor v-model="value" :height="360" upload-directory="demo" />
|
2026-03-26 20:18:20 +08:00
|
|
|
<template #footer>
|
2026-05-09 11:30:34 +08:00
|
|
|
<GithubLink link="https://github.com/wangeditor-next/wangEditor-next" />
|
2026-03-26 20:18:20 +08:00
|
|
|
</template>
|
|
|
|
|
</ElCard>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|