zydx-plus 1.35.473 → 1.35.474
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
|
@@ -1138,6 +1138,9 @@ export default {
|
|
|
1138
1138
|
BubbleMenu.configure({ // 气泡菜单
|
|
1139
1139
|
pluginKey: 'bubbleMenu',
|
|
1140
1140
|
element: document.querySelector('.menu'),
|
|
1141
|
+
tippyOptions:{
|
|
1142
|
+
placement: 'right',
|
|
1143
|
+
},
|
|
1141
1144
|
shouldShow: ({editor, view, state, oldState, from, to}) => {
|
|
1142
1145
|
_this.encIndex = state.selection.$from.parent.attrs
|
|
1143
1146
|
if (_this.encIndex && _this.encIndex.titleId) {
|
|
@@ -1151,6 +1154,9 @@ export default {
|
|
|
1151
1154
|
BubbleMenu.configure({
|
|
1152
1155
|
pluginKey: 'bubbleMenuOne',
|
|
1153
1156
|
element: document.querySelector('.menu-one'),
|
|
1157
|
+
tippyOptions:{
|
|
1158
|
+
placement: 'right',
|
|
1159
|
+
},
|
|
1154
1160
|
shouldShow: ({editor, view, state, oldState, from, to}) => {
|
|
1155
1161
|
let encIndex = state.selection.$from.nodeBefore?.marks
|
|
1156
1162
|
if (encIndex && encIndex.length) {
|
|
@@ -2579,7 +2585,7 @@ export default {
|
|
|
2579
2585
|
if (this.selectionClass(cla)) {
|
|
2580
2586
|
this.editor.chain().focus().insertContentAt(this.selection(), '<p></p>').run()
|
|
2581
2587
|
}
|
|
2582
|
-
},100)
|
|
2588
|
+
}, 100)
|
|
2583
2589
|
})
|
|
2584
2590
|
}
|
|
2585
2591
|
up.onSuccess(file, res) // 上传成功回调
|
|
@@ -4381,7 +4387,6 @@ li {
|
|
|
4381
4387
|
background-color: #fff;
|
|
4382
4388
|
padding: 5px;
|
|
4383
4389
|
border-radius: 5px;
|
|
4384
|
-
box-shadow: 0 0 10px rgba(0, 0, 0, .2);
|
|
4385
4390
|
}
|
|
4386
4391
|
|
|
4387
4392
|
.menus {
|
|
@@ -4903,8 +4908,8 @@ li {
|
|
|
4903
4908
|
border-radius: 50%;
|
|
4904
4909
|
}
|
|
4905
4910
|
|
|
4906
|
-
:deep(.drag-pop-shadow){
|
|
4907
|
-
top:200px
|
|
4911
|
+
:deep(.drag-pop-shadow) {
|
|
4912
|
+
top: 200px
|
|
4908
4913
|
}
|
|
4909
4914
|
|
|
4910
4915
|
* {
|