@haluo/biz 2.0.37 → 2.0.38
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/dist/haluo-biz.js +715 -664
- package/dist/haluo-biz.umd.cjs +743 -681
- package/dist/{squire-raw.ca3d11c8.js → squire-raw-97946106.js} +18 -4
- package/dist/style.css +117 -46
- package/package.json +3 -2
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
var COLOUR_CLASS = "colour";
|
|
15
15
|
var FONT_FAMILY_CLASS = "font";
|
|
16
16
|
var FONT_SIZE_CLASS = "size";
|
|
17
|
-
var ZWS = "
|
|
17
|
+
var ZWS = "";
|
|
18
18
|
var win = doc.defaultView;
|
|
19
19
|
var ua = navigator.userAgent;
|
|
20
20
|
var isAndroid = /Android/.test(ua);
|
|
@@ -44,11 +44,17 @@
|
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
var typeToBitArray = {
|
|
47
|
+
// ELEMENT_NODE
|
|
47
48
|
1: 1,
|
|
49
|
+
// ATTRIBUTE_NODE
|
|
48
50
|
2: 2,
|
|
51
|
+
// TEXT_NODE
|
|
49
52
|
3: 4,
|
|
53
|
+
// COMMENT_NODE
|
|
50
54
|
8: 128,
|
|
55
|
+
// DOCUMENT_NODE
|
|
51
56
|
9: 256,
|
|
57
|
+
// DOCUMENT_FRAGMENT_NODE
|
|
52
58
|
11: 1024
|
|
53
59
|
};
|
|
54
60
|
function TreeWalker(root, nodeType, filter) {
|
|
@@ -382,7 +388,7 @@
|
|
|
382
388
|
node.appendChild(fixer);
|
|
383
389
|
} catch (error) {
|
|
384
390
|
self.didError({
|
|
385
|
-
name: "Squire: fixCursor
|
|
391
|
+
name: "Squire: fixCursor – " + error,
|
|
386
392
|
message: "Parent: " + node.nodeName + "/" + node.innerHTML + " appendChild: " + fixer.nodeName
|
|
387
393
|
});
|
|
388
394
|
}
|
|
@@ -728,7 +734,8 @@
|
|
|
728
734
|
block = getStartBlockOfRange(range, root);
|
|
729
735
|
firstBlockInFrag = getNextBlock(frag, frag);
|
|
730
736
|
replaceBlock = !!block && isEmptyBlock(block);
|
|
731
|
-
if (block && firstBlockInFrag && !replaceBlock &&
|
|
737
|
+
if (block && firstBlockInFrag && !replaceBlock && // Don't merge table cells or PRE elements into block
|
|
738
|
+
!getNearest(firstBlockInFrag, frag, "PRE") && !getNearest(firstBlockInFrag, frag, "TABLE")) {
|
|
732
739
|
moveRangeBoundariesUpTree(range, block, block, root);
|
|
733
740
|
range.collapse(true);
|
|
734
741
|
container = range.endContainer;
|
|
@@ -744,7 +751,10 @@
|
|
|
744
751
|
container = nodeAfterSplit.parentNode;
|
|
745
752
|
offset = indexOf.call(container.childNodes, nodeAfterSplit);
|
|
746
753
|
}
|
|
747
|
-
if (
|
|
754
|
+
if (
|
|
755
|
+
/* isBlock( container ) && */
|
|
756
|
+
offset !== getLength(container)
|
|
757
|
+
) {
|
|
748
758
|
blockContentsAfterSplit = root.ownerDocument.createDocumentFragment();
|
|
749
759
|
while (node = container.childNodes[offset]) {
|
|
750
760
|
blockContentsAfterSplit.appendChild(node);
|
|
@@ -1793,9 +1803,11 @@
|
|
|
1793
1803
|
if (hasImage) {
|
|
1794
1804
|
this.fireEvent("dragover", {
|
|
1795
1805
|
dataTransfer: clipboardData,
|
|
1806
|
+
/* jshint loopfunc: true */
|
|
1796
1807
|
preventDefault: function() {
|
|
1797
1808
|
fireDrop = true;
|
|
1798
1809
|
}
|
|
1810
|
+
/* jshint loopfunc: false */
|
|
1799
1811
|
});
|
|
1800
1812
|
if (fireDrop) {
|
|
1801
1813
|
this.fireEvent("drop", {
|
|
@@ -2002,7 +2014,9 @@
|
|
|
2002
2014
|
leafNodeNames,
|
|
2003
2015
|
undo: {
|
|
2004
2016
|
documentSizeThreshold: -1,
|
|
2017
|
+
// -1 means no threshold
|
|
2005
2018
|
undoLimit: -1
|
|
2019
|
+
// -1 means no limit
|
|
2006
2020
|
},
|
|
2007
2021
|
isInsertedHTMLSanitized: true,
|
|
2008
2022
|
isSetHTMLSanitized: true,
|
package/dist/style.css
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
.m-colorPicker[data-v-b46fc003]{position:relative;text-align:left;font-size:14px;display:inline-block;outline:none}.m-colorPicker ul[data-v-b46fc003],.m-colorPicker li[data-v-b46fc003],.m-colorPicker ol[data-v-b46fc003]{list-style:none;margin:0;padding:0}.m-colorPicker .colorBtn[data-v-b46fc003]{width:15px;height:15px}.m-colorPicker .colorBtn.disabled[data-v-b46fc003]{cursor:no-drop}.m-colorPicker .box[data-v-b46fc003]{position:absolute;width:190px;background:#fff;border:1px solid #ddd;visibility:hidden;border-radius:2px;margin-top:2px;padding:10px 10px 5px;box-shadow:0 0 5px #00000026;opacity:0;transition:all .3s ease;box-sizing:content-box}.m-colorPicker .box h3[data-v-b46fc003]{margin:10px 0 5px;font-size:14px;font-weight:400;line-height:1;color:#333}.m-colorPicker .box input[data-v-b46fc003]{visibility:hidden;position:absolute;left:0;bottom:0}.m-colorPicker .box.open[data-v-b46fc003]{visibility:visible;opacity:1;z-index:1}.m-colorPicker .hd[data-v-b46fc003]{overflow:hidden;line-height:29px}.m-colorPicker .hd .colorView[data-v-b46fc003]{width:100px;height:30px;float:left;transition:background-color .3s ease}.m-colorPicker .hd .defaultColor[data-v-b46fc003]{width:80px;float:right;text-align:center;border:1px solid #ddd;cursor:pointer;color:#333}.m-colorPicker .tColor li[data-v-b46fc003]{width:15px;height:15px;display:inline-block;margin:0 2px;transition:all .3s ease}.m-colorPicker .tColor li[data-v-b46fc003]:hover{box-shadow:0 0 5px #0006
|
|
2
|
-
.m12[data-v-
|
|
1
|
+
.m-colorPicker[data-v-b46fc003]{position:relative;text-align:left;font-size:14px;display:inline-block;outline:none}.m-colorPicker ul[data-v-b46fc003],.m-colorPicker li[data-v-b46fc003],.m-colorPicker ol[data-v-b46fc003]{list-style:none;margin:0;padding:0}.m-colorPicker .colorBtn[data-v-b46fc003]{width:15px;height:15px}.m-colorPicker .colorBtn.disabled[data-v-b46fc003]{cursor:no-drop}.m-colorPicker .box[data-v-b46fc003]{position:absolute;width:190px;background:#fff;border:1px solid #ddd;visibility:hidden;border-radius:2px;margin-top:2px;padding:10px 10px 5px;box-shadow:0 0 5px #00000026;opacity:0;transition:all .3s ease;box-sizing:content-box}.m-colorPicker .box h3[data-v-b46fc003]{margin:10px 0 5px;font-size:14px;font-weight:400;line-height:1;color:#333}.m-colorPicker .box input[data-v-b46fc003]{visibility:hidden;position:absolute;left:0;bottom:0}.m-colorPicker .box.open[data-v-b46fc003]{visibility:visible;opacity:1;z-index:1}.m-colorPicker .hd[data-v-b46fc003]{overflow:hidden;line-height:29px}.m-colorPicker .hd .colorView[data-v-b46fc003]{width:100px;height:30px;float:left;transition:background-color .3s ease}.m-colorPicker .hd .defaultColor[data-v-b46fc003]{width:80px;float:right;text-align:center;border:1px solid #ddd;cursor:pointer;color:#333}.m-colorPicker .tColor li[data-v-b46fc003]{width:15px;height:15px;display:inline-block;margin:0 2px;transition:all .3s ease}.m-colorPicker .tColor li[data-v-b46fc003]:hover{box-shadow:0 0 5px #0006;transform:scale(1.3)}.m-colorPicker .bColor li[data-v-b46fc003]{width:15px;display:inline-block;margin:0 2px}.m-colorPicker .bColor li li[data-v-b46fc003]{display:block;width:15px;height:15px;transition:all .3s ease;margin:0}.m-colorPicker .bColor li li[data-v-b46fc003]:hover{box-shadow:0 0 5px #0006;transform:scale(1.3)}
|
|
2
|
+
.m12[data-v-50235bb8] {
|
|
3
3
|
margin: 0 12px;
|
|
4
4
|
}
|
|
5
|
-
.ml16[data-v-
|
|
5
|
+
.ml16[data-v-50235bb8] {
|
|
6
6
|
margin-left: 16px;
|
|
7
7
|
}
|
|
8
|
-
.mr12[data-v-
|
|
8
|
+
.mr12[data-v-50235bb8] {
|
|
9
9
|
margin-right: 12px;
|
|
10
10
|
}
|
|
11
|
-
.ml12[data-v-
|
|
11
|
+
.ml12[data-v-50235bb8] {
|
|
12
12
|
margin-left: 12px;
|
|
13
13
|
}
|
|
14
|
-
.mr18[data-v-
|
|
14
|
+
.mr18[data-v-50235bb8] {
|
|
15
15
|
margin-right: 18px;
|
|
16
16
|
}
|
|
17
|
-
.tools[data-v-
|
|
17
|
+
.tools[data-v-50235bb8] {
|
|
18
18
|
z-index: 2;
|
|
19
19
|
position: relative;
|
|
20
20
|
background: #FAFAFA;
|
|
21
21
|
}
|
|
22
|
-
.tools .tools-content[data-v-
|
|
22
|
+
.tools .tools-content[data-v-50235bb8] {
|
|
23
23
|
display: flex;
|
|
24
24
|
align-items: center;
|
|
25
25
|
}
|
|
26
|
-
.tools img[data-v-
|
|
26
|
+
.tools img[data-v-50235bb8] {
|
|
27
27
|
cursor: pointer;
|
|
28
28
|
}
|
|
29
|
-
.tools .box[data-v-
|
|
29
|
+
.tools .box[data-v-50235bb8] {
|
|
30
30
|
position: relative;
|
|
31
31
|
}
|
|
32
|
-
.tools .box .box-mask[data-v-
|
|
32
|
+
.tools .box .box-mask[data-v-50235bb8] {
|
|
33
33
|
width: 40px;
|
|
34
34
|
height: 40px;
|
|
35
35
|
background: black;
|
|
@@ -38,32 +38,31 @@
|
|
|
38
38
|
position: absolute;
|
|
39
39
|
pointer-events: none;
|
|
40
40
|
}
|
|
41
|
-
.tools .tools-title[data-v-
|
|
41
|
+
.tools .tools-title[data-v-50235bb8] {
|
|
42
42
|
color: #333333;
|
|
43
43
|
font-size: 18px;
|
|
44
44
|
display: flex;
|
|
45
45
|
align-items: center;
|
|
46
46
|
cursor: pointer;
|
|
47
47
|
}
|
|
48
|
-
.tools .disable[data-v-
|
|
48
|
+
.tools .disable[data-v-50235bb8] {
|
|
49
49
|
cursor: not-allowed;
|
|
50
|
-
|
|
51
|
-
filter: blur(0.6px);
|
|
50
|
+
filter: blur(0.6px);
|
|
52
51
|
}
|
|
53
|
-
.tools .disable img[data-v-
|
|
52
|
+
.tools .disable img[data-v-50235bb8] {
|
|
54
53
|
cursor: not-allowed;
|
|
55
54
|
}
|
|
56
|
-
.tools .wrap[data-v-
|
|
55
|
+
.tools .wrap[data-v-50235bb8] {
|
|
57
56
|
position: relative;
|
|
58
57
|
}
|
|
59
|
-
.tools[data-v-
|
|
58
|
+
.tools[data-v-50235bb8] .m-colorPicker {
|
|
60
59
|
position: absolute;
|
|
61
60
|
width: 100%;
|
|
62
61
|
left: 0;
|
|
63
62
|
z-index: -1;
|
|
64
63
|
height: 100%;
|
|
65
64
|
}
|
|
66
|
-
.tools[data-v-
|
|
65
|
+
.tools[data-v-50235bb8] .m-colorPicker .colorBtn {
|
|
67
66
|
width: 100%;
|
|
68
67
|
height: 100%;
|
|
69
68
|
opacity: 0;
|
|
@@ -429,8 +428,7 @@
|
|
|
429
428
|
position: absolute;
|
|
430
429
|
top: 0;
|
|
431
430
|
right: 0;
|
|
432
|
-
|
|
433
|
-
transform: translate(50%, -50%);
|
|
431
|
+
transform: translate(50%, -50%);
|
|
434
432
|
}
|
|
435
433
|
.insert-img .img-wrap {
|
|
436
434
|
display: flex;
|
|
@@ -477,7 +475,7 @@
|
|
|
477
475
|
color: #999999;
|
|
478
476
|
margin-bottom: 5px;
|
|
479
477
|
}
|
|
480
|
-
.article-item[data-v-
|
|
478
|
+
.article-item[data-v-4ebe06df] {
|
|
481
479
|
-webkit-user-select: none;
|
|
482
480
|
-moz-user-select: none;
|
|
483
481
|
-ms-user-select: none;
|
|
@@ -490,7 +488,7 @@
|
|
|
490
488
|
width: 440px;
|
|
491
489
|
position: relative;
|
|
492
490
|
}
|
|
493
|
-
.article-item .icon[data-v-
|
|
491
|
+
.article-item .icon[data-v-4ebe06df] {
|
|
494
492
|
width: 14px;
|
|
495
493
|
-webkit-user-select: none;
|
|
496
494
|
-moz-user-select: none;
|
|
@@ -500,10 +498,9 @@
|
|
|
500
498
|
top: 0;
|
|
501
499
|
right: 0;
|
|
502
500
|
color: #b7b7b7;
|
|
503
|
-
|
|
504
|
-
transform: translate(50%, -50%);
|
|
501
|
+
transform: translate(50%, -50%);
|
|
505
502
|
}
|
|
506
|
-
.article-item img[data-v-
|
|
503
|
+
.article-item img[data-v-4ebe06df] {
|
|
507
504
|
width: 80px;
|
|
508
505
|
height: 80px;
|
|
509
506
|
-o-object-fit: cover;
|
|
@@ -511,12 +508,12 @@
|
|
|
511
508
|
margin-right: 12px;
|
|
512
509
|
flex-shrink: 0;
|
|
513
510
|
}
|
|
514
|
-
.article-item .article-item_right[data-v-
|
|
511
|
+
.article-item .article-item_right[data-v-4ebe06df] {
|
|
515
512
|
display: flex;
|
|
516
513
|
flex-direction: column;
|
|
517
514
|
justify-content: space-between;
|
|
518
515
|
}
|
|
519
|
-
.article-item .article-item_right .name[data-v-
|
|
516
|
+
.article-item .article-item_right .name[data-v-4ebe06df] {
|
|
520
517
|
font-size: 16px;
|
|
521
518
|
margin-top: 5px;
|
|
522
519
|
line-height: 22px;
|
|
@@ -526,7 +523,7 @@
|
|
|
526
523
|
overflow: hidden;
|
|
527
524
|
text-overflow: ellipsis;
|
|
528
525
|
}
|
|
529
|
-
.article-item .article-item_right .score[data-v-
|
|
526
|
+
.article-item .article-item_right .score[data-v-4ebe06df] {
|
|
530
527
|
color: #999999;
|
|
531
528
|
line-height: 17px;
|
|
532
529
|
font-size: 12px;
|
|
@@ -534,18 +531,18 @@
|
|
|
534
531
|
align-items: center;
|
|
535
532
|
margin-bottom: 6px;
|
|
536
533
|
}
|
|
537
|
-
.article-item .article-item_right .score span[data-v-
|
|
534
|
+
.article-item .article-item_right .score span[data-v-4ebe06df]:nth-child(2) {
|
|
538
535
|
margin-left: 10px;
|
|
539
536
|
}
|
|
540
|
-
.article-item .article-item_right .score span[data-v-
|
|
537
|
+
.article-item .article-item_right .score span[data-v-4ebe06df]:nth-child(3) {
|
|
541
538
|
margin-left: 10px;
|
|
542
539
|
}
|
|
543
|
-
.article-item .article-item_right .price[data-v-
|
|
540
|
+
.article-item .article-item_right .price[data-v-4ebe06df] {
|
|
544
541
|
color: #ff5a25;
|
|
545
542
|
font-size: 16px;
|
|
546
543
|
margin-top: 6px;
|
|
547
544
|
}
|
|
548
|
-
.article-item .article-bg[data-v-
|
|
545
|
+
.article-item .article-bg[data-v-4ebe06df] {
|
|
549
546
|
position: absolute;
|
|
550
547
|
width: 440px;
|
|
551
548
|
height: 60px;
|
|
@@ -560,7 +557,7 @@
|
|
|
560
557
|
-webkit-backdrop-filter: blur(3px);
|
|
561
558
|
backdrop-filter: blur(3px);
|
|
562
559
|
}
|
|
563
|
-
.article-item .article-bg-height[data-v-
|
|
560
|
+
.article-item .article-bg-height[data-v-4ebe06df] {
|
|
564
561
|
height: 80px;
|
|
565
562
|
line-height: 80px;
|
|
566
563
|
}
|
|
@@ -686,8 +683,7 @@
|
|
|
686
683
|
width: 440px;
|
|
687
684
|
height: 100%;
|
|
688
685
|
left: 50%;
|
|
689
|
-
|
|
690
|
-
transform: translateX(-50%);
|
|
686
|
+
transform: translateX(-50%);
|
|
691
687
|
line-height: 25px;
|
|
692
688
|
font-size: 18px;
|
|
693
689
|
z-index: 1;
|
|
@@ -718,8 +714,7 @@
|
|
|
718
714
|
color: #fff;
|
|
719
715
|
z-index: 1;
|
|
720
716
|
left: 50%;
|
|
721
|
-
|
|
722
|
-
transform: translateX(-50%);
|
|
717
|
+
transform: translateX(-50%);
|
|
723
718
|
width: 90px;
|
|
724
719
|
line-height: 32px;
|
|
725
720
|
height: 32px;
|
|
@@ -746,8 +741,7 @@
|
|
|
746
741
|
line-height: 32px;
|
|
747
742
|
border-radius: 4px;
|
|
748
743
|
left: 50%;
|
|
749
|
-
|
|
750
|
-
transform: translateX(-50%);
|
|
744
|
+
transform: translateX(-50%);
|
|
751
745
|
}
|
|
752
746
|
.editor #editor-content .halo-img-content .desc-input-wrap {
|
|
753
747
|
margin-top: 20px;
|
|
@@ -779,8 +773,7 @@
|
|
|
779
773
|
text-align: center;
|
|
780
774
|
position: absolute;
|
|
781
775
|
top: 0;
|
|
782
|
-
|
|
783
|
-
transform: translate(-40%, -50%);
|
|
776
|
+
transform: translate(-40%, -50%);
|
|
784
777
|
}
|
|
785
778
|
.editor #editor-content .halo-img-content .halo-picture-area {
|
|
786
779
|
display: inline-block;
|
|
@@ -793,8 +786,87 @@
|
|
|
793
786
|
}
|
|
794
787
|
.editor #editor-content .halo-img-content .no-upload,
|
|
795
788
|
.editor #editor-content .halo-img-content .upload-fail {
|
|
796
|
-
|
|
797
|
-
|
|
789
|
+
filter: brightness(0.5);
|
|
790
|
+
}
|
|
791
|
+
.editor #editor-content .halo-modify-content {
|
|
792
|
+
position: relative;
|
|
793
|
+
text-align: center;
|
|
794
|
+
outline: none;
|
|
795
|
+
}
|
|
796
|
+
.editor #editor-content .halo-modify-content .img-loading,
|
|
797
|
+
.editor #editor-content .halo-modify-content .img-fail {
|
|
798
|
+
position: absolute;
|
|
799
|
+
display: flex;
|
|
800
|
+
align-items: center;
|
|
801
|
+
justify-content: center;
|
|
802
|
+
top: 0;
|
|
803
|
+
width: 440px;
|
|
804
|
+
height: 100%;
|
|
805
|
+
left: 50%;
|
|
806
|
+
transform: translateX(-50%);
|
|
807
|
+
line-height: 25px;
|
|
808
|
+
font-size: 18px;
|
|
809
|
+
z-index: 1;
|
|
810
|
+
opacity: 0.9;
|
|
811
|
+
color: #fff;
|
|
812
|
+
-webkit-user-select: none;
|
|
813
|
+
-moz-user-select: none;
|
|
814
|
+
-ms-user-select: none;
|
|
815
|
+
user-select: none;
|
|
816
|
+
}
|
|
817
|
+
.editor #editor-content .halo-modify-content .img-loading .img-loading-icon,
|
|
818
|
+
.editor #editor-content .halo-modify-content .img-fail .img-loading-icon {
|
|
819
|
+
width: 74px;
|
|
820
|
+
margin-left: 40px;
|
|
821
|
+
}
|
|
822
|
+
.editor #editor-content .halo-modify-content .img-loading .img-loading-tip,
|
|
823
|
+
.editor #editor-content .halo-modify-content .img-fail .img-loading-tip {
|
|
824
|
+
position: relative;
|
|
825
|
+
left: -60px;
|
|
826
|
+
top: 2px;
|
|
827
|
+
}
|
|
828
|
+
.editor #editor-content .halo-modify-content .img-again {
|
|
829
|
+
position: absolute;
|
|
830
|
+
left: 175px;
|
|
831
|
+
bottom: 60px;
|
|
832
|
+
font-size: 14px;
|
|
833
|
+
font-weight: 400;
|
|
834
|
+
color: #fff;
|
|
835
|
+
z-index: 1;
|
|
836
|
+
left: 50%;
|
|
837
|
+
transform: translateX(-50%);
|
|
838
|
+
width: 90px;
|
|
839
|
+
line-height: 32px;
|
|
840
|
+
height: 32px;
|
|
841
|
+
border-radius: 4px;
|
|
842
|
+
background: rgba(0, 0, 0, 0.5);
|
|
843
|
+
-webkit-user-select: none;
|
|
844
|
+
-moz-user-select: none;
|
|
845
|
+
-ms-user-select: none;
|
|
846
|
+
user-select: none;
|
|
847
|
+
cursor: pointer;
|
|
848
|
+
}
|
|
849
|
+
.editor #editor-content .halo-modify-content .img-replace {
|
|
850
|
+
display: none;
|
|
851
|
+
}
|
|
852
|
+
.editor #editor-content .halo-modify-content .desc-input-wrap {
|
|
853
|
+
display: none;
|
|
854
|
+
}
|
|
855
|
+
.editor #editor-content .halo-modify-content .img-delete {
|
|
856
|
+
display: none;
|
|
857
|
+
}
|
|
858
|
+
.editor #editor-content .halo-modify-content .halo-modify-area {
|
|
859
|
+
display: inline-block;
|
|
860
|
+
width: 440px;
|
|
861
|
+
min-height: 150px;
|
|
862
|
+
margin: 5px 0;
|
|
863
|
+
}
|
|
864
|
+
.editor #editor-content .halo-modify-content .halo-modify-area:focus {
|
|
865
|
+
outline: 2px solid #1a74ff;
|
|
866
|
+
}
|
|
867
|
+
.editor #editor-content .halo-modify-content .no-upload,
|
|
868
|
+
.editor #editor-content .halo-modify-content .upload-fail {
|
|
869
|
+
filter: brightness(0.5);
|
|
798
870
|
}
|
|
799
871
|
.editor #editor-content .halo-select {
|
|
800
872
|
outline: 2px solid #1a74ff;
|
|
@@ -811,8 +883,7 @@
|
|
|
811
883
|
font-size: 18px;
|
|
812
884
|
left: calc(50% + 250px);
|
|
813
885
|
top: 0;
|
|
814
|
-
|
|
815
|
-
transform: translate(-50%, -50%);
|
|
886
|
+
transform: translate(-50%, -50%);
|
|
816
887
|
}
|
|
817
888
|
.editor #editor-content .video-cover-replace {
|
|
818
889
|
cursor: pointer;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haluo/biz",
|
|
3
3
|
"description": "rich text",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.38",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/haluo-biz.js",
|
|
7
7
|
"main": "./dist/haluo-biz.umd.cjs",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"dev": "vite",
|
|
20
20
|
"build": "vue-tsc --noEmit && vite build",
|
|
21
21
|
"build:watch": "vue-tsc --noEmit && vite build --watch",
|
|
22
|
-
"preview": "vite preview"
|
|
22
|
+
"preview": "vite preview",
|
|
23
|
+
"pub": "npm publish"
|
|
23
24
|
},
|
|
24
25
|
"dependencies": {
|
|
25
26
|
"element-plus": "^2.2.28",
|