jodit 4.0.0-beta.91 → 4.0.0-beta.94

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 (87) hide show
  1. package/.nvmrc +1 -1
  2. package/CHANGELOG.md +36 -5
  3. package/README.md +7 -7
  4. package/es2015/jodit.css +1 -1
  5. package/es2015/jodit.fat.min.js +2 -2
  6. package/es2015/jodit.js +20 -10
  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 +1 -1
  14. package/es2018/jodit.fat.min.js +2 -2
  15. package/es2018/jodit.js +20 -10
  16. package/es2018/jodit.min.js +2 -2
  17. package/es2018/plugins/debug/debug.js +1 -1
  18. package/es2018/plugins/debug/debug.min.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  20. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  21. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  22. package/es2021/jodit.css +1 -1
  23. package/es2021/jodit.fat.min.js +2 -2
  24. package/es2021/jodit.js +20 -10
  25. package/es2021/jodit.min.js +2 -2
  26. package/es2021/plugins/debug/debug.js +1 -1
  27. package/es2021/plugins/debug/debug.min.js +1 -1
  28. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  31. package/es2021.en/jodit.css +1 -1
  32. package/es2021.en/jodit.fat.min.js +2 -2
  33. package/es2021.en/jodit.js +20 -10
  34. package/es2021.en/jodit.min.js +2 -2
  35. package/es2021.en/plugins/debug/debug.js +1 -1
  36. package/es2021.en/plugins/debug/debug.min.js +1 -1
  37. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  38. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  39. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  40. package/es5/jodit.css +2 -2
  41. package/es5/jodit.fat.min.js +2 -2
  42. package/es5/jodit.js +39839 -39828
  43. package/es5/jodit.min.css +2 -2
  44. package/es5/jodit.min.js +2 -2
  45. package/es5/plugins/debug/debug.js +1 -1
  46. package/es5/plugins/debug/debug.min.js +1 -1
  47. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  48. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  49. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  50. package/esm/core/constants.js +1 -1
  51. package/esm/core/selection/selection.js +14 -5
  52. package/esm/modules/image-editor/config.js +2 -2
  53. package/esm/modules/uploader/helpers/build-data.js +3 -2
  54. package/esm/modules/widget/color-picker/color-picker.js +1 -1
  55. package/esm/plugins/about/about.js +1 -1
  56. package/esm/plugins/add-new-line/config.js +1 -1
  57. package/esm/plugins/bold/bold.js +6 -6
  58. package/esm/plugins/class-span/class-span.js +1 -1
  59. package/esm/plugins/clean-html/config.js +1 -1
  60. package/esm/plugins/clipboard/config.js +4 -4
  61. package/esm/plugins/color/config.js +1 -1
  62. package/esm/plugins/copy-format/copy-format.js +1 -1
  63. package/esm/plugins/font/config.js +2 -2
  64. package/esm/plugins/format-block/config.js +1 -1
  65. package/esm/plugins/fullsize/config.js +2 -2
  66. package/esm/plugins/hr/hr.js +1 -1
  67. package/esm/plugins/image/image.js +1 -1
  68. package/esm/plugins/indent/config.js +2 -2
  69. package/esm/plugins/index.js +3 -0
  70. package/esm/plugins/justify/justify.js +1 -1
  71. package/esm/plugins/line-height/config.js +1 -1
  72. package/esm/plugins/link/config.js +2 -2
  73. package/esm/plugins/ordered-list/config.js +2 -2
  74. package/esm/plugins/print/print.js +1 -1
  75. package/esm/plugins/redo-undo/redo-undo.js +2 -2
  76. package/esm/plugins/search/config.js +1 -1
  77. package/esm/plugins/source/config.js +1 -1
  78. package/esm/plugins/speech-recognize/config.js +1 -1
  79. package/esm/plugins/spellcheck/config.js +1 -1
  80. package/esm/plugins/symbols/config.js +1 -1
  81. package/esm/plugins/table/config.js +1 -1
  82. package/esm/plugins/video/config.js +1 -1
  83. package/esm/plugins/wrap-nodes/wrap-nodes.js +2 -2
  84. package/esm/styles/icons/index.d.ts +27 -27
  85. package/esm/styles/icons/index.js +27 -27
  86. package/package.json +1 -1
  87. package/types/styles/icons/index.d.ts +27 -27
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 16.15.0
1
+ 18.17.1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,37 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 4.0.0-beta.93
13
+
14
+ - Fixed a bug with the `editor.selection.setCursorIn(box)` method, which could set the cursor inside a <br>.
15
+
16
+ ## 4.0.0-beta.91
17
+
18
+ ### :bug: Bug Fix
19
+
20
+ - Issues with ESM #1029, icons were not included in the esm build
21
+ Issue: https://github.com/xdan/jodit/issues/1029
22
+
23
+ - Use node 18.17.1 for build
24
+ - Update
25
+
26
+ ```
27
+ @types/ace ^0.0.49 → ^0.0.50
28
+ @types/fs-extra ^11.0.2 → ^11.0.3
29
+ @types/karma ^6.3.5 → ^6.3.6
30
+ @types/node ^20.8.3 → ^20.8.7
31
+ @types/postcss-css-variables ^0.18.1 → ^0.18.2
32
+ @types/yargs ^17.0.28 → ^17.0.29
33
+ @typescript-eslint/eslint-plugin ^6.7.4 → ^6.8.0
34
+ @typescript-eslint/parser ^6.7.4 → ^6.8.0
35
+ core-js ^3.33.0 → ^3.33.1
36
+ eslint ^8.51.0 → ^8.52.0
37
+ eslint-plugin-prettier ^5.0.0 → ^5.0.1
38
+ lint-staged ^14.0.1 → ^15.0.2
39
+ stylelint ^15.10.3 → ^15.11.0
40
+ webpack 5.88.2 → 5.89.0
41
+ ```
42
+
12
43
  ## 4.0.0-beta.89
13
44
 
14
45
  ### :rocket: New Feature
@@ -2277,11 +2308,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
2277
2308
  - @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
2278
2309
  modeClassName="select")
2279
2310
  - ex: [
2280
- - { value: "", text: "" },
2281
- - { value: "val1", text: "text1" },
2282
- - { value: "val2", text: "text2" },
2283
- - { value: "val3", text: "text3" }
2284
- - ]
2311
+ - { value: "", text: "" },
2312
+ - { value: "val1", text: "text1" },
2313
+ - { value: "val2", text: "text2" },
2314
+ - { value: "val3", text: "text3" }
2315
+ - ]
2285
2316
  PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
2286
2317
 
2287
2318
  ##### New option `statusbar: boolean = true`
package/README.md CHANGED
@@ -40,7 +40,7 @@ You will get the following files:
40
40
 
41
41
  Include the following two files:
42
42
 
43
- ES5 Version:
43
+ #### ES5 Version:
44
44
 
45
45
  ```html
46
46
  <link type="text/css" rel="stylesheet" href="es2015/jodit.min.css" />
@@ -54,7 +54,7 @@ ES2021 Version (for modern browsers only):
54
54
  <script type="text/javascript" src="es2021/jodit.min.js"></script>
55
55
  ```
56
56
 
57
- ESM Modules:
57
+ #### ESM Modules:
58
58
 
59
59
  ```html
60
60
  <script type="importmap">
@@ -74,7 +74,7 @@ ESM Modules:
74
74
  </script>
75
75
  ```
76
76
 
77
- The ESM modules automatically include only the basic set of plugins and the English language.
77
+ The ESM modules automatically include only the [basic set of plugins](https://github.com/xdan/jodit/blob/main/tools/utils/resolve-alias-imports.ts#L59) and the English language.
78
78
  You can manually include additional plugins and languages as needed.
79
79
 
80
80
  ```html
@@ -109,9 +109,9 @@ You can manually include additional plugins and languages as needed.
109
109
  ```html
110
110
  <link
111
111
  rel="stylesheet"
112
- href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.91/es2021/jodit.min.css"
112
+ href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.94/es2021/jodit.min.css"
113
113
  />
114
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.91/es2021/jodit.min.js"></script>
114
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.94/es2021/jodit.min.js"></script>
115
115
  ```
116
116
 
117
117
  #### unpkg
@@ -119,9 +119,9 @@ You can manually include additional plugins and languages as needed.
119
119
  ```html
120
120
  <link
121
121
  rel="stylesheet"
122
- href="https://unpkg.com/jodit@4.0.0-beta.91/es2021/jodit.min.css"
122
+ href="https://unpkg.com/jodit@4.0.0-beta.94/es2021/jodit.min.css"
123
123
  />
124
- <script src="https://unpkg.com/jodit@4.0.0-beta.91/es2021/jodit.min.js"></script>
124
+ <script src="https://unpkg.com/jodit@4.0.0-beta.94/es2021/jodit.min.js"></script>
125
125
  ```
126
126
 
127
127
  ### Usage
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.91
4
+ * Version: v4.0.0-beta.94
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */