cool-admin-vue/src/modules/demo/views/editor-quill.vue
2022-08-17 10:48:26 +08:00

33 lines
550 B
Vue

<template>
<div class="editor scroller1">
<div class="item">
<p class="title">Wang</p>
<cl-editor-wang v-model="w" :height="300" />
</div>
<div class="item">
<p class="title">Quill</p>
<cl-editor-quill v-model="q" :height="300" />
</div>
</div>
</template>
<script lang="ts" setup name="editor-quill">
import { ref } from "vue";
const q = ref("Quill");
const w = ref("Wang");
</script>
<style lang="scss" scoped>
.editor {
.title {
font-size: 15px;
margin-bottom: 10px;
}
.item {
margin-bottom: 20px;
}
}
</style>