zydx-plus 1.35.603 → 1.35.604
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
:accept="(item.key === 'upImg')?'image/*':'.docx,.pptx,.pdf,.xlsx,.mp3,.mp4'" style="display: none;"/>
|
|
21
21
|
<span class="buts" :style="{color: ( disabled) ? '#ccc':'#000'}">{{ item.title }}</span>
|
|
22
22
|
</label >
|
|
23
|
-
<button v-else-if="item.key === 'uploadAtt'" class="buts" @click="item.onClick(item)" :disabled="disabled"
|
|
23
|
+
<button v-else-if="item.key === 'uploadAtt'" class="buts" @click="item.onClick(item,info)" :disabled="disabled"
|
|
24
24
|
:style="{color: (disabled) ? '#ccc' : (item.active)? '#4B0C77' :'#000'}">{{ item.title }}
|
|
25
25
|
</button>
|
|
26
26
|
<button v-else-if="item.key === 'paint'" class="buts" @click="toolTap('paint')" :disabled="disabled">{{ item.title }}</button>
|
|
@@ -36,9 +36,12 @@
|
|
|
36
36
|
</div>
|
|
37
37
|
<zydx-chat v-model='isShowAi' :apiPrefix="apiPrefix"></zydx-chat>
|
|
38
38
|
<div class="ed-cont" :style="heightStyleCont">
|
|
39
|
-
<div
|
|
40
|
-
<
|
|
41
|
-
|
|
39
|
+
<div :style="{'border': (borderShow)? '1px solid #ccc': '0'}" v-if="editorShow">
|
|
40
|
+
<div v-if="!readOnly&&dataChange(this.data).html.length === 0" class="editor-no">暂无数据</div>
|
|
41
|
+
<template v-else>
|
|
42
|
+
<editor-content @paste.native.capture.prevent="preventPaste" ref="editorRef" class="editor" :editor="editor"
|
|
43
|
+
:style="heightStyleCont"/>
|
|
44
|
+
</template>
|
|
42
45
|
<bubble-menu
|
|
43
46
|
:editor="editor"
|
|
44
47
|
:tippy-options="{ duration: 100}"
|
|
@@ -1360,5 +1363,9 @@ export default {
|
|
|
1360
1363
|
width: 100%;
|
|
1361
1364
|
height: 100%;
|
|
1362
1365
|
}
|
|
1363
|
-
|
|
1366
|
+
.editor-no{
|
|
1367
|
+
text-indent: 2em;
|
|
1368
|
+
color: #666;
|
|
1369
|
+
line-height: 30px;
|
|
1370
|
+
}
|
|
1364
1371
|
</style>
|