jodit 4.0.0-beta.83 → 4.0.0-beta.85
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/CHANGELOG.md +41 -0
- package/README.md +4 -4
- package/es2015/jodit.css +320 -41
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +2470 -2258
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.js +4 -4
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +37 -36
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.css +320 -41
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +2469 -2255
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +4 -4
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +37 -36
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +320 -41
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +2459 -2253
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.js +4 -4
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +37 -36
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +320 -41
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +2459 -2253
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.js +4 -4
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +37 -36
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +400 -103
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +2530 -2312
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.js +4 -4
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +38 -36
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/core/component/component.d.ts +2 -2
- package/esm/core/constants.js +2 -2
- package/esm/core/dom/dom.js +2 -2
- package/esm/core/helpers/checker/is-marker.d.ts +3 -0
- package/esm/core/helpers/normalize/normalize-size.d.ts +1 -1
- package/esm/core/helpers/normalize/normalize-size.js +2 -2
- package/esm/core/helpers/string/trim.d.ts +1 -0
- package/esm/core/helpers/string/trim.js +5 -0
- package/esm/core/helpers/utils/attr.d.ts +3 -0
- package/esm/core/helpers/utils/css.js +1 -0
- package/esm/core/plugin/interface.d.ts +3 -0
- package/esm/core/selection/style/api/has-same-style.d.ts +1 -1
- package/esm/core/selection/style/api/has-same-style.js +7 -4
- package/esm/core/selection/style/api/is-suit-element.d.ts +7 -2
- package/esm/core/selection/style/api/is-suit-element.js +21 -10
- package/esm/core/selection/style/transactions.d.ts +3 -0
- package/esm/core/selection/style/transactions.js +3 -3
- package/esm/core/storage/engines/local-storage-provider.d.ts +1 -1
- package/esm/core/storage/engines/memory-storage-provider.d.ts +1 -1
- package/esm/core/ui/button/tooltip/tooltip.d.ts +2 -2
- package/esm/core/ui/button/tooltip/tooltip.js +2 -2
- package/esm/core/ui/element.d.ts +1 -1
- package/esm/core/ui/form/block/block.d.ts +1 -1
- package/esm/core/ui/form/block/block.js +1 -1
- package/esm/core/ui/group/group.d.ts +0 -1
- package/esm/core/ui/group/group.js +0 -2
- package/esm/core/ui/group/list.d.ts +1 -0
- package/esm/core/ui/group/list.js +14 -2
- package/esm/core/ui/helpers/get-control-type.js +9 -2
- package/esm/core/ui/popup/popup.d.ts +12 -12
- package/esm/core/ui/popup/popup.js +46 -40
- package/esm/modules/file-browser/config.js +1 -1
- package/esm/modules/image-editor/config.d.ts +3 -0
- package/esm/modules/toolbar/button/button.d.ts +5 -5
- package/esm/modules/toolbar/button/button.js +25 -24
- package/esm/modules/toolbar/button/content.js +1 -1
- package/esm/modules/toolbar/button/index.d.ts +1 -0
- package/esm/modules/toolbar/button/index.js +1 -0
- package/esm/modules/toolbar/button/select/select.d.ts +15 -0
- package/esm/modules/toolbar/button/select/select.js +47 -0
- package/esm/modules/toolbar/collection/collection.d.ts +1 -0
- package/esm/modules/toolbar/collection/collection.js +4 -1
- package/esm/modules/toolbar/factory.d.ts +1 -0
- package/esm/modules/toolbar/factory.js +4 -0
- package/esm/plugins/bold/bold.js +1 -6
- package/esm/plugins/bold/interface.d.ts +3 -0
- package/esm/plugins/class-span/class-span.js +7 -7
- package/esm/plugins/color/config.js +2 -2
- package/esm/plugins/delete/interface.d.ts +3 -0
- package/esm/plugins/enter/interface.d.ts +3 -0
- package/esm/plugins/file/file.js +1 -1
- package/esm/plugins/font/config.js +63 -51
- package/esm/plugins/font/font.js +1 -1
- package/esm/plugins/format-block/config.d.ts +6 -0
- package/esm/plugins/format-block/config.js +52 -0
- package/esm/plugins/format-block/format-block.d.ts +1 -0
- package/esm/plugins/format-block/format-block.js +1 -68
- package/esm/plugins/fullsize/config.js +1 -1
- package/esm/plugins/iframe/iframe.js +11 -9
- package/esm/plugins/image/image.js +1 -1
- package/esm/plugins/image-processor/config.js +3 -0
- package/esm/plugins/inline-popup/config/items/cells.js +1 -1
- package/esm/plugins/justify/justify.js +8 -7
- package/esm/plugins/link/config.js +1 -1
- package/esm/plugins/mobile/config.js +3 -3
- package/esm/plugins/search/interface.d.ts +3 -0
- package/esm/plugins/select-cells/select-cells.d.ts +2 -0
- package/esm/plugins/symbols/config.js +1 -1
- package/esm/plugins/table/config.js +2 -1
- package/esm/plugins/video/config.js +1 -1
- package/esm/types/messages.d.ts +8 -0
- package/esm/types/popup.d.ts +3 -3
- package/esm/types/toolbar.d.ts +12 -8
- package/esm/typings.d.ts +0 -1
- package/package.json +1 -1
- package/types/core/component/component.d.ts +2 -2
- package/types/core/helpers/checker/is-marker.d.ts +3 -0
- package/types/core/helpers/normalize/normalize-size.d.ts +1 -1
- package/types/core/helpers/string/trim.d.ts +1 -0
- package/types/core/helpers/utils/attr.d.ts +3 -0
- package/types/core/plugin/interface.d.ts +3 -0
- package/types/core/selection/style/api/has-same-style.d.ts +1 -1
- package/types/core/selection/style/api/is-suit-element.d.ts +7 -2
- package/types/core/selection/style/transactions.d.ts +3 -0
- package/types/core/storage/engines/local-storage-provider.d.ts +1 -1
- package/types/core/storage/engines/memory-storage-provider.d.ts +1 -1
- package/types/core/ui/button/tooltip/tooltip.d.ts +2 -2
- package/types/core/ui/element.d.ts +1 -1
- package/types/core/ui/form/block/block.d.ts +1 -1
- package/types/core/ui/group/group.d.ts +0 -1
- package/types/core/ui/group/list.d.ts +1 -0
- package/types/core/ui/popup/popup.d.ts +12 -12
- package/types/modules/image-editor/config.d.ts +3 -0
- package/types/modules/toolbar/button/button.d.ts +5 -5
- package/types/modules/toolbar/button/index.d.ts +1 -0
- package/types/modules/toolbar/button/select/select.d.ts +15 -0
- package/types/modules/toolbar/collection/collection.d.ts +1 -0
- package/types/modules/toolbar/factory.d.ts +1 -0
- package/types/plugins/bold/interface.d.ts +3 -0
- package/types/plugins/delete/interface.d.ts +3 -0
- package/types/plugins/enter/interface.d.ts +3 -0
- package/types/plugins/format-block/config.d.ts +6 -0
- package/types/plugins/format-block/format-block.d.ts +1 -0
- package/types/plugins/search/interface.d.ts +3 -0
- package/types/plugins/select-cells/select-cells.d.ts +2 -0
- package/types/types/messages.d.ts +8 -0
- package/types/types/popup.d.ts +3 -3
- package/types/types/toolbar.d.ts +12 -8
- package/types/typings.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,47 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 4.0.0-beta.78
|
|
13
|
+
|
|
14
|
+
- Update
|
|
15
|
+
```
|
|
16
|
+
@types/karma ^6.3.3 → ^6.3.4
|
|
17
|
+
@types/node ^20.1.0 → ^20.5.0
|
|
18
|
+
@typescript-eslint/eslint-plugin ^5.59.2 → ^6.4.0
|
|
19
|
+
@typescript-eslint/parser ^5.59.2 → ^6.4.0
|
|
20
|
+
autoprefixer ^10.4.14 → ^10.4.15
|
|
21
|
+
core-js ^3.30.2 → ^3.32.0
|
|
22
|
+
css-loader ^6.7.3 → ^6.8.1
|
|
23
|
+
css-minimizer-webpack-plugin ^5.0.0 → ^5.0.1
|
|
24
|
+
eslint ^8.40.0 → ^8.47.0
|
|
25
|
+
eslint-config-prettier ^8.8.0 → ^9.0.0
|
|
26
|
+
eslint-plugin-import ^2.27.5 → ^2.28.0
|
|
27
|
+
eslint-plugin-prettier ^4.2.1 → ^5.0.0
|
|
28
|
+
glob ^10.2.2 → ^10.3.3
|
|
29
|
+
less ^4.1.3 → ^4.2.0
|
|
30
|
+
less-loader ^11.1.0 → ^11.1.3
|
|
31
|
+
lint-staged ^13.2.2 → ^14.0.0
|
|
32
|
+
mini-css-extract-plugin ^2.7.5 → ^2.7.6
|
|
33
|
+
node-jq ^2.3.5 → ^4.0.1
|
|
34
|
+
postcss >=8.4.23 → >=8.4.27
|
|
35
|
+
postcss-loader ^7.3.0 → ^7.3.3
|
|
36
|
+
prettier ^2.8.8 → ^3.0.1
|
|
37
|
+
style-loader ^3.3.2 → ^3.3.3
|
|
38
|
+
stylelint ^15.6.1 → ^15.10.2
|
|
39
|
+
stylelint-config-standard ^33.0.0 → ^34.0.0
|
|
40
|
+
stylelint-prettier ^3.0.0 → ^4.0.2
|
|
41
|
+
synchronous-promise 2.0.15 → 2.0.17
|
|
42
|
+
terser-webpack-plugin ^5.3.8 → ^5.3.9
|
|
43
|
+
ts-loader ^9.4.2 → ^9.4.4
|
|
44
|
+
tslib ^2.5.0 → ^2.6.1
|
|
45
|
+
typescript ^5.0.4 → ^5.1.6
|
|
46
|
+
webpack 5.82.0 → 5.88.2
|
|
47
|
+
webpack-cli ^5.1.0 → ^5.1.4
|
|
48
|
+
webpack-dev-middleware ^6.1.0 → ^6.1.1
|
|
49
|
+
webpack-dev-server ^4.15.0 → ^4.15.1
|
|
50
|
+
webpack-hot-middleware ^2.25.3 → ^2.25.4
|
|
51
|
+
```
|
|
52
|
+
|
|
12
53
|
## 4.0.0-beta.77
|
|
13
54
|
|
|
14
55
|
### :bug: Bug Fix
|
package/README.md
CHANGED
|
@@ -108,9 +108,9 @@ You can connect the necessary plugins and languages yourself:
|
|
|
108
108
|
```html
|
|
109
109
|
<link
|
|
110
110
|
rel="stylesheet"
|
|
111
|
-
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.
|
|
111
|
+
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.85/es2021/jodit.min.css"
|
|
112
112
|
/>
|
|
113
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.
|
|
113
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.85/es2021/jodit.min.js"></script>
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
#### unpkg
|
|
@@ -119,9 +119,9 @@ You can connect the necessary plugins and languages yourself:
|
|
|
119
119
|
```html
|
|
120
120
|
<link
|
|
121
121
|
rel="stylesheet"
|
|
122
|
-
href="https://unpkg.com/jodit@4.0.0-beta.
|
|
122
|
+
href="https://unpkg.com/jodit@4.0.0-beta.85/es2021/jodit.min.css"
|
|
123
123
|
/>
|
|
124
|
-
<script src="https://unpkg.com/jodit@4.0.0-beta.
|
|
124
|
+
<script src="https://unpkg.com/jodit@4.0.0-beta.85/es2021/jodit.min.js"></script>
|
|
125
125
|
```
|
|
126
126
|
|
|
127
127
|
|
package/es2015/jodit.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.0.0-beta.
|
|
4
|
+
* Version: v4.0.0-beta.85
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -749,6 +749,34 @@ svg.jodit-icon {
|
|
|
749
749
|
max-height: fit-content;
|
|
750
750
|
}
|
|
751
751
|
|
|
752
|
+
/*!
|
|
753
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
754
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
755
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
756
|
+
*/
|
|
757
|
+
.jodit-ui-group {
|
|
758
|
+
display: inline-flex;
|
|
759
|
+
max-width: 100%;
|
|
760
|
+
flex: 0 0 auto;
|
|
761
|
+
flex-shrink: 0;
|
|
762
|
+
flex-wrap: wrap;
|
|
763
|
+
}
|
|
764
|
+
.jodit-ui-group_line_true {
|
|
765
|
+
display: flex;
|
|
766
|
+
justify-content: stretch;
|
|
767
|
+
}
|
|
768
|
+
.jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true)::after {
|
|
769
|
+
content: '';
|
|
770
|
+
padding: 0;
|
|
771
|
+
border-right: 1px solid var(--jd-color-border);
|
|
772
|
+
border-left: 0;
|
|
773
|
+
margin: 2px;
|
|
774
|
+
cursor: default;
|
|
775
|
+
}
|
|
776
|
+
.jodit-ui-group:last-child {
|
|
777
|
+
border-bottom: 0;
|
|
778
|
+
}
|
|
779
|
+
|
|
752
780
|
/*!
|
|
753
781
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
754
782
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -1420,34 +1448,6 @@ svg.jodit-icon {
|
|
|
1420
1448
|
flex: 1;
|
|
1421
1449
|
}
|
|
1422
1450
|
|
|
1423
|
-
/*!
|
|
1424
|
-
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
1425
|
-
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
1426
|
-
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1427
|
-
*/
|
|
1428
|
-
.jodit-ui-group {
|
|
1429
|
-
display: inline-flex;
|
|
1430
|
-
max-width: 100%;
|
|
1431
|
-
flex: 0 0 auto;
|
|
1432
|
-
flex-shrink: 0;
|
|
1433
|
-
flex-wrap: wrap;
|
|
1434
|
-
}
|
|
1435
|
-
.jodit-ui-group_line_true {
|
|
1436
|
-
display: flex;
|
|
1437
|
-
justify-content: stretch;
|
|
1438
|
-
}
|
|
1439
|
-
.jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true)::after {
|
|
1440
|
-
content: '';
|
|
1441
|
-
padding: 0;
|
|
1442
|
-
border-right: 1px solid var(--jd-color-border);
|
|
1443
|
-
border-left: 0;
|
|
1444
|
-
margin: 2px;
|
|
1445
|
-
cursor: default;
|
|
1446
|
-
}
|
|
1447
|
-
.jodit-ui-group:last-child {
|
|
1448
|
-
border-bottom: 0;
|
|
1449
|
-
}
|
|
1450
|
-
|
|
1451
1451
|
.jodit-ui-button-group {
|
|
1452
1452
|
margin-bottom: var(--jd-padding-default);
|
|
1453
1453
|
}
|
|
@@ -1511,7 +1511,7 @@ svg.jodit-icon {
|
|
|
1511
1511
|
opacity: 0;
|
|
1512
1512
|
outline: none;
|
|
1513
1513
|
text-rendering: optimizelegibility;
|
|
1514
|
-
transform:
|
|
1514
|
+
transform: translate(-50%, calc(var(--jd-padding-default) / 2));
|
|
1515
1515
|
transition: opacity 0.2s ease 0s;
|
|
1516
1516
|
user-select: none;
|
|
1517
1517
|
white-space: normal;
|
|
@@ -2479,6 +2479,8 @@ svg.jodit-icon {
|
|
|
2479
2479
|
}
|
|
2480
2480
|
.jodit-toolbar-collection .jodit-toolbar-content,
|
|
2481
2481
|
.jodit-toolbar-editor-collection .jodit-toolbar-content,
|
|
2482
|
+
.jodit-toolbar-collection .jodit-toolbar-select,
|
|
2483
|
+
.jodit-toolbar-editor-collection .jodit-toolbar-select,
|
|
2482
2484
|
.jodit-toolbar-collection .jodit-toolbar-button,
|
|
2483
2485
|
.jodit-toolbar-editor-collection .jodit-toolbar-button {
|
|
2484
2486
|
padding: 0;
|
|
@@ -2494,6 +2496,9 @@ svg.jodit-icon {
|
|
|
2494
2496
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2495
2497
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2496
2498
|
*/
|
|
2499
|
+
:root {
|
|
2500
|
+
--jd-button-trigger-size: 14px;
|
|
2501
|
+
}
|
|
2497
2502
|
.jodit-toolbar-button {
|
|
2498
2503
|
display: flex;
|
|
2499
2504
|
overflow: hidden;
|
|
@@ -2671,7 +2676,8 @@ svg.jodit-icon {
|
|
|
2671
2676
|
border-radius: 0 var(--jd-border-radius-default) var(--jd-border-radius-default) 0;
|
|
2672
2677
|
opacity: 0.4;
|
|
2673
2678
|
cursor: pointer;
|
|
2674
|
-
|
|
2679
|
+
--jd-button-trigger-size: 14px;
|
|
2680
|
+
width: calc(var(--jd-button-trigger-size, 14px) + 2px);
|
|
2675
2681
|
}
|
|
2676
2682
|
.jodit-toolbar-button__trigger:hover:not([disabled]),
|
|
2677
2683
|
.jodit-toolbar-button__trigger:focus-visible:not([disabled]) {
|
|
@@ -2692,31 +2698,35 @@ svg.jodit-icon {
|
|
|
2692
2698
|
pointer-events: none;
|
|
2693
2699
|
}
|
|
2694
2700
|
.jodit-toolbar-button__trigger svg {
|
|
2695
|
-
width:
|
|
2701
|
+
width: calc(var(--jd-button-trigger-size, 14px) - 4px);
|
|
2696
2702
|
}
|
|
2697
2703
|
.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger {
|
|
2698
|
-
|
|
2704
|
+
--jd-button-trigger-size: 8px;
|
|
2705
|
+
width: calc(var(--jd-button-trigger-size, 8px) + 2px);
|
|
2699
2706
|
}
|
|
2700
2707
|
.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger svg {
|
|
2701
|
-
width: 4px;
|
|
2708
|
+
width: calc(var(--jd-button-trigger-size, 8px) - 4px);
|
|
2702
2709
|
}
|
|
2703
2710
|
.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger {
|
|
2704
|
-
|
|
2711
|
+
--jd-button-trigger-size: 10px;
|
|
2712
|
+
width: calc(var(--jd-button-trigger-size, 10px) + 2px);
|
|
2705
2713
|
}
|
|
2706
2714
|
.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger svg {
|
|
2707
|
-
width:
|
|
2715
|
+
width: calc(var(--jd-button-trigger-size, 10px) - 4px);
|
|
2708
2716
|
}
|
|
2709
2717
|
.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger {
|
|
2710
|
-
|
|
2718
|
+
--jd-button-trigger-size: 12px;
|
|
2719
|
+
width: calc(var(--jd-button-trigger-size, 12px) + 2px);
|
|
2711
2720
|
}
|
|
2712
2721
|
.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger svg {
|
|
2713
|
-
width:
|
|
2722
|
+
width: calc(var(--jd-button-trigger-size, 12px) - 4px);
|
|
2714
2723
|
}
|
|
2715
2724
|
.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger {
|
|
2716
|
-
|
|
2725
|
+
--jd-button-trigger-size: 16px;
|
|
2726
|
+
width: calc(var(--jd-button-trigger-size, 16px) + 2px);
|
|
2717
2727
|
}
|
|
2718
2728
|
.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger svg {
|
|
2719
|
-
width:
|
|
2729
|
+
width: calc(var(--jd-button-trigger-size, 16px) - 4px);
|
|
2720
2730
|
}
|
|
2721
2731
|
.jodit-toolbar-button_with-trigger_true .jodit-toolbar-button__button {
|
|
2722
2732
|
border-radius: var(--jd-border-radius-default) 0 0 var(--jd-border-radius-default);
|
|
@@ -3052,6 +3062,274 @@ svg.jodit-icon {
|
|
|
3052
3062
|
outline: 0;
|
|
3053
3063
|
}
|
|
3054
3064
|
|
|
3065
|
+
.jodit-toolbar-select {
|
|
3066
|
+
--jd-color-button-background-hover-opacity40: rgba(220, 220, 220, 0.2);
|
|
3067
|
+
--jd-color-button-background-hover-opacity60: rgba(220, 220, 220, 0.1);
|
|
3068
|
+
display: flex;
|
|
3069
|
+
overflow: hidden;
|
|
3070
|
+
align-items: center;
|
|
3071
|
+
justify-content: center;
|
|
3072
|
+
border: 1px solid transparent;
|
|
3073
|
+
border-radius: var(--jd-border-radius-default);
|
|
3074
|
+
min-width: 34px;
|
|
3075
|
+
height: 34px;
|
|
3076
|
+
justify-content: space-between;
|
|
3077
|
+
cursor: pointer;
|
|
3078
|
+
min-width: 100px;
|
|
3079
|
+
}
|
|
3080
|
+
.jodit-toolbar-select__icon {
|
|
3081
|
+
display: none;
|
|
3082
|
+
}
|
|
3083
|
+
.jodit-toolbar-select__icon:not(:empty) {
|
|
3084
|
+
display: inline-flex;
|
|
3085
|
+
}
|
|
3086
|
+
.jodit-toolbar-select__text {
|
|
3087
|
+
display: none;
|
|
3088
|
+
}
|
|
3089
|
+
.jodit-toolbar-select__text:not(:empty) {
|
|
3090
|
+
font-family: var(--jd-font-default);
|
|
3091
|
+
font-size: var(--jd-font-size-default);
|
|
3092
|
+
display: inline-flex;
|
|
3093
|
+
flex-grow: 1;
|
|
3094
|
+
justify-content: center;
|
|
3095
|
+
}
|
|
3096
|
+
.jodit-toolbar-select_context_menu .jodit-toolbar-select__text {
|
|
3097
|
+
position: relative;
|
|
3098
|
+
justify-content: left;
|
|
3099
|
+
padding-left: var(--jd-padding-default);
|
|
3100
|
+
}
|
|
3101
|
+
.jodit-toolbar-select_context_menu .jodit-toolbar-select__text::before {
|
|
3102
|
+
position: absolute;
|
|
3103
|
+
top: calc(var(--jd-padding-default) * -1);
|
|
3104
|
+
left: 0;
|
|
3105
|
+
height: 35px;
|
|
3106
|
+
border-left: 1px solid var(--jd-color-border);
|
|
3107
|
+
content: '';
|
|
3108
|
+
}
|
|
3109
|
+
.jodit-toolbar-select__icon:not(:empty) + .jodit-toolbar-select__text:not(:empty) {
|
|
3110
|
+
margin-left: var(--jd-padding-default);
|
|
3111
|
+
}
|
|
3112
|
+
.jodit-toolbar-select__icon:empty + .jodit-toolbar-select__text:not(:empty) {
|
|
3113
|
+
padding: 0 var(--jd-padding-default);
|
|
3114
|
+
}
|
|
3115
|
+
.jodit-toolbar-select__icon:empty + .jodit-toolbar-select__text:not(:empty) {
|
|
3116
|
+
padding: 0;
|
|
3117
|
+
}
|
|
3118
|
+
.jodit-toolbar-select .jodit-icon {
|
|
3119
|
+
width: 14px;
|
|
3120
|
+
height: 14px;
|
|
3121
|
+
}
|
|
3122
|
+
.jodit-toolbar-select button {
|
|
3123
|
+
min-width: 34px;
|
|
3124
|
+
height: 34px;
|
|
3125
|
+
padding: 0;
|
|
3126
|
+
appearance: none;
|
|
3127
|
+
}
|
|
3128
|
+
.jodit-toolbar-select_text-icons_true button {
|
|
3129
|
+
padding: 0 var(--jd-padding-default);
|
|
3130
|
+
}
|
|
3131
|
+
.jodit-toolbar-select_size_tiny {
|
|
3132
|
+
min-width: 16px;
|
|
3133
|
+
height: 16px;
|
|
3134
|
+
}
|
|
3135
|
+
.jodit-toolbar-select_size_tiny .jodit-icon {
|
|
3136
|
+
width: 8px;
|
|
3137
|
+
height: 8px;
|
|
3138
|
+
}
|
|
3139
|
+
.jodit-toolbar-select_size_tiny button {
|
|
3140
|
+
min-width: 16px;
|
|
3141
|
+
height: 16px;
|
|
3142
|
+
padding: 0;
|
|
3143
|
+
appearance: none;
|
|
3144
|
+
}
|
|
3145
|
+
.jodit-toolbar-select_size_tiny_text-icons_true button {
|
|
3146
|
+
padding: 0 var(--jd-padding-default);
|
|
3147
|
+
}
|
|
3148
|
+
.jodit-toolbar-select_size_xsmall {
|
|
3149
|
+
min-width: 22px;
|
|
3150
|
+
height: 22px;
|
|
3151
|
+
}
|
|
3152
|
+
.jodit-toolbar-select_size_xsmall .jodit-icon {
|
|
3153
|
+
width: 10px;
|
|
3154
|
+
height: 10px;
|
|
3155
|
+
}
|
|
3156
|
+
.jodit-toolbar-select_size_xsmall button {
|
|
3157
|
+
min-width: 22px;
|
|
3158
|
+
height: 22px;
|
|
3159
|
+
padding: 0;
|
|
3160
|
+
appearance: none;
|
|
3161
|
+
}
|
|
3162
|
+
.jodit-toolbar-select_size_xsmall_text-icons_true button {
|
|
3163
|
+
padding: 0 var(--jd-padding-default);
|
|
3164
|
+
}
|
|
3165
|
+
.jodit-toolbar-select_size_small {
|
|
3166
|
+
min-width: 28px;
|
|
3167
|
+
height: 28px;
|
|
3168
|
+
}
|
|
3169
|
+
.jodit-toolbar-select_size_small .jodit-icon {
|
|
3170
|
+
width: 12px;
|
|
3171
|
+
height: 12px;
|
|
3172
|
+
}
|
|
3173
|
+
.jodit-toolbar-select_size_small button {
|
|
3174
|
+
min-width: 28px;
|
|
3175
|
+
height: 28px;
|
|
3176
|
+
padding: 0;
|
|
3177
|
+
appearance: none;
|
|
3178
|
+
}
|
|
3179
|
+
.jodit-toolbar-select_size_small_text-icons_true button {
|
|
3180
|
+
padding: 0 var(--jd-padding-default);
|
|
3181
|
+
}
|
|
3182
|
+
.jodit-toolbar-select_size_large {
|
|
3183
|
+
min-width: 40px;
|
|
3184
|
+
height: 40px;
|
|
3185
|
+
}
|
|
3186
|
+
.jodit-toolbar-select_size_large .jodit-icon {
|
|
3187
|
+
width: 16px;
|
|
3188
|
+
height: 16px;
|
|
3189
|
+
}
|
|
3190
|
+
.jodit-toolbar-select_size_large button {
|
|
3191
|
+
min-width: 40px;
|
|
3192
|
+
height: 40px;
|
|
3193
|
+
padding: 0;
|
|
3194
|
+
appearance: none;
|
|
3195
|
+
}
|
|
3196
|
+
.jodit-toolbar-select_size_large_text-icons_true button {
|
|
3197
|
+
padding: 0 var(--jd-padding-default);
|
|
3198
|
+
}
|
|
3199
|
+
.jodit-toolbar-select__button {
|
|
3200
|
+
cursor: pointer;
|
|
3201
|
+
position: relative;
|
|
3202
|
+
box-sizing: border-box;
|
|
3203
|
+
padding: 0;
|
|
3204
|
+
border: 0;
|
|
3205
|
+
appearance: none;
|
|
3206
|
+
background: 0 0;
|
|
3207
|
+
box-shadow: none;
|
|
3208
|
+
font-style: normal;
|
|
3209
|
+
outline: 0;
|
|
3210
|
+
text-align: center;
|
|
3211
|
+
text-decoration: none;
|
|
3212
|
+
text-transform: none;
|
|
3213
|
+
user-select: none;
|
|
3214
|
+
display: inline-flex;
|
|
3215
|
+
align-items: center;
|
|
3216
|
+
justify-content: center;
|
|
3217
|
+
padding: 0 var(--jd-padding-default);
|
|
3218
|
+
border-radius: var(--jd-border-radius-default);
|
|
3219
|
+
color: var(--jd-color-text-icons);
|
|
3220
|
+
}
|
|
3221
|
+
.jodit-toolbar-select__button:hover:not([disabled]),
|
|
3222
|
+
.jodit-toolbar-select__button:focus-visible:not([disabled]) {
|
|
3223
|
+
background-color: var(--jd-color-button-background-hover);
|
|
3224
|
+
opacity: 1;
|
|
3225
|
+
outline: 0;
|
|
3226
|
+
}
|
|
3227
|
+
.jodit-toolbar-select__button:active:not([disabled]),
|
|
3228
|
+
.jodit-toolbar-select__button[aria-pressed='true']:not([disabled]) {
|
|
3229
|
+
background-color: var(--jd-color-button-background-hover-opacity40);
|
|
3230
|
+
outline: 0;
|
|
3231
|
+
}
|
|
3232
|
+
.jodit-toolbar-select__button[aria-pressed='true']:hover:not([disabled]) {
|
|
3233
|
+
background-color: var(--jd-color-button-background-hover-opacity60);
|
|
3234
|
+
}
|
|
3235
|
+
.jodit-toolbar-select__button[disabled] {
|
|
3236
|
+
opacity: 0.3;
|
|
3237
|
+
pointer-events: none;
|
|
3238
|
+
}
|
|
3239
|
+
.jodit-toolbar-select__trigger {
|
|
3240
|
+
display: flex;
|
|
3241
|
+
height: 100%;
|
|
3242
|
+
align-items: center;
|
|
3243
|
+
justify-content: center;
|
|
3244
|
+
border-radius: 0 var(--jd-border-radius-default) var(--jd-border-radius-default) 0;
|
|
3245
|
+
opacity: 0.4;
|
|
3246
|
+
cursor: pointer;
|
|
3247
|
+
--jd-button-trigger-size: 14px;
|
|
3248
|
+
width: calc(var(--jd-button-trigger-size, 14px) + 2px);
|
|
3249
|
+
}
|
|
3250
|
+
.jodit-toolbar-select__trigger:hover:not([disabled]),
|
|
3251
|
+
.jodit-toolbar-select__trigger:focus-visible:not([disabled]) {
|
|
3252
|
+
background-color: var(--jd-color-button-background-hover);
|
|
3253
|
+
opacity: 1;
|
|
3254
|
+
outline: 0;
|
|
3255
|
+
}
|
|
3256
|
+
.jodit-toolbar-select__trigger:active:not([disabled]),
|
|
3257
|
+
.jodit-toolbar-select__trigger[aria-pressed='true']:not([disabled]) {
|
|
3258
|
+
background-color: var(--jd-color-button-background-hover-opacity40);
|
|
3259
|
+
outline: 0;
|
|
3260
|
+
}
|
|
3261
|
+
.jodit-toolbar-select__trigger[aria-pressed='true']:hover:not([disabled]) {
|
|
3262
|
+
background-color: var(--jd-color-button-background-hover-opacity60);
|
|
3263
|
+
}
|
|
3264
|
+
.jodit-toolbar-select__trigger[disabled] {
|
|
3265
|
+
opacity: 0.3;
|
|
3266
|
+
pointer-events: none;
|
|
3267
|
+
}
|
|
3268
|
+
.jodit-toolbar-select__trigger svg {
|
|
3269
|
+
width: calc(var(--jd-button-trigger-size, 14px) - 4px);
|
|
3270
|
+
}
|
|
3271
|
+
.jodit-toolbar-select_size_tiny .jodit-toolbar-select__trigger {
|
|
3272
|
+
--jd-button-trigger-size: 8px;
|
|
3273
|
+
width: calc(var(--jd-button-trigger-size, 8px) + 2px);
|
|
3274
|
+
}
|
|
3275
|
+
.jodit-toolbar-select_size_tiny .jodit-toolbar-select__trigger svg {
|
|
3276
|
+
width: calc(var(--jd-button-trigger-size, 8px) - 4px);
|
|
3277
|
+
}
|
|
3278
|
+
.jodit-toolbar-select_size_xsmall .jodit-toolbar-select__trigger {
|
|
3279
|
+
--jd-button-trigger-size: 10px;
|
|
3280
|
+
width: calc(var(--jd-button-trigger-size, 10px) + 2px);
|
|
3281
|
+
}
|
|
3282
|
+
.jodit-toolbar-select_size_xsmall .jodit-toolbar-select__trigger svg {
|
|
3283
|
+
width: calc(var(--jd-button-trigger-size, 10px) - 4px);
|
|
3284
|
+
}
|
|
3285
|
+
.jodit-toolbar-select_size_small .jodit-toolbar-select__trigger {
|
|
3286
|
+
--jd-button-trigger-size: 12px;
|
|
3287
|
+
width: calc(var(--jd-button-trigger-size, 12px) + 2px);
|
|
3288
|
+
}
|
|
3289
|
+
.jodit-toolbar-select_size_small .jodit-toolbar-select__trigger svg {
|
|
3290
|
+
width: calc(var(--jd-button-trigger-size, 12px) - 4px);
|
|
3291
|
+
}
|
|
3292
|
+
.jodit-toolbar-select_size_large .jodit-toolbar-select__trigger {
|
|
3293
|
+
--jd-button-trigger-size: 16px;
|
|
3294
|
+
width: calc(var(--jd-button-trigger-size, 16px) + 2px);
|
|
3295
|
+
}
|
|
3296
|
+
.jodit-toolbar-select_size_large .jodit-toolbar-select__trigger svg {
|
|
3297
|
+
width: calc(var(--jd-button-trigger-size, 16px) - 4px);
|
|
3298
|
+
}
|
|
3299
|
+
.jodit-toolbar-select_with-trigger_true .jodit-toolbar-button__button {
|
|
3300
|
+
border-radius: var(--jd-border-radius-default) 0 0 var(--jd-border-radius-default);
|
|
3301
|
+
}
|
|
3302
|
+
.jodit-toolbar-select_with-trigger_true:hover:not([disabled]) {
|
|
3303
|
+
border-color: var(--jd-color-border);
|
|
3304
|
+
}
|
|
3305
|
+
.jodit-toolbar-select_stroke_false svg {
|
|
3306
|
+
stroke: none;
|
|
3307
|
+
}
|
|
3308
|
+
.jodit-toolbar-select:hover:not([disabled]),
|
|
3309
|
+
.jodit-toolbar-select:focus-visible:not([disabled]) {
|
|
3310
|
+
background-color: var(--jd-color-button-background-hover);
|
|
3311
|
+
opacity: 1;
|
|
3312
|
+
outline: 0;
|
|
3313
|
+
}
|
|
3314
|
+
.jodit-toolbar-select:active:not([disabled]),
|
|
3315
|
+
.jodit-toolbar-select[aria-pressed='true']:not([disabled]) {
|
|
3316
|
+
background-color: var(--jd-color-button-background-hover-opacity40);
|
|
3317
|
+
outline: 0;
|
|
3318
|
+
}
|
|
3319
|
+
.jodit-toolbar-select[aria-pressed='true']:hover:not([disabled]) {
|
|
3320
|
+
background-color: var(--jd-color-button-background-hover-opacity60);
|
|
3321
|
+
}
|
|
3322
|
+
.jodit-toolbar-select[disabled] {
|
|
3323
|
+
opacity: 0.3;
|
|
3324
|
+
pointer-events: none;
|
|
3325
|
+
}
|
|
3326
|
+
.jodit-toolbar-select__text:not(:empty) {
|
|
3327
|
+
justify-content: left;
|
|
3328
|
+
}
|
|
3329
|
+
.jodit-toolbar-select__button {
|
|
3330
|
+
flex: 1;
|
|
3331
|
+
}
|
|
3332
|
+
|
|
3055
3333
|
/*!
|
|
3056
3334
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3057
3335
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -3225,7 +3503,8 @@ svg.jodit-icon {
|
|
|
3225
3503
|
height: 100%;
|
|
3226
3504
|
background-color: #eee;
|
|
3227
3505
|
background-image: linear-gradient(45deg, var(--jd-color-border) 25%, transparent 25%, transparent 75%, var(--jd-color-border) 75%, var(--jd-color-border)), linear-gradient(45deg, var(--jd-color-border) 25%, transparent 25%, transparent 75%, var(--jd-color-border) 75%, var(--jd-color-border));
|
|
3228
|
-
background-position: 0 0,
|
|
3506
|
+
background-position: 0 0,
|
|
3507
|
+
15px 15px;
|
|
3229
3508
|
background-size: 30px 30px;
|
|
3230
3509
|
user-select: none;
|
|
3231
3510
|
}
|