jodit 4.18.4 → 4.18.6

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 (194) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/es2015/jodit.css +13 -34
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +11 -11
  5. package/es2015/jodit.js +1029 -205
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +11 -11
  8. package/es2015/plugins/debug/debug.css +1 -1
  9. package/es2015/plugins/debug/debug.js +1 -1
  10. package/es2015/plugins/debug/debug.min.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  12. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  13. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  14. package/es2018/jodit.fat.min.css +1 -1
  15. package/es2018/jodit.fat.min.js +11 -11
  16. package/es2018/jodit.min.css +1 -1
  17. package/es2018/jodit.min.js +11 -11
  18. package/es2018/plugins/debug/debug.min.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  20. package/es2021/jodit.css +13 -34
  21. package/es2021/jodit.fat.min.css +1 -1
  22. package/es2021/jodit.fat.min.js +15 -15
  23. package/es2021/jodit.js +1021 -203
  24. package/es2021/jodit.min.css +1 -1
  25. package/es2021/jodit.min.js +15 -15
  26. package/es2021/plugins/debug/debug.css +1 -1
  27. package/es2021/plugins/debug/debug.js +1 -1
  28. package/es2021/plugins/debug/debug.min.js +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  31. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  32. package/es2021.en/jodit.css +13 -34
  33. package/es2021.en/jodit.fat.min.css +1 -1
  34. package/es2021.en/jodit.fat.min.js +15 -15
  35. package/es2021.en/jodit.js +995 -177
  36. package/es2021.en/jodit.min.css +1 -1
  37. package/es2021.en/jodit.min.js +15 -15
  38. package/es2021.en/plugins/debug/debug.css +1 -1
  39. package/es2021.en/plugins/debug/debug.js +1 -1
  40. package/es2021.en/plugins/debug/debug.min.js +1 -1
  41. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  42. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  43. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  44. package/es5/jodit.css +14 -41
  45. package/es5/jodit.fat.min.css +1 -1
  46. package/es5/jodit.fat.min.js +2 -2
  47. package/es5/jodit.js +1152 -254
  48. package/es5/jodit.min.css +3 -3
  49. package/es5/jodit.min.js +2 -2
  50. package/es5/plugins/debug/debug.css +1 -1
  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/es5/polyfills.fat.min.js +1 -1
  57. package/es5/polyfills.js +1 -1
  58. package/es5/polyfills.min.js +1 -1
  59. package/esm/config.d.ts +3 -0
  60. package/esm/core/constants.js +1 -1
  61. package/esm/core/helpers/html/apply-styles.js +3 -0
  62. package/esm/core/helpers/html/clean-from-word.js +3 -0
  63. package/esm/core/helpers/html/strip-tags.js +24 -6
  64. package/esm/core/helpers/html/word-lists.d.ts +29 -0
  65. package/esm/core/helpers/html/word-lists.js +158 -0
  66. package/esm/core/selection/helpers/index.d.ts +1 -0
  67. package/esm/core/selection/helpers/index.js +1 -0
  68. package/esm/core/selection/helpers/is-moved.d.ts +15 -0
  69. package/esm/core/selection/helpers/is-moved.js +22 -0
  70. package/esm/core/selection/style/api/list/toggle-ordered-list.js +40 -3
  71. package/esm/core/selection/style/transactions.js +5 -2
  72. package/esm/langs/ar.d.ts +3 -0
  73. package/esm/langs/ar.js +4 -1
  74. package/esm/langs/az.d.ts +3 -0
  75. package/esm/langs/az.js +4 -1
  76. package/esm/langs/cs_cz.d.ts +3 -0
  77. package/esm/langs/cs_cz.js +4 -1
  78. package/esm/langs/de.d.ts +3 -0
  79. package/esm/langs/de.js +4 -1
  80. package/esm/langs/es.d.ts +3 -0
  81. package/esm/langs/es.js +4 -1
  82. package/esm/langs/fa.d.ts +3 -0
  83. package/esm/langs/fa.js +4 -1
  84. package/esm/langs/fi.d.ts +3 -0
  85. package/esm/langs/fi.js +4 -1
  86. package/esm/langs/fr.d.ts +3 -0
  87. package/esm/langs/fr.js +4 -1
  88. package/esm/langs/he.d.ts +3 -0
  89. package/esm/langs/he.js +4 -1
  90. package/esm/langs/hu.d.ts +3 -0
  91. package/esm/langs/hu.js +4 -1
  92. package/esm/langs/id.d.ts +3 -0
  93. package/esm/langs/id.js +4 -1
  94. package/esm/langs/it.d.ts +3 -0
  95. package/esm/langs/it.js +4 -1
  96. package/esm/langs/ja.d.ts +3 -0
  97. package/esm/langs/ja.js +4 -1
  98. package/esm/langs/ko.d.ts +3 -0
  99. package/esm/langs/ko.js +4 -1
  100. package/esm/langs/mn.d.ts +3 -0
  101. package/esm/langs/mn.js +4 -1
  102. package/esm/langs/nl.d.ts +3 -0
  103. package/esm/langs/nl.js +4 -1
  104. package/esm/langs/no.d.ts +3 -0
  105. package/esm/langs/no.js +4 -1
  106. package/esm/langs/pl.d.ts +3 -0
  107. package/esm/langs/pl.js +4 -1
  108. package/esm/langs/pt_br.d.ts +3 -0
  109. package/esm/langs/pt_br.js +4 -1
  110. package/esm/langs/ru.d.ts +3 -0
  111. package/esm/langs/ru.js +4 -1
  112. package/esm/langs/sk.d.ts +3 -0
  113. package/esm/langs/sk.js +4 -1
  114. package/esm/langs/sv.d.ts +3 -0
  115. package/esm/langs/sv.js +4 -1
  116. package/esm/langs/tr.d.ts +3 -0
  117. package/esm/langs/tr.js +4 -1
  118. package/esm/langs/ua.d.ts +3 -0
  119. package/esm/langs/ua.js +4 -1
  120. package/esm/langs/zh_cn.d.ts +3 -0
  121. package/esm/langs/zh_cn.js +4 -1
  122. package/esm/langs/zh_tw.d.ts +3 -0
  123. package/esm/langs/zh_tw.js +4 -1
  124. package/esm/modules/dialog/dialog.d.ts +7 -0
  125. package/esm/modules/dialog/dialog.js +24 -6
  126. package/esm/modules/table/table.d.ts +6 -0
  127. package/esm/modules/table/table.js +18 -26
  128. package/esm/plugins/backspace/cases/check-join-neighbors.js +90 -3
  129. package/esm/plugins/clean-html/clean-html.d.ts +8 -0
  130. package/esm/plugins/clean-html/clean-html.js +21 -1
  131. package/esm/plugins/clean-html/helpers/index.d.ts +1 -0
  132. package/esm/plugins/clean-html/helpers/index.js +1 -0
  133. package/esm/plugins/clean-html/helpers/remove-placeholder-br.d.ts +16 -0
  134. package/esm/plugins/clean-html/helpers/remove-placeholder-br.js +51 -0
  135. package/esm/plugins/delete/delete.d.ts +11 -1
  136. package/esm/plugins/delete/delete.js +92 -16
  137. package/esm/plugins/focus/focus.js +12 -1
  138. package/esm/plugins/iframe/config.d.ts +3 -0
  139. package/esm/plugins/iframe/config.js +0 -27
  140. package/esm/plugins/iframe/iframe.js +8 -1
  141. package/esm/plugins/image-processor/image-processor.js +6 -1
  142. package/esm/plugins/inline-popup/inline-popup.d.ts +19 -0
  143. package/esm/plugins/inline-popup/inline-popup.js +70 -1
  144. package/esm/plugins/ordered-list/config.js +13 -2
  145. package/esm/plugins/ordered-list/start-dialog.d.ts +19 -0
  146. package/esm/plugins/ordered-list/start-dialog.js +58 -0
  147. package/esm/plugins/placeholder/placeholder.js +7 -1
  148. package/esm/plugins/resizer/resizer.d.ts +10 -0
  149. package/esm/plugins/resizer/resizer.js +76 -2
  150. package/esm/plugins/select-cells/select-cells.d.ts +23 -0
  151. package/esm/plugins/select-cells/select-cells.js +75 -1
  152. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +3 -2
  153. package/package.json +1 -1
  154. package/types/config.d.ts +3 -0
  155. package/types/core/helpers/html/word-lists.d.ts +29 -0
  156. package/types/core/selection/helpers/index.d.ts +1 -0
  157. package/types/core/selection/helpers/is-moved.d.ts +15 -0
  158. package/types/langs/ar.d.ts +3 -0
  159. package/types/langs/az.d.ts +3 -0
  160. package/types/langs/cs_cz.d.ts +3 -0
  161. package/types/langs/de.d.ts +3 -0
  162. package/types/langs/es.d.ts +3 -0
  163. package/types/langs/fa.d.ts +3 -0
  164. package/types/langs/fi.d.ts +3 -0
  165. package/types/langs/fr.d.ts +3 -0
  166. package/types/langs/he.d.ts +3 -0
  167. package/types/langs/hu.d.ts +3 -0
  168. package/types/langs/id.d.ts +3 -0
  169. package/types/langs/it.d.ts +3 -0
  170. package/types/langs/ja.d.ts +3 -0
  171. package/types/langs/ko.d.ts +3 -0
  172. package/types/langs/mn.d.ts +3 -0
  173. package/types/langs/nl.d.ts +3 -0
  174. package/types/langs/no.d.ts +3 -0
  175. package/types/langs/pl.d.ts +3 -0
  176. package/types/langs/pt_br.d.ts +3 -0
  177. package/types/langs/ru.d.ts +3 -0
  178. package/types/langs/sk.d.ts +3 -0
  179. package/types/langs/sv.d.ts +3 -0
  180. package/types/langs/tr.d.ts +3 -0
  181. package/types/langs/ua.d.ts +3 -0
  182. package/types/langs/zh_cn.d.ts +3 -0
  183. package/types/langs/zh_tw.d.ts +3 -0
  184. package/types/modules/dialog/dialog.d.ts +7 -0
  185. package/types/modules/table/table.d.ts +6 -0
  186. package/types/plugins/clean-html/clean-html.d.ts +8 -0
  187. package/types/plugins/clean-html/helpers/index.d.ts +1 -0
  188. package/types/plugins/clean-html/helpers/remove-placeholder-br.d.ts +16 -0
  189. package/types/plugins/delete/delete.d.ts +11 -1
  190. package/types/plugins/iframe/config.d.ts +3 -0
  191. package/types/plugins/inline-popup/inline-popup.d.ts +19 -0
  192. package/types/plugins/ordered-list/start-dialog.d.ts +19 -0
  193. package/types/plugins/resizer/resizer.d.ts +10 -0
  194. package/types/plugins/select-cells/select-cells.d.ts +23 -0
@@ -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.18.4
4
+ * Version: v4.18.6
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.18.4
4
+ * Version: v4.18.6
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.18.4
4
+ * Version: v4.18.6
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.18.4
4
+ * Version: v4.18.6
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.18.4
4
+ * Version: v4.18.6
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.18.4
4
+ * Version: v4.18.6
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
package/es5/jodit.css CHANGED
@@ -1,14 +1,14 @@
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.18.4
4
+ * Version: v4.18.6
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.18.4
11
+ * Version: v4.18.6
12
12
  * Url: https://xdsoft.net/jodit/
13
13
  * License(s): MIT
14
14
  */
@@ -3269,6 +3269,7 @@ a + .jodit-file-browser-tree__source-title {
3269
3269
  -ms-flex-pack: center;
3270
3270
  justify-content: center;
3271
3271
  border-radius: 0 3px 3px 0;
3272
+ color: #4c4c4c;
3272
3273
  opacity: 0.4;
3273
3274
  cursor: pointer;
3274
3275
  width: calc(14px + 2px);
@@ -4103,6 +4104,7 @@ a + .jodit-file-browser-tree__source-title {
4103
4104
  -ms-flex-pack: center;
4104
4105
  justify-content: center;
4105
4106
  border-radius: 0 3px 3px 0;
4107
+ color: #4c4c4c;
4106
4108
  opacity: 0.4;
4107
4109
  cursor: pointer;
4108
4110
  width: calc(14px + 2px);
@@ -4880,19 +4882,6 @@ html.jodit_fullsize-box_true {
4880
4882
  height: 100%;
4881
4883
  }
4882
4884
 
4883
- /*!
4884
- * Jodit Editor (https://xdsoft.net/jodit/)
4885
- * Released under MIT see LICENSE.txt in the project root for license information.
4886
- * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
4887
- */
4888
- .jodit-wysiwyg.jodit-wysiwyg_image-selected::-moz-selection, .jodit-wysiwyg.jodit-wysiwyg_image-selected *:not(img)::-moz-selection {
4889
- background: transparent;
4890
- }
4891
- .jodit-wysiwyg.jodit-wysiwyg_image-selected::selection,
4892
- .jodit-wysiwyg.jodit-wysiwyg_image-selected *:not(img)::selection {
4893
- background: transparent;
4894
- }
4895
-
4896
4885
  /*!
4897
4886
  * Jodit Editor (https://xdsoft.net/jodit/)
4898
4887
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -5102,6 +5091,16 @@ html.jodit_fullsize-box_true {
5102
5091
  min-width: 700px;
5103
5092
  }
5104
5093
 
5094
+ /*!
5095
+ * Jodit Editor (https://xdsoft.net/jodit/)
5096
+ * Released under MIT see LICENSE.txt in the project root for license information.
5097
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
5098
+ */
5099
+ .jodit-popup .jodit-toolbar-button_start {
5100
+ border-top: 1px solid #6b6b6b;
5101
+ margin-top: calc(8px / 2);
5102
+ }
5103
+
5105
5104
  /*!
5106
5105
  * Jodit Editor (https://xdsoft.net/jodit/)
5107
5106
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -5253,32 +5252,6 @@ html.jodit_fullsize-box_true {
5253
5252
  * Released under MIT see LICENSE.txt in the project root for license information.
5254
5253
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
5255
5254
  */
5256
- [data-jodit_iframe_wrapper] {
5257
- position: relative;
5258
- display: block;
5259
- -webkit-user-select: none;
5260
- -moz-user-select: none;
5261
- -ms-user-select: none;
5262
- user-select: none;
5263
- }
5264
- [data-jodit_iframe_wrapper] iframe {
5265
- position: relative;
5266
- }
5267
- [data-jodit_iframe_wrapper]::after {
5268
- position: absolute;
5269
- z-index: 1;
5270
- display: block;
5271
- background: rgba(0, 0, 0, 0);
5272
- content: '';
5273
- cursor: pointer;
5274
- inset: 0;
5275
- }
5276
- [data-jodit_iframe_wrapper][data-jodit-wrapper_active='true'] iframe {
5277
- z-index: 2;
5278
- }
5279
- .jodit_lock [data-jodit-wrapper_active='true'] iframe {
5280
- z-index: 1;
5281
- }
5282
5255
  .jodit-resizer-layer {
5283
5256
  position: absolute;
5284
5257
  overflow: hidden;