@wizishop/wizi-block 4.2.24-beta → 4.2.27-beta
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/bundles/wizishop-wizi-block.umd.js +188 -126
- package/bundles/wizishop-wizi-block.umd.js.map +1 -1
- package/bundles/wizishop-wizi-block.umd.min.js +1 -1
- package/bundles/wizishop-wizi-block.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.js +125 -67
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/text-type-tool.component.js +3 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/tool-type/paragraph-style-tool.component.js +11 -6
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/tool-type/text-edition.component.js +12 -14
- package/fesm2015/wizishop-wizi-block.js +147 -84
- package/fesm2015/wizishop-wizi-block.js.map +1 -1
- package/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.d.ts +2 -0
- package/package.json +1 -1
- package/wizi-block.scss +14 -2
package/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export declare abstract class InlineStyleTool extends EditorJSTool {
|
|
|
31
31
|
private createElement;
|
|
32
32
|
private removeChildrenClasses;
|
|
33
33
|
private cleanupContainer;
|
|
34
|
+
private hasNoAttributes;
|
|
34
35
|
private identicalClassList;
|
|
35
36
|
private identicalInlineStyle;
|
|
36
37
|
private sortInlineStyle;
|
|
@@ -39,4 +40,5 @@ export declare abstract class InlineStyleTool extends EditorJSTool {
|
|
|
39
40
|
private isContainer;
|
|
40
41
|
private saveInlineSelection;
|
|
41
42
|
private resetInlineSelection;
|
|
43
|
+
private getMostDescendantChild;
|
|
42
44
|
}
|
package/package.json
CHANGED
package/wizi-block.scss
CHANGED
|
@@ -3446,10 +3446,11 @@ $focused-background-color: rgba(34, 186, 255, 0.08);
|
|
|
3446
3446
|
position: relative;
|
|
3447
3447
|
border: 1px solid #eaeaea;
|
|
3448
3448
|
border-radius: 3px;
|
|
3449
|
-
|
|
3449
|
+
height: calc(100% - 56px);
|
|
3450
|
+
|
|
3450
3451
|
.monaco-editor {
|
|
3451
3452
|
width: 100% !important;
|
|
3452
|
-
height:
|
|
3453
|
+
height: 100% !important;
|
|
3453
3454
|
}
|
|
3454
3455
|
}
|
|
3455
3456
|
|
|
@@ -3465,6 +3466,7 @@ $focused-background-color: rgba(34, 186, 255, 0.08);
|
|
|
3465
3466
|
border-radius: 3px;
|
|
3466
3467
|
font-size: 14px;
|
|
3467
3468
|
cursor: pointer;
|
|
3469
|
+
min-height: 41px;
|
|
3468
3470
|
|
|
3469
3471
|
&:first-of-type {
|
|
3470
3472
|
margin-right: 15px;
|
|
@@ -5511,15 +5513,23 @@ wb-editorjs {
|
|
|
5511
5513
|
}
|
|
5512
5514
|
|
|
5513
5515
|
&-center {
|
|
5516
|
+
@include flexbox();
|
|
5517
|
+
@include justify-content(center);
|
|
5514
5518
|
text-align: center;
|
|
5515
5519
|
}
|
|
5516
5520
|
|
|
5517
5521
|
&-right {
|
|
5522
|
+
@include flexbox();
|
|
5523
|
+
@include justify-content(flex-end);
|
|
5518
5524
|
text-align: right;
|
|
5519
5525
|
}
|
|
5520
5526
|
|
|
5521
5527
|
&-justify {
|
|
5522
5528
|
text-align: justify;
|
|
5529
|
+
|
|
5530
|
+
li {
|
|
5531
|
+
width: 100%;
|
|
5532
|
+
}
|
|
5523
5533
|
}
|
|
5524
5534
|
}
|
|
5525
5535
|
|
|
@@ -5529,6 +5539,7 @@ wb-editorjs {
|
|
|
5529
5539
|
|
|
5530
5540
|
li {
|
|
5531
5541
|
padding-left: 1.5em;
|
|
5542
|
+
width: fit-content;
|
|
5532
5543
|
}
|
|
5533
5544
|
}
|
|
5534
5545
|
|
|
@@ -5538,6 +5549,7 @@ wb-editorjs {
|
|
|
5538
5549
|
|
|
5539
5550
|
li {
|
|
5540
5551
|
padding-left: 1.5em;
|
|
5552
|
+
width: fit-content;
|
|
5541
5553
|
}
|
|
5542
5554
|
}
|
|
5543
5555
|
|