优化backend产品和解决方案
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
<template>
|
||||
<umo-editor
|
||||
ref="editorRef"
|
||||
v-bind="options"
|
||||
@changed="onChanged"
|
||||
@created="onCreated"
|
||||
@file-upload="onFileUpload"
|
||||
/>
|
||||
<div class="umo-editor-wrapper">
|
||||
<umo-editor
|
||||
ref="editorRef"
|
||||
v-bind="options"
|
||||
@changed="onChanged"
|
||||
@created="onCreated"
|
||||
@file-upload="onFileUpload"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@@ -64,3 +66,20 @@ watch(
|
||||
}
|
||||
)
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.umo-editor-wrapper {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
min-width: 0;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
:deep(.umo-editor),
|
||||
:deep(umo-editor) {
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user