jodit 4.2.37 → 4.2.39

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 (67) hide show
  1. package/CHANGELOG.md +39 -5
  2. package/es2015/jodit.css +4 -3
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +2 -2
  5. package/es2015/jodit.js +43 -6
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +2 -2
  8. package/es2015/plugins/debug/debug.js +1 -1
  9. package/es2015/plugins/debug/debug.min.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  12. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  13. package/es2018/jodit.css +4 -3
  14. package/es2018/jodit.fat.min.css +1 -1
  15. package/es2018/jodit.fat.min.js +2 -2
  16. package/es2018/jodit.js +43 -6
  17. package/es2018/jodit.min.css +1 -1
  18. package/es2018/jodit.min.js +2 -2
  19. package/es2018/plugins/debug/debug.js +1 -1
  20. package/es2018/plugins/debug/debug.min.js +1 -1
  21. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  22. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  23. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  24. package/es2021/jodit.css +4 -3
  25. package/es2021/jodit.fat.min.css +1 -1
  26. package/es2021/jodit.fat.min.js +2 -2
  27. package/es2021/jodit.js +42 -6
  28. package/es2021/jodit.min.css +1 -1
  29. package/es2021/jodit.min.js +2 -2
  30. package/es2021/plugins/debug/debug.js +1 -1
  31. package/es2021/plugins/debug/debug.min.js +1 -1
  32. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  33. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  34. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  35. package/es2021.en/jodit.css +4 -3
  36. package/es2021.en/jodit.fat.min.css +1 -1
  37. package/es2021.en/jodit.fat.min.js +2 -2
  38. package/es2021.en/jodit.js +42 -6
  39. package/es2021.en/jodit.min.css +1 -1
  40. package/es2021.en/jodit.min.js +2 -2
  41. package/es2021.en/plugins/debug/debug.js +1 -1
  42. package/es2021.en/plugins/debug/debug.min.js +1 -1
  43. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  44. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  45. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  46. package/es5/164.fat.min.js +2 -2
  47. package/es5/164.js +6 -6
  48. package/es5/164.min.js +2 -2
  49. package/es5/5.fat.min.js +1 -1
  50. package/es5/5.min.js +1 -1
  51. package/es5/jodit.css +4 -4
  52. package/es5/jodit.fat.min.css +1 -1
  53. package/es5/jodit.fat.min.js +2 -2
  54. package/es5/jodit.js +45 -6
  55. package/es5/jodit.min.css +3 -3
  56. package/es5/jodit.min.js +2 -2
  57. package/es5/plugins/debug/debug.js +1 -1
  58. package/es5/plugins/debug/debug.min.js +1 -1
  59. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  60. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  61. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  62. package/esm/core/constants.js +1 -1
  63. package/esm/core/ui/form/form.js +1 -0
  64. package/esm/core/ui/form/inputs/input/input.d.ts +1 -0
  65. package/esm/core/ui/form/inputs/input/input.js +13 -1
  66. package/package.json +1 -1
  67. package/types/core/ui/form/inputs/input/input.d.ts +1 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,40 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 4.2.39
13
+
14
+ #### :house: Internal
15
+
16
+ - Chai.js switched to ESM from version 5.0.0, which led to problems with tests inside browser.
17
+ To solve the problem, we abandoned node_modules version and switched to jsdelivr+esm
18
+ We are not removing the dependency yet, see `./test/tests/chai-loader.js`
19
+
20
+ - Update dependencies
21
+
22
+ ```plain
23
+ @eslint/compat ^1.2.0 → ^1.2.2
24
+ @eslint/js ^9.12.0 → ^9.14.0
25
+ @playwright/test ^1.48.0 → ^1.48.2
26
+ @types/karma ^6.3.8 → ^6.3.9
27
+ @types/node ^20.16.11 → ^22.8.7
28
+ @typescript-eslint/eslint-plugin ^8.8.1 → ^8.12.2
29
+ @typescript-eslint/parser ^8.8.1 → ^8.12.2
30
+ compression ^1.7.4 → ^1.7.5
31
+ core-js ^3.38.1 → ^3.39.0
32
+ eslint ^9.12.0 → ^9.14.0
33
+ mini-css-extract-plugin ^2.9.1 → ^2.9.2
34
+ mocha ^10.7.3 → ^10.8.2
35
+ tslib ^2.7.0 → ^2.8.1
36
+ tsx ^4.19.1 → ^4.19.2
37
+ webpack 5.95.0 → 5.96.1
38
+ ```
39
+
40
+ ## 4.2.38
41
+
42
+ ### :bug: Bug Fix
43
+
44
+ - Fixed behavior of form submit with its own validation
45
+
12
46
  ## 4.2.37
13
47
 
14
48
  ### :bug: Bug Fix
@@ -2853,11 +2887,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
2853
2887
  - @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
2854
2888
  modeClassName="select")
2855
2889
  - ex: [
2856
- - { value: "", text: "" },
2857
- - { value: "val1", text: "text1" },
2858
- - { value: "val2", text: "text2" },
2859
- - { value: "val3", text: "text3" }
2860
- - ]
2890
+ - { value: "", text: "" },
2891
+ - { value: "val1", text: "text1" },
2892
+ - { value: "val2", text: "text2" },
2893
+ - { value: "val3", text: "text3" }
2894
+ - ]
2861
2895
  PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
2862
2896
 
2863
2897
  ##### New option `statusbar: boolean = true`
package/es2015/jodit.css CHANGED
@@ -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.37
4
+ * Version: v4.2.39
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1237,6 +1237,7 @@
1237
1237
  :root {
1238
1238
  --jd-popup-box-shadow: 0 4px 1px -2px rgba(76, 76, 76, 0.2),
1239
1239
  0 3px 3px 0 rgb(76 76 76 / 15%), 0 1px 4px 0 rgb(76 76 76 / 13%);
1240
+ --jd-popup-max-height: max(50vh, 350px);
1240
1241
  }
1241
1242
  .jodit-popup {
1242
1243
  position: static;
@@ -1259,7 +1260,7 @@
1259
1260
  font-family: var(--jd-font-default);
1260
1261
  font-size: var(--jd-font-size-default);
1261
1262
  overflow: auto;
1262
- max-height: 300px;
1263
+ max-height: var(--jd-popup-max-height, 400px);
1263
1264
  padding: var(--jd-padding-default);
1264
1265
  background: var(--jd-color-background-default);
1265
1266
  overflow-scrolling: touch;
@@ -2673,7 +2674,7 @@
2673
2674
  font-family: var(--jd-font-default);
2674
2675
  font-size: var(--jd-font-size-default);
2675
2676
  overflow: auto;
2676
- max-height: 300px;
2677
+ max-height: var(--jd-popup-max-height, 400px);
2677
2678
  padding: var(--jd-padding-default);
2678
2679
  background: var(--jd-color-background-default);
2679
2680
  overflow-scrolling: touch;