jodit 4.2.14 → 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.
Files changed (79) hide show
  1. package/es2015/jodit.css +115 -115
  2. package/es2015/jodit.fat.min.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +525 -444
  5. package/es2015/jodit.min.css +1 -1
  6. package/es2015/jodit.min.js +2 -2
  7. package/es2015/plugins/debug/debug.js +1 -1
  8. package/es2015/plugins/debug/debug.min.js +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  12. package/es2018/jodit.css +115 -115
  13. package/es2018/jodit.fat.min.css +1 -1
  14. package/es2018/jodit.fat.min.js +2 -2
  15. package/es2018/jodit.js +525 -444
  16. package/es2018/jodit.min.css +1 -1
  17. package/es2018/jodit.min.js +2 -2
  18. package/es2018/plugins/debug/debug.js +1 -1
  19. package/es2018/plugins/debug/debug.min.js +1 -1
  20. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  21. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  22. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  23. package/es2021/jodit.css +115 -115
  24. package/es2021/jodit.fat.min.css +1 -1
  25. package/es2021/jodit.fat.min.js +2 -2
  26. package/es2021/jodit.js +519 -440
  27. package/es2021/jodit.min.css +1 -1
  28. package/es2021/jodit.min.js +2 -2
  29. package/es2021/plugins/debug/debug.js +1 -1
  30. package/es2021/plugins/debug/debug.min.js +1 -1
  31. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  32. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  33. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  34. package/es2021.en/jodit.css +115 -115
  35. package/es2021.en/jodit.fat.min.css +1 -1
  36. package/es2021.en/jodit.fat.min.js +2 -2
  37. package/es2021.en/jodit.js +519 -440
  38. package/es2021.en/jodit.min.css +1 -1
  39. package/es2021.en/jodit.min.js +2 -2
  40. package/es2021.en/plugins/debug/debug.js +1 -1
  41. package/es2021.en/plugins/debug/debug.min.js +1 -1
  42. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  43. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  44. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  45. package/es5/jodit.css +129 -129
  46. package/es5/jodit.fat.min.css +1 -1
  47. package/es5/jodit.fat.min.js +2 -2
  48. package/es5/jodit.js +542 -460
  49. package/es5/jodit.min.css +3 -3
  50. package/es5/jodit.min.js +2 -2
  51. package/es5/plugins/debug/debug.js +1 -1
  52. package/es5/plugins/debug/debug.min.js +1 -1
  53. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  56. package/esm/core/constants.js +1 -1
  57. package/esm/core/selection/helpers/index.d.ts +9 -3
  58. package/esm/core/selection/helpers/index.js +48 -0
  59. package/esm/core/selection/selection.d.ts +6 -1
  60. package/esm/core/selection/selection.js +95 -117
  61. package/esm/index.d.ts +6 -1
  62. package/esm/index.js +3 -2
  63. package/esm/modules/table/table.d.ts +3 -1
  64. package/esm/modules/table/table.js +38 -33
  65. package/esm/modules/uploader/helpers/send-files.js +33 -29
  66. package/esm/plugins/backspace/cases/check-remove-char.js +65 -55
  67. package/esm/plugins/drag-and-drop/drag-and-drop.d.ts +2 -0
  68. package/esm/plugins/drag-and-drop/drag-and-drop.js +43 -36
  69. package/esm/plugins/link/link.js +71 -64
  70. package/esm/plugins/search/helpers/highlight-text-ranges.d.ts +0 -4
  71. package/esm/plugins/search/helpers/highlight-text-ranges.js +58 -49
  72. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +35 -29
  73. package/package.json +1 -1
  74. package/types/core/selection/helpers/index.d.ts +9 -3
  75. package/types/core/selection/selection.d.ts +6 -1
  76. package/types/index.d.ts +6 -1
  77. package/types/modules/table/table.d.ts +3 -1
  78. package/types/plugins/drag-and-drop/drag-and-drop.d.ts +2 -0
  79. package/types/plugins/search/helpers/highlight-text-ranges.d.ts +0 -4
@@ -1,7 +1,7 @@
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.14
4
+ * Version: v4.2.15
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
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.14
4
+ * Version: v4.2.15
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
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.14
4
+ * Version: v4.2.15
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
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.14
4
+ * Version: v4.2.15
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
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.14
4
+ * Version: v4.2.15
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
package/es5/jodit.css CHANGED
@@ -1,40 +1,18 @@
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.14
4
+ * Version: v4.2.15
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
8
8
  /*!
9
9
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
10
10
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
11
- * Version: v4.2.14
11
+ * Version: v4.2.15
12
12
  * Url: https://xdsoft.net/jodit/
13
13
  * License(s): MIT
14
14
  */
15
15
 
16
- /*!
17
- * Jodit Editor (https://xdsoft.net/jodit/)
18
- * Released under MIT see LICENSE.txt in the project root for license information.
19
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
20
- */
21
- .jodit-about {
22
- padding: 20px;
23
- }
24
- .jodit-about a {
25
- color: #459ce7;
26
- text-decoration: none;
27
- }
28
- .jodit-about a:focus,
29
- .jodit-about a:hover {
30
- color: #23527c;
31
- outline: 0;
32
- text-decoration: underline;
33
- }
34
- .jodit-about div {
35
- margin-bottom: calc(8px / 2);
36
- }
37
-
38
16
  /*!
39
17
  * Jodit Editor (https://xdsoft.net/jodit/)
40
18
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -845,111 +823,6 @@
845
823
  outline: 1px dashed #bd2130;
846
824
  }
847
825
 
848
- /*!
849
- * Jodit Editor (https://xdsoft.net/jodit/)
850
- * Released under MIT see LICENSE.txt in the project root for license information.
851
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
852
- */
853
- .jodit-popup {
854
- position: static;
855
- width: auto;
856
- max-width: none;
857
- height: auto;
858
- padding: 0;
859
- border: 0;
860
- margin: 0;
861
- background: 0 0;
862
- float: none;
863
- outline: 0;
864
- position: fixed;
865
- z-index: 10000001;
866
- display: inline-block;
867
- -webkit-box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
868
- 0 3px 3px 0 rgb(76 76 76 / 15%), 0 1px 4px 0 rgb(76 76 76 / 13%);
869
- box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
870
- 0 3px 3px 0 rgb(76 76 76 / 15%), 0 1px 4px 0 rgb(76 76 76 / 13%);
871
- -webkit-transform: translate3d(0, 0, 0);
872
- transform: translate3d(0, 0, 0);
873
- }
874
- .jodit-popup__content {
875
- font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
876
- oxygen-sans, ubuntu, cantarell, 'Helvetica Neue', sans-serif;
877
- font-size: 14px;
878
- overflow: auto;
879
- max-height: 300px;
880
- padding: 8px;
881
- background: #fff;
882
- overflow-scrolling: touch;
883
- }
884
- .jodit-popup_padding_false .jodit-popup__content {
885
- padding: 0;
886
- }
887
- .jodit-popup_max-height_false .jodit-popup__content {
888
- max-height: -webkit-fit-content;
889
- max-height: -moz-fit-content;
890
- max-height: fit-content;
891
- }
892
-
893
- /*!
894
- * Jodit Editor (https://xdsoft.net/jodit/)
895
- * Released under MIT see LICENSE.txt in the project root for license information.
896
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
897
- */
898
- .jodit-context-menu {
899
- position: static;
900
- width: auto;
901
- max-width: none;
902
- height: auto;
903
- padding: 0;
904
- border: 0;
905
- margin: 0;
906
- background: 0 0;
907
- float: none;
908
- outline: 0;
909
- position: fixed;
910
- z-index: 10000001;
911
- display: inline-block;
912
- -webkit-box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
913
- 0 3px 3px 0 rgb(76 76 76 / 15%), 0 1px 4px 0 rgb(76 76 76 / 13%);
914
- box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
915
- 0 3px 3px 0 rgb(76 76 76 / 15%), 0 1px 4px 0 rgb(76 76 76 / 13%);
916
- -webkit-transform: translate3d(0, 0, 0);
917
- transform: translate3d(0, 0, 0);
918
- z-index: 30000005;
919
- font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
920
- oxygen-sans, ubuntu, cantarell, 'Helvetica Neue', sans-serif;
921
- font-size: 14px;
922
- }
923
- .jodit-context-menu__content {
924
- font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
925
- oxygen-sans, ubuntu, cantarell, 'Helvetica Neue', sans-serif;
926
- font-size: 14px;
927
- overflow: auto;
928
- max-height: 300px;
929
- padding: 8px;
930
- background: #fff;
931
- overflow-scrolling: touch;
932
- }
933
- .jodit-context-menu_padding_false .jodit-context-menu__content {
934
- padding: 0;
935
- }
936
- .jodit-context-menu_max-height_false .jodit-context-menu__content {
937
- max-height: -webkit-fit-content;
938
- max-height: -moz-fit-content;
939
- max-height: fit-content;
940
- }
941
- .jodit-context-menu .jodit-ui-button {
942
- display: -webkit-box;
943
- display: -ms-flexbox;
944
- display: flex;
945
- }
946
- .jodit-context-menu button {
947
- width: 100%;
948
- }
949
- .jodit-context-menu_theme_dark {
950
- background-color: #575757;
951
- }
952
-
953
826
  .jodit-ui-button-group {
954
827
  margin-bottom: 8px;
955
828
  }
@@ -1598,6 +1471,51 @@
1598
1471
  opacity: 0;
1599
1472
  }
1600
1473
 
1474
+ /*!
1475
+ * Jodit Editor (https://xdsoft.net/jodit/)
1476
+ * Released under MIT see LICENSE.txt in the project root for license information.
1477
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1478
+ */
1479
+ .jodit-popup {
1480
+ position: static;
1481
+ width: auto;
1482
+ max-width: none;
1483
+ height: auto;
1484
+ padding: 0;
1485
+ border: 0;
1486
+ margin: 0;
1487
+ background: 0 0;
1488
+ float: none;
1489
+ outline: 0;
1490
+ position: fixed;
1491
+ z-index: 10000001;
1492
+ display: inline-block;
1493
+ -webkit-box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
1494
+ 0 3px 3px 0 rgb(76 76 76 / 15%), 0 1px 4px 0 rgb(76 76 76 / 13%);
1495
+ box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
1496
+ 0 3px 3px 0 rgb(76 76 76 / 15%), 0 1px 4px 0 rgb(76 76 76 / 13%);
1497
+ -webkit-transform: translate3d(0, 0, 0);
1498
+ transform: translate3d(0, 0, 0);
1499
+ }
1500
+ .jodit-popup__content {
1501
+ font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
1502
+ oxygen-sans, ubuntu, cantarell, 'Helvetica Neue', sans-serif;
1503
+ font-size: 14px;
1504
+ overflow: auto;
1505
+ max-height: 300px;
1506
+ padding: 8px;
1507
+ background: #fff;
1508
+ overflow-scrolling: touch;
1509
+ }
1510
+ .jodit-popup_padding_false .jodit-popup__content {
1511
+ padding: 0;
1512
+ }
1513
+ .jodit-popup_max-height_false .jodit-popup__content {
1514
+ max-height: -webkit-fit-content;
1515
+ max-height: -moz-fit-content;
1516
+ max-height: fit-content;
1517
+ }
1518
+
1601
1519
  /*!
1602
1520
  * Jodit Editor (https://xdsoft.net/jodit/)
1603
1521
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -3259,6 +3177,66 @@
3259
3177
  z-index: 20000004;
3260
3178
  }
3261
3179
 
3180
+ /*!
3181
+ * Jodit Editor (https://xdsoft.net/jodit/)
3182
+ * Released under MIT see LICENSE.txt in the project root for license information.
3183
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
3184
+ */
3185
+ .jodit-context-menu {
3186
+ position: static;
3187
+ width: auto;
3188
+ max-width: none;
3189
+ height: auto;
3190
+ padding: 0;
3191
+ border: 0;
3192
+ margin: 0;
3193
+ background: 0 0;
3194
+ float: none;
3195
+ outline: 0;
3196
+ position: fixed;
3197
+ z-index: 10000001;
3198
+ display: inline-block;
3199
+ -webkit-box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
3200
+ 0 3px 3px 0 rgb(76 76 76 / 15%), 0 1px 4px 0 rgb(76 76 76 / 13%);
3201
+ box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
3202
+ 0 3px 3px 0 rgb(76 76 76 / 15%), 0 1px 4px 0 rgb(76 76 76 / 13%);
3203
+ -webkit-transform: translate3d(0, 0, 0);
3204
+ transform: translate3d(0, 0, 0);
3205
+ z-index: 30000005;
3206
+ font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
3207
+ oxygen-sans, ubuntu, cantarell, 'Helvetica Neue', sans-serif;
3208
+ font-size: 14px;
3209
+ }
3210
+ .jodit-context-menu__content {
3211
+ font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
3212
+ oxygen-sans, ubuntu, cantarell, 'Helvetica Neue', sans-serif;
3213
+ font-size: 14px;
3214
+ overflow: auto;
3215
+ max-height: 300px;
3216
+ padding: 8px;
3217
+ background: #fff;
3218
+ overflow-scrolling: touch;
3219
+ }
3220
+ .jodit-context-menu_padding_false .jodit-context-menu__content {
3221
+ padding: 0;
3222
+ }
3223
+ .jodit-context-menu_max-height_false .jodit-context-menu__content {
3224
+ max-height: -webkit-fit-content;
3225
+ max-height: -moz-fit-content;
3226
+ max-height: fit-content;
3227
+ }
3228
+ .jodit-context-menu .jodit-ui-button {
3229
+ display: -webkit-box;
3230
+ display: -ms-flexbox;
3231
+ display: flex;
3232
+ }
3233
+ .jodit-context-menu button {
3234
+ width: 100%;
3235
+ }
3236
+ .jodit-context-menu_theme_dark {
3237
+ background-color: #575757;
3238
+ }
3239
+
3262
3240
  /*!
3263
3241
  * Jodit Editor (https://xdsoft.net/jodit/)
3264
3242
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -4087,6 +4065,28 @@ a + .jodit-file-browser-tree__source-title {
4087
4065
  }
4088
4066
  }
4089
4067
 
4068
+ /*!
4069
+ * Jodit Editor (https://xdsoft.net/jodit/)
4070
+ * Released under MIT see LICENSE.txt in the project root for license information.
4071
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
4072
+ */
4073
+ .jodit-about {
4074
+ padding: 20px;
4075
+ }
4076
+ .jodit-about a {
4077
+ color: #459ce7;
4078
+ text-decoration: none;
4079
+ }
4080
+ .jodit-about a:focus,
4081
+ .jodit-about a:hover {
4082
+ color: #23527c;
4083
+ outline: 0;
4084
+ text-decoration: underline;
4085
+ }
4086
+ .jodit-about div {
4087
+ margin-bottom: calc(8px / 2);
4088
+ }
4089
+
4090
4090
  /*!
4091
4091
  * Jodit Editor (https://xdsoft.net/jodit/)
4092
4092
  * Released under MIT see LICENSE.txt in the project root for license information.