This commit is contained in:
yanran200730
2022-01-10 13:54:07 +08:00
parent c57023399d
commit c93dc7fff2
7 changed files with 40 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="AiEditor" @click="editing=true">
<div ref="AiEditorInstance"/>
<div ref="AiEditorInstance" style="-webkit-user-select:text;"/>
<div class="bottomPanel" :class="{fixed:isFullScreen}">
<slot v-if="$slots.bottom" name="bottom"/>
<div v-else-if="maxlength" class="fontCount">{{ [editorText.length, maxlength].join(" / ") }}</div>
@@ -230,6 +230,7 @@ export default {
.w-e-text {
overflow: auto;
padding: 10px;
word-break: break-all;
p {
margin: 0;