This commit is contained in:
2025-09-08 16:37:53 +08:00
parent 78384b9c85
commit 55d396989a

View File

@@ -0,0 +1,21 @@
<template>
<div>
<h1>文章编辑器</h1>
<RichTextEditor v-model="articleContent" />
</div>
</template>
<script setup>
import { ref } from 'vue'
import RichTextEditor from '@/views/dashboard/components/sq-text-t7/index.vue'
const articleContent = ref('<p>这里是默认内容...</p>')
</script>
<style>
.preview {
margin-top: 20px;
padding: 15px;
border: 1px solid #eee;
border-radius: 4px;
}
</style>