公告板
版本库
filestore
活动
搜索
登录
jingshen
/
cool-admin-vue
源无忧无废校园-前端
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
first add
wangzhibo
2026-07-16
b57020623cf0c946706573bf102e548c3a544423
[jingshen/cool-admin-vue.git]
/
src
/
plugins
/
editor-preview
/
demo
/
base.vue
1
2
3
4
5
6
7
8
9
10
11
<template>
<cl-editor-preview v-model="wang" name="wang" :text="$t('查看内容')" />
</template>
<script lang="ts" setup>
import { ref } from 'vue';
const wang = ref(
'<p><span style="font-size: 22px;"><em>富文本编</em></span><span style="color: rgb(216, 68, 147); font-size: 22px;"><em>辑器</em></span></p>'
);
</script>