jodit 4.2.12 → 4.2.15
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 +11 -5
- package/es2015/jodit.css +115 -115
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +539 -444
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.js +1 -1
- 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 +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.css +115 -115
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +539 -444
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- 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 +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +115 -115
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +533 -440
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.js +1 -1
- 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 +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +115 -115
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +533 -440
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.js +1 -1
- 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 +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +129 -129
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +556 -460
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.js +1 -1
- 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 +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/decorators/autobind/autobind.d.ts +5 -0
- package/esm/core/decorators/autobind/autobind.js +5 -0
- package/esm/core/selection/helpers/index.d.ts +9 -3
- package/esm/core/selection/helpers/index.js +48 -0
- package/esm/core/selection/selection.d.ts +6 -1
- package/esm/core/selection/selection.js +95 -117
- package/esm/index.d.ts +6 -1
- package/esm/index.js +3 -2
- package/esm/modules/table/table.d.ts +3 -1
- package/esm/modules/table/table.js +38 -33
- package/esm/modules/uploader/helpers/send-files.js +33 -29
- package/esm/plugins/backspace/cases/check-remove-char.js +65 -55
- package/esm/plugins/drag-and-drop/drag-and-drop.d.ts +2 -0
- package/esm/plugins/drag-and-drop/drag-and-drop.js +43 -36
- package/esm/plugins/inline-popup/config/items/cells.js +9 -0
- package/esm/plugins/link/link.js +71 -64
- package/esm/plugins/search/helpers/highlight-text-ranges.d.ts +0 -4
- package/esm/plugins/search/helpers/highlight-text-ranges.js +58 -49
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +35 -29
- package/package.json +1 -1
- package/types/core/decorators/autobind/autobind.d.ts +5 -0
- package/types/core/selection/helpers/index.d.ts +9 -3
- package/types/core/selection/selection.d.ts +6 -1
- package/types/index.d.ts +6 -1
- package/types/modules/table/table.d.ts +3 -1
- package/types/plugins/drag-and-drop/drag-and-drop.d.ts +2 -0
- package/types/plugins/search/helpers/highlight-text-ranges.d.ts +0 -4
package/es2021.en/jodit.css
CHANGED
|
@@ -1,33 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.15
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
/*!
|
|
10
|
-
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
11
|
-
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
12
|
-
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
13
|
-
*/
|
|
14
|
-
.jodit-about {
|
|
15
|
-
padding: 20px;
|
|
16
|
-
}
|
|
17
|
-
.jodit-about a {
|
|
18
|
-
color: #459ce7;
|
|
19
|
-
text-decoration: none;
|
|
20
|
-
}
|
|
21
|
-
.jodit-about a:focus,
|
|
22
|
-
.jodit-about a:hover {
|
|
23
|
-
color: #23527c;
|
|
24
|
-
outline: 0;
|
|
25
|
-
text-decoration: underline;
|
|
26
|
-
}
|
|
27
|
-
.jodit-about div {
|
|
28
|
-
margin-bottom: calc(var(--jd-padding-default) / 2);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
9
|
/*!
|
|
32
10
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33
11
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -733,98 +711,6 @@
|
|
|
733
711
|
outline: 1px dashed #bd2130;
|
|
734
712
|
}
|
|
735
713
|
|
|
736
|
-
/*!
|
|
737
|
-
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
738
|
-
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
739
|
-
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
740
|
-
*/
|
|
741
|
-
:root {
|
|
742
|
-
--jd-popup-box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
|
|
743
|
-
0 3px 3px 0 rgb(76 76 76 / 15%), 0 1px 4px 0 rgb(76 76 76 / 13%);
|
|
744
|
-
}
|
|
745
|
-
.jodit-popup {
|
|
746
|
-
position: static;
|
|
747
|
-
width: auto;
|
|
748
|
-
max-width: none;
|
|
749
|
-
height: auto;
|
|
750
|
-
padding: 0;
|
|
751
|
-
border: 0;
|
|
752
|
-
margin: 0;
|
|
753
|
-
background: 0 0;
|
|
754
|
-
float: none;
|
|
755
|
-
outline: 0;
|
|
756
|
-
position: fixed;
|
|
757
|
-
z-index: var(--jd-z-index-popup);
|
|
758
|
-
display: inline-block;
|
|
759
|
-
box-shadow: var(--jd-popup-box-shadow);
|
|
760
|
-
transform: translate3d(0, 0, 0);
|
|
761
|
-
}
|
|
762
|
-
.jodit-popup__content {
|
|
763
|
-
font-family: var(--jd-font-default);
|
|
764
|
-
font-size: var(--jd-font-size-default);
|
|
765
|
-
overflow: auto;
|
|
766
|
-
max-height: 300px;
|
|
767
|
-
padding: var(--jd-padding-default);
|
|
768
|
-
background: var(--jd-color-background-default);
|
|
769
|
-
overflow-scrolling: touch;
|
|
770
|
-
}
|
|
771
|
-
.jodit-popup_padding_false .jodit-popup__content {
|
|
772
|
-
padding: 0;
|
|
773
|
-
}
|
|
774
|
-
.jodit-popup_max-height_false .jodit-popup__content {
|
|
775
|
-
max-height: fit-content;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
/*!
|
|
779
|
-
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
780
|
-
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
781
|
-
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
782
|
-
*/
|
|
783
|
-
.jodit-context-menu {
|
|
784
|
-
position: static;
|
|
785
|
-
width: auto;
|
|
786
|
-
max-width: none;
|
|
787
|
-
height: auto;
|
|
788
|
-
padding: 0;
|
|
789
|
-
border: 0;
|
|
790
|
-
margin: 0;
|
|
791
|
-
background: 0 0;
|
|
792
|
-
float: none;
|
|
793
|
-
outline: 0;
|
|
794
|
-
position: fixed;
|
|
795
|
-
z-index: var(--jd-z-index-popup);
|
|
796
|
-
display: inline-block;
|
|
797
|
-
box-shadow: var(--jd-popup-box-shadow);
|
|
798
|
-
transform: translate3d(0, 0, 0);
|
|
799
|
-
z-index: var(--jd-z-index-context-menu);
|
|
800
|
-
font-family: var(--jd-font-default);
|
|
801
|
-
font-size: var(--jd-font-size-default);
|
|
802
|
-
}
|
|
803
|
-
.jodit-context-menu__content {
|
|
804
|
-
font-family: var(--jd-font-default);
|
|
805
|
-
font-size: var(--jd-font-size-default);
|
|
806
|
-
overflow: auto;
|
|
807
|
-
max-height: 300px;
|
|
808
|
-
padding: var(--jd-padding-default);
|
|
809
|
-
background: var(--jd-color-background-default);
|
|
810
|
-
overflow-scrolling: touch;
|
|
811
|
-
}
|
|
812
|
-
.jodit-context-menu_padding_false .jodit-context-menu__content {
|
|
813
|
-
padding: 0;
|
|
814
|
-
}
|
|
815
|
-
.jodit-context-menu_max-height_false .jodit-context-menu__content {
|
|
816
|
-
max-height: fit-content;
|
|
817
|
-
}
|
|
818
|
-
.jodit-context-menu .jodit-ui-button {
|
|
819
|
-
display: flex;
|
|
820
|
-
}
|
|
821
|
-
.jodit-context-menu button {
|
|
822
|
-
width: 100%;
|
|
823
|
-
}
|
|
824
|
-
.jodit-context-menu_theme_dark {
|
|
825
|
-
background-color: var(--jd-dark-background-color);
|
|
826
|
-
}
|
|
827
|
-
|
|
828
714
|
.jodit-ui-button-group {
|
|
829
715
|
margin-bottom: var(--jd-padding-default);
|
|
830
716
|
}
|
|
@@ -1338,6 +1224,48 @@
|
|
|
1338
1224
|
opacity: 0;
|
|
1339
1225
|
}
|
|
1340
1226
|
|
|
1227
|
+
/*!
|
|
1228
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
1229
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
1230
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1231
|
+
*/
|
|
1232
|
+
:root {
|
|
1233
|
+
--jd-popup-box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
|
|
1234
|
+
0 3px 3px 0 rgb(76 76 76 / 15%), 0 1px 4px 0 rgb(76 76 76 / 13%);
|
|
1235
|
+
}
|
|
1236
|
+
.jodit-popup {
|
|
1237
|
+
position: static;
|
|
1238
|
+
width: auto;
|
|
1239
|
+
max-width: none;
|
|
1240
|
+
height: auto;
|
|
1241
|
+
padding: 0;
|
|
1242
|
+
border: 0;
|
|
1243
|
+
margin: 0;
|
|
1244
|
+
background: 0 0;
|
|
1245
|
+
float: none;
|
|
1246
|
+
outline: 0;
|
|
1247
|
+
position: fixed;
|
|
1248
|
+
z-index: var(--jd-z-index-popup);
|
|
1249
|
+
display: inline-block;
|
|
1250
|
+
box-shadow: var(--jd-popup-box-shadow);
|
|
1251
|
+
transform: translate3d(0, 0, 0);
|
|
1252
|
+
}
|
|
1253
|
+
.jodit-popup__content {
|
|
1254
|
+
font-family: var(--jd-font-default);
|
|
1255
|
+
font-size: var(--jd-font-size-default);
|
|
1256
|
+
overflow: auto;
|
|
1257
|
+
max-height: 300px;
|
|
1258
|
+
padding: var(--jd-padding-default);
|
|
1259
|
+
background: var(--jd-color-background-default);
|
|
1260
|
+
overflow-scrolling: touch;
|
|
1261
|
+
}
|
|
1262
|
+
.jodit-popup_padding_false .jodit-popup__content {
|
|
1263
|
+
padding: 0;
|
|
1264
|
+
}
|
|
1265
|
+
.jodit-popup_max-height_false .jodit-popup__content {
|
|
1266
|
+
max-height: fit-content;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1341
1269
|
/*!
|
|
1342
1270
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
1343
1271
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -2705,6 +2633,56 @@
|
|
|
2705
2633
|
z-index: var(--jd-z-index-dialog);
|
|
2706
2634
|
}
|
|
2707
2635
|
|
|
2636
|
+
/*!
|
|
2637
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
2638
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2639
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2640
|
+
*/
|
|
2641
|
+
.jodit-context-menu {
|
|
2642
|
+
position: static;
|
|
2643
|
+
width: auto;
|
|
2644
|
+
max-width: none;
|
|
2645
|
+
height: auto;
|
|
2646
|
+
padding: 0;
|
|
2647
|
+
border: 0;
|
|
2648
|
+
margin: 0;
|
|
2649
|
+
background: 0 0;
|
|
2650
|
+
float: none;
|
|
2651
|
+
outline: 0;
|
|
2652
|
+
position: fixed;
|
|
2653
|
+
z-index: var(--jd-z-index-popup);
|
|
2654
|
+
display: inline-block;
|
|
2655
|
+
box-shadow: var(--jd-popup-box-shadow);
|
|
2656
|
+
transform: translate3d(0, 0, 0);
|
|
2657
|
+
z-index: var(--jd-z-index-context-menu);
|
|
2658
|
+
font-family: var(--jd-font-default);
|
|
2659
|
+
font-size: var(--jd-font-size-default);
|
|
2660
|
+
}
|
|
2661
|
+
.jodit-context-menu__content {
|
|
2662
|
+
font-family: var(--jd-font-default);
|
|
2663
|
+
font-size: var(--jd-font-size-default);
|
|
2664
|
+
overflow: auto;
|
|
2665
|
+
max-height: 300px;
|
|
2666
|
+
padding: var(--jd-padding-default);
|
|
2667
|
+
background: var(--jd-color-background-default);
|
|
2668
|
+
overflow-scrolling: touch;
|
|
2669
|
+
}
|
|
2670
|
+
.jodit-context-menu_padding_false .jodit-context-menu__content {
|
|
2671
|
+
padding: 0;
|
|
2672
|
+
}
|
|
2673
|
+
.jodit-context-menu_max-height_false .jodit-context-menu__content {
|
|
2674
|
+
max-height: fit-content;
|
|
2675
|
+
}
|
|
2676
|
+
.jodit-context-menu .jodit-ui-button {
|
|
2677
|
+
display: flex;
|
|
2678
|
+
}
|
|
2679
|
+
.jodit-context-menu button {
|
|
2680
|
+
width: 100%;
|
|
2681
|
+
}
|
|
2682
|
+
.jodit-context-menu_theme_dark {
|
|
2683
|
+
background-color: var(--jd-dark-background-color);
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2708
2686
|
/*!
|
|
2709
2687
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
2710
2688
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -3403,6 +3381,28 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
3403
3381
|
}
|
|
3404
3382
|
}
|
|
3405
3383
|
|
|
3384
|
+
/*!
|
|
3385
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3386
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
3387
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
3388
|
+
*/
|
|
3389
|
+
.jodit-about {
|
|
3390
|
+
padding: 20px;
|
|
3391
|
+
}
|
|
3392
|
+
.jodit-about a {
|
|
3393
|
+
color: #459ce7;
|
|
3394
|
+
text-decoration: none;
|
|
3395
|
+
}
|
|
3396
|
+
.jodit-about a:focus,
|
|
3397
|
+
.jodit-about a:hover {
|
|
3398
|
+
color: #23527c;
|
|
3399
|
+
outline: 0;
|
|
3400
|
+
text-decoration: underline;
|
|
3401
|
+
}
|
|
3402
|
+
.jodit-about div {
|
|
3403
|
+
margin-bottom: calc(var(--jd-padding-default) / 2);
|
|
3404
|
+
}
|
|
3405
|
+
|
|
3406
3406
|
/*!
|
|
3407
3407
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3408
3408
|
* Released under MIT see LICENSE.txt in the project root for license information.
|