jodit 3.8.2 → 3.8.3
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/.idea/workspace.xml +153 -155
- package/CHANGELOG.MD +36 -9
- package/app.css +2 -1
- package/build/jodit.css +73 -73
- package/build/jodit.es2018.css +56 -56
- package/build/jodit.es2018.en.css +56 -56
- package/build/jodit.es2018.en.js +172 -84
- package/build/jodit.es2018.en.min.css +1 -1
- package/build/jodit.es2018.en.min.js +2 -2
- package/build/jodit.es2018.js +172 -84
- package/build/jodit.es2018.min.css +1 -1
- package/build/jodit.es2018.min.js +2 -2
- package/build/jodit.js +835 -742
- package/build/jodit.min.css +2 -2
- package/build/jodit.min.js +2 -2
- package/package.json +7 -7
- package/src/config.ts +4 -4
- package/src/core/create.ts +15 -15
- package/src/core/helpers/css.ts +3 -5
- package/src/core/helpers/html/strip-tags.ts +36 -4
- package/src/core/helpers/selector.ts +6 -8
- package/src/core/helpers/size/get-scroll-parent.ts +28 -0
- package/src/core/helpers/size/index.ts +1 -0
- package/src/core/selection/select.ts +35 -45
- package/src/core/ui/button/button/button.less +4 -1
- package/src/core/ui/button/button/button.ts +6 -8
- package/src/core/ui/popup/popup.less +4 -4
- package/src/core/ui/popup/popup.ts +17 -7
- package/src/core/view/view-with-toolbar.less +3 -2
- package/src/jodit.ts +6 -3
- package/src/modules/dialog/dialog.ts +1 -2
- package/src/modules/file-browser/builders/context-menu.ts +1 -1
- package/src/modules/file-browser/listeners/state-listeners.ts +2 -1
- package/src/modules/file-browser/styles/preview.less +17 -14
- package/src/modules/widget/color-picker/color-picker.less +12 -11
- package/src/modules/widget/color-picker/color-picker.ts +20 -30
- package/src/plugins/clipboard/paste-storage/paste-storage.ts +9 -20
- package/src/plugins/fix/clean-html.ts +36 -3
- package/src/plugins/iframe.ts +12 -2
- package/src/plugins/link/link.ts +14 -2
- package/src/plugins/resizer/resizer.ts +22 -4
- package/src/plugins/size/resize-handler.ts +1 -1
- package/src/plugins/size/size.less +10 -7
- package/src/plugins/symbols/symbols.less +12 -7
- package/src/plugins/symbols/symbols.ts +9 -6
- package/src/plugins/xpath/xpath.ts +1 -1
- package/src/styles/jodit.less +1 -1
- package/src/types/ui.d.ts +9 -1
package/build/jodit.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
|
|
4
|
-
* Version: v3.8.
|
|
4
|
+
* Version: v3.8.3
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
8
8
|
/*!
|
|
9
9
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
10
10
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
|
|
11
|
-
* Version: v3.8.
|
|
11
|
+
* Version: v3.8.3
|
|
12
12
|
* Url: https://xdsoft.net/jodit/
|
|
13
13
|
* License(s): MIT
|
|
14
14
|
*/
|
|
@@ -667,7 +667,6 @@ svg.jodit-icon {
|
|
|
667
667
|
}
|
|
668
668
|
.jodit-container:not(.jodit_inline) {
|
|
669
669
|
border: 1px solid #dadada;
|
|
670
|
-
background-color: #fff;
|
|
671
670
|
border-radius: 3px;
|
|
672
671
|
}
|
|
673
672
|
.jodit-container:not(.jodit_inline) .jodit-workplace {
|
|
@@ -1177,7 +1176,7 @@ svg.jodit-icon {
|
|
|
1177
1176
|
padding: 0 8px;
|
|
1178
1177
|
}
|
|
1179
1178
|
.jodit-ui-button-statuses_status_default {
|
|
1180
|
-
background-color: #
|
|
1179
|
+
background-color: #e3e3e3;
|
|
1181
1180
|
color: #212529;
|
|
1182
1181
|
}
|
|
1183
1182
|
.jodit-ui-button-statuses_status_default svg {
|
|
@@ -1536,7 +1535,7 @@ svg.jodit-icon {
|
|
|
1536
1535
|
outline: 1px dashed #b5d6fd;
|
|
1537
1536
|
}
|
|
1538
1537
|
.jodit-ui-button_status_default {
|
|
1539
|
-
background-color: #
|
|
1538
|
+
background-color: #e3e3e3;
|
|
1540
1539
|
color: #212529;
|
|
1541
1540
|
}
|
|
1542
1541
|
.jodit-ui-button_status_default svg {
|
|
@@ -1823,24 +1822,24 @@ svg.jodit-icon {
|
|
|
1823
1822
|
float: none;
|
|
1824
1823
|
outline: 0;
|
|
1825
1824
|
position: fixed;
|
|
1826
|
-
display: inline-block;
|
|
1827
1825
|
z-index: 10000001;
|
|
1828
|
-
|
|
1829
|
-
transform: translate3d(0, 0, 0);
|
|
1826
|
+
display: inline-block;
|
|
1830
1827
|
-webkit-box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
|
|
1831
1828
|
0 3px 3px 0 rgba(76, 76, 76, 0.15), 0 1px 4px 0 rgba(76, 76, 76, 0.13);
|
|
1832
1829
|
box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
|
|
1833
1830
|
0 3px 3px 0 rgba(76, 76, 76, 0.15), 0 1px 4px 0 rgba(76, 76, 76, 0.13);
|
|
1831
|
+
-webkit-transform: translate3d(0, 0, 0);
|
|
1832
|
+
transform: translate3d(0, 0, 0);
|
|
1834
1833
|
}
|
|
1835
1834
|
.jodit-popup__content {
|
|
1836
1835
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
1837
1836
|
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
|
|
1838
1837
|
font-size: 14px;
|
|
1838
|
+
overflow: auto;
|
|
1839
|
+
max-height: 300px;
|
|
1839
1840
|
padding: 8px;
|
|
1840
1841
|
background: #fff;
|
|
1841
1842
|
overflow-scrolling: touch;
|
|
1842
|
-
overflow: auto;
|
|
1843
|
-
max-height: 300px;
|
|
1844
1843
|
}
|
|
1845
1844
|
.jodit-popup_padding_false .jodit-popup__content {
|
|
1846
1845
|
padding: 0;
|
|
@@ -2461,25 +2460,25 @@ svg.jodit-icon {
|
|
|
2461
2460
|
float: none;
|
|
2462
2461
|
outline: 0;
|
|
2463
2462
|
position: fixed;
|
|
2464
|
-
display: inline-block;
|
|
2465
2463
|
z-index: 10000001;
|
|
2466
|
-
|
|
2467
|
-
transform: translate3d(0, 0, 0);
|
|
2464
|
+
display: inline-block;
|
|
2468
2465
|
-webkit-box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
|
|
2469
2466
|
0 3px 3px 0 rgba(76, 76, 76, 0.15), 0 1px 4px 0 rgba(76, 76, 76, 0.13);
|
|
2470
2467
|
box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
|
|
2471
2468
|
0 3px 3px 0 rgba(76, 76, 76, 0.15), 0 1px 4px 0 rgba(76, 76, 76, 0.13);
|
|
2469
|
+
-webkit-transform: translate3d(0, 0, 0);
|
|
2470
|
+
transform: translate3d(0, 0, 0);
|
|
2472
2471
|
z-index: 30000005;
|
|
2473
2472
|
}
|
|
2474
2473
|
.jodit-context-menu__content {
|
|
2475
2474
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
2476
2475
|
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
|
|
2477
2476
|
font-size: 14px;
|
|
2477
|
+
overflow: auto;
|
|
2478
|
+
max-height: 300px;
|
|
2478
2479
|
padding: 8px;
|
|
2479
2480
|
background: #fff;
|
|
2480
2481
|
overflow-scrolling: touch;
|
|
2481
|
-
overflow: auto;
|
|
2482
|
-
max-height: 300px;
|
|
2483
2482
|
}
|
|
2484
2483
|
.jodit-context-menu_padding_false .jodit-context-menu__content {
|
|
2485
2484
|
padding: 0;
|
|
@@ -2848,10 +2847,10 @@ svg.jodit-icon {
|
|
|
2848
2847
|
* Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2849
2848
|
*/
|
|
2850
2849
|
.jodit-toolbar__box:not(:empty) {
|
|
2851
|
-
background-color: #f9f9f9;
|
|
2852
2850
|
overflow: hidden;
|
|
2853
|
-
border-radius: 3px 3px 0 0;
|
|
2854
2851
|
border-bottom: 1px solid #dadada;
|
|
2852
|
+
background-color: #f9f9f9;
|
|
2853
|
+
border-radius: 3px 3px 0 0;
|
|
2855
2854
|
}
|
|
2856
2855
|
|
|
2857
2856
|
/*!
|
|
@@ -3518,7 +3517,7 @@ svg.jodit-icon {
|
|
|
3518
3517
|
outline: 1px dashed #b5d6fd;
|
|
3519
3518
|
}
|
|
3520
3519
|
.jodit-toolbar-content_status_default {
|
|
3521
|
-
background-color: #
|
|
3520
|
+
background-color: #e3e3e3;
|
|
3522
3521
|
color: #212529;
|
|
3523
3522
|
}
|
|
3524
3523
|
.jodit-toolbar-content_status_default svg {
|
|
@@ -4057,65 +4056,65 @@ svg.jodit-icon {
|
|
|
4057
4056
|
* Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
4058
4057
|
*/
|
|
4059
4058
|
.jodit-filebrowser_preview {
|
|
4060
|
-
text-align: center;
|
|
4061
|
-
min-width: 600px;
|
|
4062
|
-
max-width: 1000px;
|
|
4063
|
-
min-height: 700px;
|
|
4064
|
-
max-height: 100%;
|
|
4065
4059
|
position: relative;
|
|
4066
4060
|
display: -webkit-box;
|
|
4067
4061
|
display: -ms-flexbox;
|
|
4068
4062
|
display: flex;
|
|
4069
|
-
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4063
|
+
min-width: 600px;
|
|
4064
|
+
max-width: 1000px;
|
|
4065
|
+
min-height: 700px;
|
|
4066
|
+
max-height: 100%;
|
|
4072
4067
|
-webkit-box-align: center;
|
|
4073
4068
|
-ms-flex-align: center;
|
|
4074
4069
|
align-items: center;
|
|
4070
|
+
-webkit-box-pack: center;
|
|
4071
|
+
-ms-flex-pack: center;
|
|
4072
|
+
justify-content: center;
|
|
4073
|
+
text-align: center;
|
|
4075
4074
|
}
|
|
4076
4075
|
@media (max-width: 768px) {
|
|
4077
4076
|
.jodit-filebrowser_preview {
|
|
4078
|
-
max-width: 100%;
|
|
4079
|
-
max-height: 100%;
|
|
4080
4077
|
min-width: auto;
|
|
4081
|
-
|
|
4078
|
+
max-width: 100%;
|
|
4082
4079
|
height: 100%;
|
|
4080
|
+
min-height: auto;
|
|
4081
|
+
max-height: 100%;
|
|
4083
4082
|
}
|
|
4084
4083
|
}
|
|
4085
4084
|
.jodit-filebrowser_preview_box {
|
|
4086
|
-
-webkit-box-flex: 1;
|
|
4087
|
-
-ms-flex-positive: 1;
|
|
4088
|
-
flex-grow: 1;
|
|
4089
4085
|
display: -webkit-box;
|
|
4090
4086
|
display: -ms-flexbox;
|
|
4091
4087
|
display: flex;
|
|
4092
|
-
-webkit-box-
|
|
4093
|
-
-ms-flex-
|
|
4094
|
-
|
|
4088
|
+
-webkit-box-flex: 1;
|
|
4089
|
+
-ms-flex-positive: 1;
|
|
4090
|
+
flex-grow: 1;
|
|
4095
4091
|
-webkit-box-align: center;
|
|
4096
4092
|
-ms-flex-align: center;
|
|
4097
4093
|
align-items: center;
|
|
4094
|
+
-webkit-box-pack: center;
|
|
4095
|
+
-ms-flex-pack: center;
|
|
4096
|
+
justify-content: center;
|
|
4098
4097
|
}
|
|
4099
4098
|
.jodit-filebrowser_preview_navigation {
|
|
4100
4099
|
position: absolute;
|
|
4101
4100
|
top: 0;
|
|
4102
|
-
height: 100%;
|
|
4103
4101
|
left: 0;
|
|
4102
|
+
height: 100%;
|
|
4104
4103
|
}
|
|
4105
4104
|
.jodit-filebrowser_preview_navigation-next {
|
|
4106
|
-
left: auto;
|
|
4107
4105
|
right: 0;
|
|
4106
|
+
left: auto;
|
|
4108
4107
|
}
|
|
4109
4108
|
.jodit-filebrowser_preview_navigation svg {
|
|
4110
|
-
width: 45px;
|
|
4111
|
-
height: 45px;
|
|
4112
4109
|
position: relative;
|
|
4113
4110
|
top: 50%;
|
|
4111
|
+
width: 45px;
|
|
4112
|
+
height: 45px;
|
|
4114
4113
|
margin-top: -22px;
|
|
4114
|
+
fill: #9e9ba7;
|
|
4115
4115
|
-webkit-transition: fill 0.3s linear;
|
|
4116
4116
|
-o-transition: fill 0.3s linear;
|
|
4117
4117
|
transition: fill 0.3s linear;
|
|
4118
|
-
fill: #9e9ba7;
|
|
4119
4118
|
}
|
|
4120
4119
|
.jodit-filebrowser_preview_navigation:hover svg {
|
|
4121
4120
|
fill: #000;
|
|
@@ -4613,45 +4612,45 @@ svg.jodit-icon {
|
|
|
4613
4612
|
* Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
4614
4613
|
*/
|
|
4615
4614
|
.jodit-color-picker {
|
|
4616
|
-
text-align: left;
|
|
4617
4615
|
margin: 0;
|
|
4616
|
+
text-align: left;
|
|
4618
4617
|
-webkit-user-select: none;
|
|
4619
4618
|
-moz-user-select: none;
|
|
4620
4619
|
-ms-user-select: none;
|
|
4621
4620
|
user-select: none;
|
|
4622
4621
|
}
|
|
4623
|
-
.jodit-color-
|
|
4624
|
-
margin-bottom: calc(8px / 2);
|
|
4625
|
-
white-space: normal;
|
|
4626
|
-
max-width: calc(24px * 10);
|
|
4622
|
+
.jodit-color-picker__group {
|
|
4627
4623
|
display: -webkit-box;
|
|
4628
4624
|
display: -ms-flexbox;
|
|
4629
4625
|
display: flex;
|
|
4626
|
+
max-width: undefined;
|
|
4630
4627
|
-ms-flex-wrap: wrap;
|
|
4631
4628
|
flex-wrap: wrap;
|
|
4629
|
+
margin-bottom: calc(8px / 2);
|
|
4630
|
+
white-space: normal;
|
|
4632
4631
|
}
|
|
4633
|
-
.jodit-color-
|
|
4634
|
-
width: 24px;
|
|
4635
|
-
height: 24px;
|
|
4632
|
+
.jodit-color-picker__color-item {
|
|
4636
4633
|
display: block;
|
|
4634
|
+
width: undefined;
|
|
4635
|
+
height: undefined;
|
|
4636
|
+
border: 1px solid transparent;
|
|
4637
|
+
text-align: center;
|
|
4637
4638
|
text-decoration: none;
|
|
4638
4639
|
vertical-align: middle;
|
|
4639
|
-
text-align: center;
|
|
4640
|
-
border: 1px solid transparent;
|
|
4641
4640
|
}
|
|
4642
|
-
.jodit-color-
|
|
4641
|
+
.jodit-color-picker__color-item:hover {
|
|
4643
4642
|
border-color: #000;
|
|
4644
4643
|
}
|
|
4645
|
-
.jodit-color-
|
|
4644
|
+
.jodit-color-picker__color-item_active_true {
|
|
4646
4645
|
border: 2px solid #1e88e5;
|
|
4647
4646
|
}
|
|
4648
|
-
.jodit-color-
|
|
4647
|
+
.jodit-color-picker__color-item:active {
|
|
4649
4648
|
border: 2px solid #1e88e5;
|
|
4650
4649
|
}
|
|
4651
4650
|
.jodit-color-picker__native svg {
|
|
4651
|
+
display: inline-block;
|
|
4652
4652
|
width: 16px;
|
|
4653
4653
|
height: 16px;
|
|
4654
|
-
display: inline-block;
|
|
4655
4654
|
margin-right: 4px;
|
|
4656
4655
|
}
|
|
4657
4656
|
.jodit-color-picker__native input {
|
|
@@ -5156,32 +5155,32 @@ html.jodit_fullsize-box_true {
|
|
|
5156
5155
|
display: -webkit-box;
|
|
5157
5156
|
display: -ms-flexbox;
|
|
5158
5157
|
display: flex;
|
|
5158
|
+
overflow: hidden;
|
|
5159
|
+
height: auto;
|
|
5160
|
+
min-height: 50px;
|
|
5159
5161
|
-webkit-box-orient: vertical;
|
|
5160
5162
|
-webkit-box-direction: normal;
|
|
5161
5163
|
-ms-flex-direction: column;
|
|
5162
5164
|
flex-direction: column;
|
|
5163
|
-
height: auto;
|
|
5164
|
-
min-height: 50px;
|
|
5165
|
-
overflow: hidden;
|
|
5166
5165
|
}
|
|
5167
5166
|
.jodit-container:not(.jodit_inline) .jodit-editor__resize {
|
|
5168
5167
|
position: relative;
|
|
5169
5168
|
}
|
|
5170
|
-
.jodit-container:not(.jodit_inline) .jodit-editor__resize
|
|
5169
|
+
.jodit-container:not(.jodit_inline) .jodit-editor__resize span {
|
|
5171
5170
|
position: absolute;
|
|
5172
|
-
bottom: 0;
|
|
5173
5171
|
right: 0;
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
-ms-user-select: none;
|
|
5177
|
-
user-select: none;
|
|
5172
|
+
bottom: 0;
|
|
5173
|
+
overflow: hidden;
|
|
5178
5174
|
width: 0;
|
|
5179
5175
|
height: 0;
|
|
5180
|
-
overflow: hidden;
|
|
5181
5176
|
border-width: 7px 7px 0 0;
|
|
5182
|
-
border-color: rgba(0, 0, 0, 0) #dadada rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
|
|
5183
5177
|
border-style: dashed solid dashed dashed;
|
|
5178
|
+
border-color: rgba(0, 0, 0, 0) #dadada rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
|
|
5184
5179
|
cursor: se-resize;
|
|
5180
|
+
-webkit-user-select: none;
|
|
5181
|
+
-moz-user-select: none;
|
|
5182
|
+
-ms-user-select: none;
|
|
5183
|
+
user-select: none;
|
|
5185
5184
|
}
|
|
5186
5185
|
|
|
5187
5186
|
/*!
|
|
@@ -5301,10 +5300,10 @@ html.jodit_fullsize-box_true {
|
|
|
5301
5300
|
width: 12%;
|
|
5302
5301
|
}
|
|
5303
5302
|
.jodit-symbols .jodit-symbols__container_preview .jodit-symbols__preview {
|
|
5304
|
-
font-size: 34px;
|
|
5305
|
-
text-align: center;
|
|
5306
5303
|
padding: 20px 0;
|
|
5307
5304
|
border: 1px solid #dadada;
|
|
5305
|
+
font-size: 34px;
|
|
5306
|
+
text-align: center;
|
|
5308
5307
|
}
|
|
5309
5308
|
.jodit-symbols table {
|
|
5310
5309
|
border: 0;
|
|
@@ -5315,17 +5314,18 @@ html.jodit_fullsize-box_true {
|
|
|
5315
5314
|
padding: 0;
|
|
5316
5315
|
}
|
|
5317
5316
|
.jodit-symbols table td a {
|
|
5318
|
-
font-size: 16px;
|
|
5319
|
-
text-decoration: none;
|
|
5320
|
-
color: #4c4c4c;
|
|
5321
5317
|
display: inline-block;
|
|
5322
|
-
-webkit-box-sizing: border-box;
|
|
5323
|
-
box-sizing: border-box;
|
|
5324
5318
|
width: calc(18px * 1.2);
|
|
5325
5319
|
height: calc(18px * 1.2);
|
|
5320
|
+
-webkit-box-sizing: border-box;
|
|
5321
|
+
box-sizing: border-box;
|
|
5326
5322
|
border: 1px solid transparent;
|
|
5327
|
-
|
|
5323
|
+
color: #4c4c4c;
|
|
5324
|
+
cursor: pointer;
|
|
5325
|
+
font-size: 16px;
|
|
5328
5326
|
line-height: calc(18px * 1.2);
|
|
5327
|
+
text-align: center;
|
|
5328
|
+
text-decoration: none;
|
|
5329
5329
|
vertical-align: top;
|
|
5330
5330
|
}
|
|
5331
5331
|
.jodit-symbols table td a:hover {
|
package/build/jodit.es2018.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/)
|
|
4
|
-
* Version: v3.8.
|
|
4
|
+
* Version: v3.8.3
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -615,7 +615,6 @@ svg.jodit-icon {
|
|
|
615
615
|
}
|
|
616
616
|
.jodit-container:not(.jodit_inline) {
|
|
617
617
|
border: 1px solid var(--jd-color-border);
|
|
618
|
-
background-color: var(--jd-color-background-default);
|
|
619
618
|
border-radius: var(--jd-border-radius-default);
|
|
620
619
|
}
|
|
621
620
|
.jodit-container:not(.jodit_inline) .jodit-workplace {
|
|
@@ -949,7 +948,7 @@ svg.jodit-icon {
|
|
|
949
948
|
padding: 0 var(--jd-padding-default);
|
|
950
949
|
}
|
|
951
950
|
.jodit-ui-button-statuses_status_default {
|
|
952
|
-
background-color: #
|
|
951
|
+
background-color: #e3e3e3;
|
|
953
952
|
color: #212529;
|
|
954
953
|
}
|
|
955
954
|
.jodit-ui-button-statuses_status_default svg {
|
|
@@ -1265,7 +1264,7 @@ svg.jodit-icon {
|
|
|
1265
1264
|
outline: 1px dashed var(--jd-color-background-selection);
|
|
1266
1265
|
}
|
|
1267
1266
|
.jodit-ui-button_status_default {
|
|
1268
|
-
background-color: #
|
|
1267
|
+
background-color: #e3e3e3;
|
|
1269
1268
|
color: #212529;
|
|
1270
1269
|
}
|
|
1271
1270
|
.jodit-ui-button_status_default svg {
|
|
@@ -1532,19 +1531,19 @@ svg.jodit-icon {
|
|
|
1532
1531
|
float: none;
|
|
1533
1532
|
outline: 0;
|
|
1534
1533
|
position: fixed;
|
|
1535
|
-
display: inline-block;
|
|
1536
1534
|
z-index: var(--jd-z-index-popup);
|
|
1537
|
-
|
|
1535
|
+
display: inline-block;
|
|
1538
1536
|
box-shadow: var(--jd-box-shadow);
|
|
1537
|
+
transform: translate3d(0, 0, 0);
|
|
1539
1538
|
}
|
|
1540
1539
|
.jodit-popup__content {
|
|
1541
1540
|
font-family: var(--jd-font-default);
|
|
1542
1541
|
font-size: var(--jd-font-size-default);
|
|
1542
|
+
overflow: auto;
|
|
1543
|
+
max-height: 300px;
|
|
1543
1544
|
padding: var(--jd-padding-default);
|
|
1544
1545
|
background: var(--jd-color-background-default);
|
|
1545
1546
|
overflow-scrolling: touch;
|
|
1546
|
-
overflow: auto;
|
|
1547
|
-
max-height: 300px;
|
|
1548
1547
|
}
|
|
1549
1548
|
.jodit-popup_padding_false .jodit-popup__content {
|
|
1550
1549
|
padding: 0;
|
|
@@ -2021,20 +2020,20 @@ svg.jodit-icon {
|
|
|
2021
2020
|
float: none;
|
|
2022
2021
|
outline: 0;
|
|
2023
2022
|
position: fixed;
|
|
2024
|
-
display: inline-block;
|
|
2025
2023
|
z-index: var(--jd-z-index-popup);
|
|
2026
|
-
|
|
2024
|
+
display: inline-block;
|
|
2027
2025
|
box-shadow: var(--jd-box-shadow);
|
|
2026
|
+
transform: translate3d(0, 0, 0);
|
|
2028
2027
|
z-index: var(--jd-z-index-context-menu);
|
|
2029
2028
|
}
|
|
2030
2029
|
.jodit-context-menu__content {
|
|
2031
2030
|
font-family: var(--jd-font-default);
|
|
2032
2031
|
font-size: var(--jd-font-size-default);
|
|
2032
|
+
overflow: auto;
|
|
2033
|
+
max-height: 300px;
|
|
2033
2034
|
padding: var(--jd-padding-default);
|
|
2034
2035
|
background: var(--jd-color-background-default);
|
|
2035
2036
|
overflow-scrolling: touch;
|
|
2036
|
-
overflow: auto;
|
|
2037
|
-
max-height: 300px;
|
|
2038
2037
|
}
|
|
2039
2038
|
.jodit-context-menu_padding_false .jodit-context-menu__content {
|
|
2040
2039
|
padding: 0;
|
|
@@ -2336,10 +2335,10 @@ svg.jodit-icon {
|
|
|
2336
2335
|
*/
|
|
2337
2336
|
.jodit-toolbar__box:not(:empty) {
|
|
2338
2337
|
--jd-color-background-default: var(--jd-color-panel);
|
|
2339
|
-
background-color: var(--jd-color-panel);
|
|
2340
2338
|
overflow: hidden;
|
|
2341
|
-
border-radius: var(--jd-border-radius-default) var(--jd-border-radius-default) 0 0;
|
|
2342
2339
|
border-bottom: 1px solid var(--jd-color-border);
|
|
2340
|
+
background-color: var(--jd-color-panel);
|
|
2341
|
+
border-radius: var(--jd-border-radius-default) var(--jd-border-radius-default) 0 0;
|
|
2343
2342
|
}
|
|
2344
2343
|
|
|
2345
2344
|
/*!
|
|
@@ -2847,7 +2846,7 @@ svg.jodit-icon {
|
|
|
2847
2846
|
outline: 1px dashed var(--jd-color-background-selection);
|
|
2848
2847
|
}
|
|
2849
2848
|
.jodit-toolbar-content_status_default {
|
|
2850
|
-
background-color: #
|
|
2849
|
+
background-color: #e3e3e3;
|
|
2851
2850
|
color: #212529;
|
|
2852
2851
|
}
|
|
2853
2852
|
.jodit-toolbar-content_status_default svg {
|
|
@@ -3340,49 +3339,49 @@ svg.jodit-icon {
|
|
|
3340
3339
|
* Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
3341
3340
|
*/
|
|
3342
3341
|
.jodit-filebrowser_preview {
|
|
3343
|
-
|
|
3342
|
+
position: relative;
|
|
3343
|
+
display: flex;
|
|
3344
3344
|
min-width: 600px;
|
|
3345
3345
|
max-width: 1000px;
|
|
3346
3346
|
min-height: 700px;
|
|
3347
3347
|
max-height: 100%;
|
|
3348
|
-
position: relative;
|
|
3349
|
-
display: flex;
|
|
3350
|
-
justify-content: center;
|
|
3351
3348
|
align-items: center;
|
|
3349
|
+
justify-content: center;
|
|
3350
|
+
text-align: center;
|
|
3352
3351
|
}
|
|
3353
3352
|
@media (max-width: 768px) {
|
|
3354
3353
|
.jodit-filebrowser_preview {
|
|
3355
|
-
max-width: 100%;
|
|
3356
|
-
max-height: 100%;
|
|
3357
3354
|
min-width: auto;
|
|
3358
|
-
|
|
3355
|
+
max-width: 100%;
|
|
3359
3356
|
height: 100%;
|
|
3357
|
+
min-height: auto;
|
|
3358
|
+
max-height: 100%;
|
|
3360
3359
|
}
|
|
3361
3360
|
}
|
|
3362
3361
|
.jodit-filebrowser_preview_box {
|
|
3363
|
-
flex-grow: 1;
|
|
3364
3362
|
display: flex;
|
|
3365
|
-
|
|
3363
|
+
flex-grow: 1;
|
|
3366
3364
|
align-items: center;
|
|
3365
|
+
justify-content: center;
|
|
3367
3366
|
}
|
|
3368
3367
|
.jodit-filebrowser_preview_navigation {
|
|
3369
3368
|
position: absolute;
|
|
3370
3369
|
top: 0;
|
|
3371
|
-
height: 100%;
|
|
3372
3370
|
left: 0;
|
|
3371
|
+
height: 100%;
|
|
3373
3372
|
}
|
|
3374
3373
|
.jodit-filebrowser_preview_navigation-next {
|
|
3375
|
-
left: auto;
|
|
3376
3374
|
right: 0;
|
|
3375
|
+
left: auto;
|
|
3377
3376
|
}
|
|
3378
3377
|
.jodit-filebrowser_preview_navigation svg {
|
|
3379
|
-
width: 45px;
|
|
3380
|
-
height: 45px;
|
|
3381
3378
|
position: relative;
|
|
3382
3379
|
top: 50%;
|
|
3380
|
+
width: 45px;
|
|
3381
|
+
height: 45px;
|
|
3383
3382
|
margin-top: -22px;
|
|
3384
|
-
transition: fill 0.3s linear;
|
|
3385
3383
|
fill: #9e9ba7;
|
|
3384
|
+
transition: fill 0.3s linear;
|
|
3386
3385
|
}
|
|
3387
3386
|
.jodit-filebrowser_preview_navigation:hover svg {
|
|
3388
3387
|
fill: #000;
|
|
@@ -3806,37 +3805,37 @@ svg.jodit-icon {
|
|
|
3806
3805
|
.jodit-color-picker {
|
|
3807
3806
|
--jd-color-cell-size: 24px;
|
|
3808
3807
|
--jd-color-cell-icon-size: 12px;
|
|
3809
|
-
text-align: left;
|
|
3810
3808
|
margin: 0;
|
|
3809
|
+
text-align: left;
|
|
3811
3810
|
user-select: none;
|
|
3812
3811
|
}
|
|
3813
|
-
.jodit-color-
|
|
3814
|
-
margin-bottom: calc(var(--jd-padding-default) / 2);
|
|
3815
|
-
white-space: normal;
|
|
3816
|
-
max-width: calc(var(--jd-color-cell-size) * 10);
|
|
3812
|
+
.jodit-color-picker__group {
|
|
3817
3813
|
display: flex;
|
|
3814
|
+
max-width: calc(var(--jd-color-cell-size) * 10);
|
|
3818
3815
|
flex-wrap: wrap;
|
|
3816
|
+
margin-bottom: calc(var(--jd-padding-default) / 2);
|
|
3817
|
+
white-space: normal;
|
|
3819
3818
|
}
|
|
3820
|
-
.jodit-color-
|
|
3819
|
+
.jodit-color-picker__color-item {
|
|
3820
|
+
display: block;
|
|
3821
3821
|
width: var(--jd-color-cell-size);
|
|
3822
3822
|
height: var(--jd-color-cell-size);
|
|
3823
|
-
|
|
3823
|
+
border: 1px solid transparent;
|
|
3824
|
+
text-align: center;
|
|
3824
3825
|
text-decoration: none;
|
|
3825
3826
|
vertical-align: middle;
|
|
3826
|
-
text-align: center;
|
|
3827
|
-
border: 1px solid transparent;
|
|
3828
3827
|
}
|
|
3829
|
-
.jodit-color-
|
|
3828
|
+
.jodit-color-picker__color-item:hover {
|
|
3830
3829
|
border-color: #000;
|
|
3831
3830
|
}
|
|
3832
|
-
.jodit-color-
|
|
3833
|
-
.jodit-color-
|
|
3831
|
+
.jodit-color-picker__color-item_active_true,
|
|
3832
|
+
.jodit-color-picker__color-item:active {
|
|
3834
3833
|
border: 2px solid var(--jd-color-border-selected);
|
|
3835
3834
|
}
|
|
3836
3835
|
.jodit-color-picker__native svg {
|
|
3836
|
+
display: inline-block;
|
|
3837
3837
|
width: 16px;
|
|
3838
3838
|
height: 16px;
|
|
3839
|
-
display: inline-block;
|
|
3840
3839
|
margin-right: 4px;
|
|
3841
3840
|
}
|
|
3842
3841
|
.jodit-color-picker__native input {
|
|
@@ -4290,26 +4289,26 @@ html.jodit_fullsize-box_true {
|
|
|
4290
4289
|
}
|
|
4291
4290
|
.jodit-container:not(.jodit_inline) .jodit-workplace {
|
|
4292
4291
|
display: flex;
|
|
4293
|
-
|
|
4292
|
+
overflow: hidden;
|
|
4294
4293
|
height: auto;
|
|
4295
4294
|
min-height: 50px;
|
|
4296
|
-
|
|
4295
|
+
flex-direction: column;
|
|
4297
4296
|
}
|
|
4298
4297
|
.jodit-container:not(.jodit_inline) .jodit-editor__resize {
|
|
4299
4298
|
position: relative;
|
|
4300
4299
|
}
|
|
4301
|
-
.jodit-container:not(.jodit_inline) .jodit-editor__resize
|
|
4300
|
+
.jodit-container:not(.jodit_inline) .jodit-editor__resize span {
|
|
4302
4301
|
position: absolute;
|
|
4303
|
-
bottom: 0;
|
|
4304
4302
|
right: 0;
|
|
4305
|
-
|
|
4303
|
+
bottom: 0;
|
|
4304
|
+
overflow: hidden;
|
|
4306
4305
|
width: 0;
|
|
4307
4306
|
height: 0;
|
|
4308
|
-
overflow: hidden;
|
|
4309
4307
|
border-width: 7px 7px 0 0;
|
|
4310
|
-
border-color: rgba(0, 0, 0, 0) var(--jd-color-border) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
|
|
4311
4308
|
border-style: dashed solid dashed dashed;
|
|
4309
|
+
border-color: rgba(0, 0, 0, 0) var(--jd-color-border) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
|
|
4312
4310
|
cursor: se-resize;
|
|
4311
|
+
user-select: none;
|
|
4313
4312
|
}
|
|
4314
4313
|
|
|
4315
4314
|
/*!
|
|
@@ -4414,10 +4413,10 @@ html.jodit_fullsize-box_true {
|
|
|
4414
4413
|
width: 12%;
|
|
4415
4414
|
}
|
|
4416
4415
|
.jodit-symbols .jodit-symbols__container_preview .jodit-symbols__preview {
|
|
4417
|
-
font-size: 34px;
|
|
4418
|
-
text-align: center;
|
|
4419
4416
|
padding: 20px 0;
|
|
4420
4417
|
border: 1px solid var(--jd-color-border);
|
|
4418
|
+
font-size: 34px;
|
|
4419
|
+
text-align: center;
|
|
4421
4420
|
}
|
|
4422
4421
|
.jodit-symbols table {
|
|
4423
4422
|
border: 0;
|
|
@@ -4428,16 +4427,17 @@ html.jodit_fullsize-box_true {
|
|
|
4428
4427
|
padding: 0;
|
|
4429
4428
|
}
|
|
4430
4429
|
.jodit-symbols table td a {
|
|
4431
|
-
font-size: 16px;
|
|
4432
|
-
text-decoration: none;
|
|
4433
|
-
color: var(--jd-color-default);
|
|
4434
4430
|
display: inline-block;
|
|
4435
|
-
box-sizing: border-box;
|
|
4436
4431
|
width: calc(var(--jd-width_element_default) * 1.2);
|
|
4437
4432
|
height: calc(var(--jd-height_element_default) * 1.2);
|
|
4433
|
+
box-sizing: border-box;
|
|
4438
4434
|
border: 1px solid transparent;
|
|
4439
|
-
|
|
4435
|
+
color: var(--jd-color-default);
|
|
4436
|
+
cursor: pointer;
|
|
4437
|
+
font-size: 16px;
|
|
4440
4438
|
line-height: calc(var(--jd-height_element_default) * 1.2);
|
|
4439
|
+
text-align: center;
|
|
4440
|
+
text-decoration: none;
|
|
4441
4441
|
vertical-align: top;
|
|
4442
4442
|
}
|
|
4443
4443
|
.jodit-symbols table td a:hover,
|