jodit-pro 4.6.14 → 4.6.16

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 (292) hide show
  1. package/es2015/jodit.css +1 -1
  2. package/es2015/jodit.fat.min.js +2 -2
  3. package/es2015/jodit.js +155 -22
  4. package/es2015/jodit.min.js +2 -2
  5. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  6. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  7. package/es2015/plugins/backup/backup.css +1 -1
  8. package/es2015/plugins/backup/backup.js +1 -1
  9. package/es2015/plugins/backup/backup.min.js +1 -1
  10. package/es2015/plugins/button-generator/button-generator.css +1 -1
  11. package/es2015/plugins/button-generator/button-generator.js +1 -1
  12. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  13. package/es2015/plugins/change-case/change-case.js +1 -1
  14. package/es2015/plugins/change-case/change-case.min.js +1 -1
  15. package/es2015/plugins/color-picker/color-picker.css +1 -1
  16. package/es2015/plugins/color-picker/color-picker.js +1 -1
  17. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  18. package/es2015/plugins/emoji/emoji.css +1 -1
  19. package/es2015/plugins/emoji/emoji.js +1 -1
  20. package/es2015/plugins/emoji/emoji.min.js +1 -1
  21. package/es2015/plugins/export-docs/export-docs.js +1 -1
  22. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  23. package/es2015/plugins/finder/finder.css +1 -1
  24. package/es2015/plugins/finder/finder.js +1 -1
  25. package/es2015/plugins/finder/finder.min.js +1 -1
  26. package/es2015/plugins/google-maps/google-maps.css +1 -1
  27. package/es2015/plugins/google-maps/google-maps.js +1 -1
  28. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  29. package/es2015/plugins/google-search/google-search.js +1 -1
  30. package/es2015/plugins/google-search/google-search.min.js +1 -1
  31. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  32. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  33. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  34. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  35. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  36. package/es2015/plugins/keyboard/keyboard.css +1 -1
  37. package/es2015/plugins/keyboard/keyboard.js +1 -1
  38. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  39. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  40. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  41. package/es2015/plugins/page-break/page-break.js +1 -1
  42. package/es2015/plugins/page-break/page-break.min.js +1 -1
  43. package/es2015/plugins/paste-code/paste-code.css +1 -1
  44. package/es2015/plugins/paste-code/paste-code.js +1 -1
  45. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  46. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  47. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  48. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  49. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  50. package/es2015/plugins/todo-list/todo-list.css +1 -1
  51. package/es2015/plugins/todo-list/todo-list.js +1 -1
  52. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  53. package/es2015/plugins/translate/translate.css +1 -1
  54. package/es2015/plugins/translate/translate.js +1 -1
  55. package/es2015/plugins/translate/translate.min.js +1 -1
  56. package/es2015/plugins/tune-block/tune-block.css +1 -1
  57. package/es2015/plugins/tune-block/tune-block.js +1 -1
  58. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  59. package/es2018/jodit.css +1 -1
  60. package/es2018/jodit.fat.min.js +2 -2
  61. package/es2018/jodit.js +155 -22
  62. package/es2018/jodit.min.js +2 -2
  63. package/es2018/plugins/autocomplete/autocomplete.js +1 -1
  64. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  65. package/es2018/plugins/backup/backup.css +1 -1
  66. package/es2018/plugins/backup/backup.js +1 -1
  67. package/es2018/plugins/backup/backup.min.js +1 -1
  68. package/es2018/plugins/button-generator/button-generator.css +1 -1
  69. package/es2018/plugins/button-generator/button-generator.js +1 -1
  70. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  71. package/es2018/plugins/change-case/change-case.js +1 -1
  72. package/es2018/plugins/change-case/change-case.min.js +1 -1
  73. package/es2018/plugins/color-picker/color-picker.css +1 -1
  74. package/es2018/plugins/color-picker/color-picker.js +1 -1
  75. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  76. package/es2018/plugins/emoji/emoji.css +1 -1
  77. package/es2018/plugins/emoji/emoji.js +1 -1
  78. package/es2018/plugins/emoji/emoji.min.js +1 -1
  79. package/es2018/plugins/export-docs/export-docs.js +1 -1
  80. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  81. package/es2018/plugins/finder/finder.css +1 -1
  82. package/es2018/plugins/finder/finder.js +1 -1
  83. package/es2018/plugins/finder/finder.min.js +1 -1
  84. package/es2018/plugins/google-maps/google-maps.css +1 -1
  85. package/es2018/plugins/google-maps/google-maps.js +1 -1
  86. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  87. package/es2018/plugins/google-search/google-search.js +1 -1
  88. package/es2018/plugins/google-search/google-search.min.js +1 -1
  89. package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
  90. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  91. package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
  92. package/es2018/plugins/iframe-editor/iframe-editor.js +1 -1
  93. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  94. package/es2018/plugins/keyboard/keyboard.css +1 -1
  95. package/es2018/plugins/keyboard/keyboard.js +1 -1
  96. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  97. package/es2018/plugins/mobile-view/mobile-view.js +1 -1
  98. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  99. package/es2018/plugins/page-break/page-break.js +1 -1
  100. package/es2018/plugins/page-break/page-break.min.js +1 -1
  101. package/es2018/plugins/paste-code/paste-code.css +1 -1
  102. package/es2018/plugins/paste-code/paste-code.js +1 -1
  103. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  104. package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
  105. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  106. package/es2018/plugins/show-blocks/show-blocks.js +1 -1
  107. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  108. package/es2018/plugins/todo-list/todo-list.css +1 -1
  109. package/es2018/plugins/todo-list/todo-list.js +1 -1
  110. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  111. package/es2018/plugins/translate/translate.css +1 -1
  112. package/es2018/plugins/translate/translate.js +1 -1
  113. package/es2018/plugins/translate/translate.min.js +1 -1
  114. package/es2018/plugins/tune-block/tune-block.css +1 -1
  115. package/es2018/plugins/tune-block/tune-block.js +1 -1
  116. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  117. package/es2021/jodit.css +1 -1
  118. package/es2021/jodit.fat.min.js +2 -2
  119. package/es2021/jodit.js +155 -22
  120. package/es2021/jodit.min.js +2 -2
  121. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  122. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  123. package/es2021/plugins/backup/backup.css +1 -1
  124. package/es2021/plugins/backup/backup.js +1 -1
  125. package/es2021/plugins/backup/backup.min.js +1 -1
  126. package/es2021/plugins/button-generator/button-generator.css +1 -1
  127. package/es2021/plugins/button-generator/button-generator.js +1 -1
  128. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  129. package/es2021/plugins/change-case/change-case.js +1 -1
  130. package/es2021/plugins/change-case/change-case.min.js +1 -1
  131. package/es2021/plugins/color-picker/color-picker.css +1 -1
  132. package/es2021/plugins/color-picker/color-picker.js +1 -1
  133. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  134. package/es2021/plugins/emoji/emoji.css +1 -1
  135. package/es2021/plugins/emoji/emoji.js +1 -1
  136. package/es2021/plugins/emoji/emoji.min.js +1 -1
  137. package/es2021/plugins/export-docs/export-docs.js +1 -1
  138. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  139. package/es2021/plugins/finder/finder.css +1 -1
  140. package/es2021/plugins/finder/finder.js +1 -1
  141. package/es2021/plugins/finder/finder.min.js +1 -1
  142. package/es2021/plugins/google-maps/google-maps.css +1 -1
  143. package/es2021/plugins/google-maps/google-maps.js +1 -1
  144. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  145. package/es2021/plugins/google-search/google-search.js +1 -1
  146. package/es2021/plugins/google-search/google-search.min.js +1 -1
  147. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  148. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  149. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  150. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  151. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  152. package/es2021/plugins/keyboard/keyboard.css +1 -1
  153. package/es2021/plugins/keyboard/keyboard.js +1 -1
  154. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  155. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  156. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  157. package/es2021/plugins/page-break/page-break.js +1 -1
  158. package/es2021/plugins/page-break/page-break.min.js +1 -1
  159. package/es2021/plugins/paste-code/paste-code.css +1 -1
  160. package/es2021/plugins/paste-code/paste-code.js +1 -1
  161. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  162. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  163. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  164. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  165. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  166. package/es2021/plugins/todo-list/todo-list.css +1 -1
  167. package/es2021/plugins/todo-list/todo-list.js +1 -1
  168. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  169. package/es2021/plugins/translate/translate.css +1 -1
  170. package/es2021/plugins/translate/translate.js +1 -1
  171. package/es2021/plugins/translate/translate.min.js +1 -1
  172. package/es2021/plugins/tune-block/tune-block.css +1 -1
  173. package/es2021/plugins/tune-block/tune-block.js +1 -1
  174. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  175. package/es2021.en/jodit.css +1 -1
  176. package/es2021.en/jodit.fat.min.js +2 -2
  177. package/es2021.en/jodit.js +155 -22
  178. package/es2021.en/jodit.min.js +2 -2
  179. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  180. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  181. package/es2021.en/plugins/backup/backup.css +1 -1
  182. package/es2021.en/plugins/backup/backup.js +1 -1
  183. package/es2021.en/plugins/backup/backup.min.js +1 -1
  184. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  185. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  186. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  187. package/es2021.en/plugins/change-case/change-case.js +1 -1
  188. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  189. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  190. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  191. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  192. package/es2021.en/plugins/emoji/emoji.css +1 -1
  193. package/es2021.en/plugins/emoji/emoji.js +1 -1
  194. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  195. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  196. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  197. package/es2021.en/plugins/finder/finder.css +1 -1
  198. package/es2021.en/plugins/finder/finder.js +1 -1
  199. package/es2021.en/plugins/finder/finder.min.js +1 -1
  200. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  201. package/es2021.en/plugins/google-maps/google-maps.js +1 -1
  202. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  203. package/es2021.en/plugins/google-search/google-search.js +1 -1
  204. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  205. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  206. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  207. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  208. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  209. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  210. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  211. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  212. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  213. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  214. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  215. package/es2021.en/plugins/page-break/page-break.js +1 -1
  216. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  217. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  218. package/es2021.en/plugins/paste-code/paste-code.js +1 -1
  219. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  220. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  221. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  222. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  223. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  224. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  225. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  226. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  227. package/es2021.en/plugins/translate/translate.css +1 -1
  228. package/es2021.en/plugins/translate/translate.js +1 -1
  229. package/es2021.en/plugins/translate/translate.min.js +1 -1
  230. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  231. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  232. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  233. package/es5/jodit.css +2 -2
  234. package/es5/jodit.fat.min.js +2 -2
  235. package/es5/jodit.js +163 -24
  236. package/es5/jodit.min.css +2 -2
  237. package/es5/jodit.min.js +2 -2
  238. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  239. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  240. package/es5/plugins/backup/backup.css +1 -1
  241. package/es5/plugins/backup/backup.js +1 -1
  242. package/es5/plugins/backup/backup.min.js +1 -1
  243. package/es5/plugins/button-generator/button-generator.css +1 -1
  244. package/es5/plugins/button-generator/button-generator.js +1 -1
  245. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  246. package/es5/plugins/change-case/change-case.js +1 -1
  247. package/es5/plugins/change-case/change-case.min.js +1 -1
  248. package/es5/plugins/color-picker/color-picker.css +1 -1
  249. package/es5/plugins/color-picker/color-picker.js +1 -1
  250. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  251. package/es5/plugins/emoji/emoji.css +1 -1
  252. package/es5/plugins/emoji/emoji.js +1 -1
  253. package/es5/plugins/emoji/emoji.min.js +1 -1
  254. package/es5/plugins/export-docs/export-docs.js +1 -1
  255. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  256. package/es5/plugins/finder/finder.css +1 -1
  257. package/es5/plugins/finder/finder.js +1 -1
  258. package/es5/plugins/finder/finder.min.js +1 -1
  259. package/es5/plugins/google-maps/google-maps.css +1 -1
  260. package/es5/plugins/google-maps/google-maps.js +1 -1
  261. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  262. package/es5/plugins/google-search/google-search.js +1 -1
  263. package/es5/plugins/google-search/google-search.min.js +1 -1
  264. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  265. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  266. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  267. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  268. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  269. package/es5/plugins/keyboard/keyboard.css +1 -1
  270. package/es5/plugins/keyboard/keyboard.js +1 -1
  271. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  272. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  273. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  274. package/es5/plugins/page-break/page-break.js +1 -1
  275. package/es5/plugins/page-break/page-break.min.js +1 -1
  276. package/es5/plugins/paste-code/paste-code.css +1 -1
  277. package/es5/plugins/paste-code/paste-code.js +1 -1
  278. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  279. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  280. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  281. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  282. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  283. package/es5/plugins/todo-list/todo-list.css +1 -1
  284. package/es5/plugins/todo-list/todo-list.js +1 -1
  285. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  286. package/es5/plugins/translate/translate.css +1 -1
  287. package/es5/plugins/translate/translate.js +1 -1
  288. package/es5/plugins/translate/translate.min.js +1 -1
  289. package/es5/plugins/tune-block/tune-block.css +1 -1
  290. package/es5/plugins/tune-block/tune-block.js +1 -1
  291. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  292. package/package.json +1 -1
package/es5/jodit.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.6.14
4
+ * Version: v4.6.16
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -17619,6 +17619,7 @@ __webpack_require__.r(__webpack_exports__);
17619
17619
  /* harmony export */ alreadyLoadedList: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.EW; },
17620
17620
  /* harmony export */ appendScriptAsync: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.w4; },
17621
17621
  /* harmony export */ appendStyleAsync: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.S5; },
17622
+ /* harmony export */ applyArrayReconciliation: function() { return /* reexport safe */ _array_index_js__WEBPACK_IMPORTED_MODULE_0__.ft; },
17622
17623
  /* harmony export */ applyStyles: function() { return /* reexport safe */ _html_index_js__WEBPACK_IMPORTED_MODULE_4__.ZM; },
17623
17624
  /* harmony export */ asArray: function() { return /* reexport safe */ _array_index_js__WEBPACK_IMPORTED_MODULE_0__._j; },
17624
17625
  /* harmony export */ assert: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.vA; },
@@ -17713,6 +17714,7 @@ __webpack_require__.r(__webpack_exports__);
17713
17714
  /* harmony export */ parseQuery: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.Vc; },
17714
17715
  /* harmony export */ position: function() { return /* reexport safe */ _size_index_js__WEBPACK_IMPORTED_MODULE_6__.G1; },
17715
17716
  /* harmony export */ previewBox: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.u_; },
17717
+ /* harmony export */ reconcileArrays: function() { return /* reexport safe */ _array_index_js__WEBPACK_IMPORTED_MODULE_0__.j5; },
17716
17718
  /* harmony export */ refs: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.DY; },
17717
17719
  /* harmony export */ reset: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.cL; },
17718
17720
  /* harmony export */ resolveElement: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.tI; },
@@ -30437,6 +30439,127 @@ function uniqueMax(array) {
30437
30439
  }
30438
30440
 
30439
30441
 
30442
+ /***/ }),
30443
+
30444
+ /***/ 39942:
30445
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
30446
+
30447
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
30448
+ /* harmony export */ f: function() { return /* binding */ applyArrayReconciliation; },
30449
+ /* harmony export */ j: function() { return /* binding */ reconcileArrays; }
30450
+ /* harmony export */ });
30451
+ /*!
30452
+ * Jodit Editor (https://xdsoft.net/jodit/)
30453
+ * Released under MIT see LICENSE.txt in the project root for license information.
30454
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
30455
+ */ /**
30456
+ * Reconciles two arrays and returns the differences
30457
+ * @param oldArray - The original array
30458
+ * @param newArray - The new array to compare against
30459
+ * @param keyFn - Optional function to generate unique keys for items (for object comparison)
30460
+ * @returns Object containing added, removed, kept and moved items
30461
+ *
30462
+ * @example
30463
+ * ```typescript
30464
+ * const old = [1, 2, 3, 4];
30465
+ * const new = [2, 4, 5, 1];
30466
+ * const result = reconcileArrays(old, new);
30467
+ * // result.added = [5]
30468
+ * // result.removed = [3]
30469
+ * // result.kept = [2, 4, 1]
30470
+ * // result.moved = [{item: 1, from: 0, to: 3}]
30471
+ * ```
30472
+ *
30473
+ * @example
30474
+ * ```typescript
30475
+ * const old = [{id: 1, name: 'a'}, {id: 2, name: 'b'}];
30476
+ * const new = [{id: 2, name: 'b'}, {id: 3, name: 'c'}];
30477
+ * const result = reconcileArrays(old, new, item => item.id);
30478
+ * // result.added = [{id: 3, name: 'c'}]
30479
+ * // result.removed = [{id: 1, name: 'a'}]
30480
+ * ```
30481
+ */ function reconcileArrays(oldArray, newArray, keyFn) {
30482
+ var getKey = keyFn || function(item) {
30483
+ return item;
30484
+ };
30485
+ var oldMap = new Map();
30486
+ var newMap = new Map();
30487
+ oldArray.forEach(function(item, index) {
30488
+ oldMap.set(getKey(item), {
30489
+ item: item,
30490
+ index: index
30491
+ });
30492
+ });
30493
+ newArray.forEach(function(item, index) {
30494
+ newMap.set(getKey(item), {
30495
+ item: item,
30496
+ index: index
30497
+ });
30498
+ });
30499
+ var added = [];
30500
+ var removed = [];
30501
+ var kept = [];
30502
+ var moved = [];
30503
+ // Find removed items
30504
+ oldMap.forEach(function(value, key) {
30505
+ if (!newMap.has(key)) {
30506
+ removed.push(value.item);
30507
+ }
30508
+ });
30509
+ // Find added items and track kept/moved items
30510
+ newMap.forEach(function(value, key) {
30511
+ var oldItem = oldMap.get(key);
30512
+ if (!oldItem) {
30513
+ added.push(value.item);
30514
+ } else {
30515
+ kept.push(value.item);
30516
+ if (oldItem.index !== value.index) {
30517
+ moved.push({
30518
+ item: value.item,
30519
+ from: oldItem.index,
30520
+ to: value.index
30521
+ });
30522
+ }
30523
+ }
30524
+ });
30525
+ return {
30526
+ added: added,
30527
+ removed: removed,
30528
+ kept: kept,
30529
+ moved: moved
30530
+ };
30531
+ }
30532
+ /**
30533
+ * Applies reconciliation patches to transform one array into another
30534
+ * @param oldArray - The original array to transform
30535
+ * @param newArray - The target array structure
30536
+ * @param keyFn - Optional function to generate unique keys for items
30537
+ * @returns New array matching the structure of newArray
30538
+ */ function applyArrayReconciliation(oldArray, newArray, keyFn) {
30539
+ var result = reconcileArrays(oldArray, newArray, keyFn);
30540
+ var output = [];
30541
+ // Build the new array based on newArray order
30542
+ newArray.forEach(function(item) {
30543
+ var key = keyFn ? keyFn(item) : item;
30544
+ var isNew = result.added.some(function(addedItem) {
30545
+ return (keyFn ? keyFn(addedItem) : addedItem) === key;
30546
+ });
30547
+ if (isNew) {
30548
+ output.push(item);
30549
+ } else {
30550
+ // Use the old item reference if it exists
30551
+ var oldItem = oldArray.find(function(oldItem) {
30552
+ return (keyFn ? keyFn(oldItem) : oldItem) === key;
30553
+ });
30554
+ if (oldItem !== undefined) {
30555
+ output.push(oldItem);
30556
+ }
30557
+ }
30558
+ });
30559
+ return output;
30560
+ }
30561
+
30562
+
30440
30563
  /***/ }),
30441
30564
 
30442
30565
  /***/ 39955:
@@ -44850,8 +44973,7 @@ __webpack_require__.r(__webpack_exports__);
44850
44973
  /* harmony import */ var _decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
44851
44974
  /* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2748);
44852
44975
  /* harmony import */ var _helpers_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21537);
44853
- /* harmony import */ var _helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(38837);
44854
- /* harmony import */ var _element_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(48538);
44976
+ /* harmony import */ var _element_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48538);
44855
44977
  /*!
44856
44978
  * Jodit Editor (https://xdsoft.net/jodit/)
44857
44979
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -44989,7 +45111,6 @@ var UIGroup_1;
44989
45111
 
44990
45112
 
44991
45113
 
44992
-
44993
45114
  var UIGroup = UIGroup_1 = /*#__PURE__*/ function(UIElement) {
44994
45115
  "use strict";
44995
45116
  _inherits(UIGroup, UIElement);
@@ -45055,27 +45176,37 @@ var UIGroup = UIGroup_1 = /*#__PURE__*/ function(UIElement) {
45055
45176
  }
45056
45177
  },
45057
45178
  {
45058
- /**
45059
- * Append new element into group
45060
- */ key: "append",
45061
- value: function append(elm, distElement) {
45179
+ key: "append",
45180
+ value: function append(elms, distElementOrIndex) {
45062
45181
  var _this = this;
45063
- if ((0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isArray)(elm)) {
45064
- elm.forEach(function(item) {
45065
- return _this.append(item, distElement);
45182
+ if ((0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isArray)(elms)) {
45183
+ if (typeof distElementOrIndex === 'number') {
45184
+ throw new Error('You can not use index when append array of elements');
45185
+ }
45186
+ elms.forEach(function(item) {
45187
+ return _this.append(item, distElementOrIndex);
45066
45188
  });
45067
45189
  return this;
45068
45190
  }
45069
- this.elements.push(elm);
45191
+ var elm = elms;
45192
+ var index = undefined;
45193
+ if (typeof distElementOrIndex === 'number') {
45194
+ index = Math.min(Math.max(0, distElementOrIndex), this.elements.length);
45195
+ this.elements.splice(index, 0, elm);
45196
+ } else {
45197
+ this.elements.push(elm);
45198
+ }
45070
45199
  if (elm.name) {
45071
45200
  elm.container.classList.add(this.getFullElName(elm.name));
45072
45201
  }
45073
- if (distElement) {
45074
- var distElm = this.getElm(distElement);
45075
- (0,_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_4__/* .assert */ .v)(distElm != null, 'Element does not exist');
45202
+ if (distElementOrIndex && typeof distElementOrIndex === 'string') {
45203
+ var distElm = this.getElm(distElementOrIndex);
45204
+ if (distElm == null) {
45205
+ throw new Error('Element does not exist');
45206
+ }
45076
45207
  distElm.appendChild(elm.container);
45077
45208
  } else {
45078
- this.appendChildToContainer(elm.container);
45209
+ this.appendChildToContainer(elm.container, index);
45079
45210
  }
45080
45211
  elm.parentElement = this;
45081
45212
  return this;
@@ -45095,8 +45226,12 @@ var UIGroup = UIGroup_1 = /*#__PURE__*/ function(UIElement) {
45095
45226
  /**
45096
45227
  * Allow set another container for the box of all children
45097
45228
  */ key: "appendChildToContainer",
45098
- value: function appendChildToContainer(childContainer) {
45099
- this.container.appendChild(childContainer);
45229
+ value: function appendChildToContainer(childContainer, index) {
45230
+ if (index === undefined || index < 0 || index > this.elements.length - 1 || this.container.children[index] == null) {
45231
+ this.container.appendChild(childContainer);
45232
+ } else {
45233
+ this.container.insertBefore(childContainer, this.container.children[index]);
45234
+ }
45100
45235
  }
45101
45236
  },
45102
45237
  {
@@ -45134,7 +45269,7 @@ var UIGroup = UIGroup_1 = /*#__PURE__*/ function(UIElement) {
45134
45269
  }
45135
45270
  ]);
45136
45271
  return UIGroup;
45137
- }(_element_js__WEBPACK_IMPORTED_MODULE_5__/* .UIElement */ .D);
45272
+ }(_element_js__WEBPACK_IMPORTED_MODULE_4__/* .UIElement */ .D);
45138
45273
  __decorate([
45139
45274
  (0,_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)('buttonSize')
45140
45275
  ], UIGroup.prototype, "update", null);
@@ -53812,13 +53947,16 @@ __webpack_require__.r(__webpack_exports__);
53812
53947
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
53813
53948
 
53814
53949
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
53815
- /* harmony export */ $r: function() { return /* reexport safe */ _to_array_js__WEBPACK_IMPORTED_MODULE_2__.$; },
53950
+ /* harmony export */ $r: function() { return /* reexport safe */ _to_array_js__WEBPACK_IMPORTED_MODULE_3__.$; },
53816
53951
  /* harmony export */ _j: function() { return /* reexport safe */ _as_array_js__WEBPACK_IMPORTED_MODULE_0__._; },
53817
- /* harmony export */ uM: function() { return /* reexport safe */ _split_array_js__WEBPACK_IMPORTED_MODULE_1__.u; }
53952
+ /* harmony export */ ft: function() { return /* reexport safe */ _reconcile_arrays_js__WEBPACK_IMPORTED_MODULE_1__.f; },
53953
+ /* harmony export */ j5: function() { return /* reexport safe */ _reconcile_arrays_js__WEBPACK_IMPORTED_MODULE_1__.j; },
53954
+ /* harmony export */ uM: function() { return /* reexport safe */ _split_array_js__WEBPACK_IMPORTED_MODULE_2__.u; }
53818
53955
  /* harmony export */ });
53819
53956
  /* harmony import */ var _as_array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29999);
53820
- /* harmony import */ var _split_array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(46559);
53821
- /* harmony import */ var _to_array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4510);
53957
+ /* harmony import */ var _reconcile_arrays_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39942);
53958
+ /* harmony import */ var _split_array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(46559);
53959
+ /* harmony import */ var _to_array_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4510);
53822
53960
  /*!
53823
53961
  * Jodit Editor (https://xdsoft.net/jodit/)
53824
53962
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -53830,6 +53968,7 @@ __webpack_require__.r(__webpack_exports__);
53830
53968
 
53831
53969
 
53832
53970
 
53971
+
53833
53972
  /***/ }),
53834
53973
 
53835
53974
  /***/ 77183:
@@ -61346,7 +61485,7 @@ function _unsupported_iterable_to_array(o, minLen) {
61346
61485
  if (n === "Map" || n === "Set") return Array.from(n);
61347
61486
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
61348
61487
  }
61349
- var APP_VERSION = "4.6.14";
61488
+ var APP_VERSION = "4.6.16";
61350
61489
  // prettier-ignore
61351
61490
  var ES = "es5";
61352
61491
  var IS_ES_MODERN = false;
package/es5/jodit.min.css CHANGED
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.6.14
4
+ * Version: v4.6.16
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
  /*!
9
9
  * jodit-pro - PRO Version of Jodit Editor
10
10
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
11
- * Version: v4.6.14
11
+ * Version: v4.6.16
12
12
  * Url: https://xdsoft.net/jodit/pro/
13
13
  * License(s): SEE LICENSE IN LICENSE.md
14
14
  */