zydx-plus 1.35.484 → 1.35.485

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zydx-plus",
3
- "version": "1.35.484",
3
+ "version": "1.35.485",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -6,8 +6,8 @@
6
6
  @mouseup.stop="mouseup"
7
7
  @mouseleave.stop="mousemove" :style="{'text-align': title === ''? 'center':'left'}" v-html="title"></span>
8
8
  <div class="drag-i">
9
- <i class="minimize-cir" v-if="minimizeCir" @click.stop="minimizeTap"></i>
10
- <i class="minimize" v-if="minimize" @click.stop="minimizeTap"></i>
9
+ <!-- <i class="minimize-cir" v-if="minimizeCir" @click.stop="minimizeTap"></i>-->
10
+ <!-- <i class="minimize" v-if="minimize" @click.stop="minimizeTap"></i>-->
11
11
  <slot name="icon"></slot>
12
12
  <i class="disconnect" v-if="disconnectShow" @click.stop="disconnect"></i>
13
13
  <i class="enlarge" v-if="enlargeShow" @click.stop="enlarge"></i>
@@ -31,8 +31,8 @@
31
31
  :editor="editor"
32
32
  :tippy-options="{ duration: 100}"
33
33
  :shouldShow="shouldShowFn"
34
- v-if="editor && readOnly"
35
- v-show="showBubble"
34
+ v-if="editor"
35
+ v-show="showBubble && readOnly"
36
36
  >
37
37
  <div class="bubbleMenu">
38
38
  <div class="line">
@@ -867,8 +867,6 @@ export default {
867
867
  toolTap(v) {
868
868
  // 获取当前选中的节点
869
869
  const {$anchor} = this.editor.state.selection
870
- console.log(this.editor.chain().focus());
871
- console.log($anchor);
872
870
  if ($anchor.path[3].attrs.titleId === 'source') {
873
871
  let html = this.editor.getHTML()
874
872
  html += '<p></p>'
@@ -1075,6 +1073,7 @@ export default {
1075
1073
  flex: 1;
1076
1074
  text-align: left;
1077
1075
  font-size: 16px;
1076
+ min-width: 70px;
1078
1077
  }
1079
1078
 
1080
1079
  .enclosure-list {
package/src/index.js CHANGED
@@ -87,7 +87,7 @@ function install(app) {
87
87
  }
88
88
 
89
89
  export default {
90
- version: '1.35.484',
90
+ version: '1.35.485',
91
91
  install,
92
92
  Calendar,
93
93
  Message,