jodit-pro 4.19.5 → 4.19.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 (342) hide show
  1. package/es2015/jodit.css +1 -1
  2. package/es2015/jodit.fat.min.js +4 -4
  3. package/es2015/jodit.js +342 -101
  4. package/es2015/jodit.min.js +8 -8
  5. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  6. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  7. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  8. package/es2015/plugins/autocomplete/autocomplete.css +1 -1
  9. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  10. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  11. package/es2015/plugins/backup/backup.css +1 -1
  12. package/es2015/plugins/backup/backup.js +1 -1
  13. package/es2015/plugins/backup/backup.min.js +1 -1
  14. package/es2015/plugins/button-generator/button-generator.css +1 -1
  15. package/es2015/plugins/button-generator/button-generator.js +1 -1
  16. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  17. package/es2015/plugins/change-case/change-case.js +1 -1
  18. package/es2015/plugins/change-case/change-case.min.js +1 -1
  19. package/es2015/plugins/chart/chart.css +1 -1
  20. package/es2015/plugins/chart/chart.js +1 -1
  21. package/es2015/plugins/chart/chart.min.js +1 -1
  22. package/es2015/plugins/color-picker/color-picker.css +1 -1
  23. package/es2015/plugins/color-picker/color-picker.js +1 -1
  24. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  25. package/es2015/plugins/emoji/emoji.css +1 -1
  26. package/es2015/plugins/emoji/emoji.js +1 -1
  27. package/es2015/plugins/emoji/emoji.min.js +1 -1
  28. package/es2015/plugins/export-docs/export-docs.js +1 -1
  29. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  30. package/es2015/plugins/finder/finder.css +1 -1
  31. package/es2015/plugins/finder/finder.js +1 -1
  32. package/es2015/plugins/finder/finder.min.js +1 -1
  33. package/es2015/plugins/google-maps/google-maps.css +1 -1
  34. package/es2015/plugins/google-maps/google-maps.js +1 -1
  35. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  36. package/es2015/plugins/google-search/google-search.js +1 -1
  37. package/es2015/plugins/google-search/google-search.min.js +1 -1
  38. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  39. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  40. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  41. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  42. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  43. package/es2015/plugins/image-editor-pro/image-editor-pro.css +1 -1
  44. package/es2015/plugins/image-editor-pro/image-editor-pro.js +1 -1
  45. package/es2015/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
  46. package/es2015/plugins/keyboard/keyboard.css +1 -1
  47. package/es2015/plugins/keyboard/keyboard.js +1 -1
  48. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  49. package/es2015/plugins/math/math.css +1 -1
  50. package/es2015/plugins/math/math.js +1 -1
  51. package/es2015/plugins/math/math.min.js +1 -1
  52. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  53. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  54. package/es2015/plugins/page-break/page-break.js +1 -1
  55. package/es2015/plugins/page-break/page-break.min.js +1 -1
  56. package/es2015/plugins/paste-code/paste-code.css +1 -1
  57. package/es2015/plugins/paste-code/paste-code.js +1 -1
  58. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  59. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  60. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  61. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  62. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  63. package/es2015/plugins/style/style.css +1 -1
  64. package/es2015/plugins/style/style.js +1 -1
  65. package/es2015/plugins/style/style.min.js +1 -1
  66. package/es2015/plugins/templates/templates.css +1 -1
  67. package/es2015/plugins/templates/templates.js +1 -1
  68. package/es2015/plugins/templates/templates.min.js +1 -1
  69. package/es2015/plugins/todo-list/todo-list.css +1 -1
  70. package/es2015/plugins/todo-list/todo-list.js +1 -1
  71. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  72. package/es2015/plugins/translate/translate.css +1 -1
  73. package/es2015/plugins/translate/translate.js +1 -1
  74. package/es2015/plugins/translate/translate.min.js +1 -1
  75. package/es2015/plugins/tune-block/tune-block.css +1 -1
  76. package/es2015/plugins/tune-block/tune-block.js +1 -1
  77. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  78. package/es2018/jodit.fat.min.js +4 -4
  79. package/es2018/jodit.min.js +8 -8
  80. package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  81. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  82. package/es2018/plugins/backup/backup.min.js +1 -1
  83. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  84. package/es2018/plugins/change-case/change-case.min.js +1 -1
  85. package/es2018/plugins/chart/chart.min.js +1 -1
  86. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  87. package/es2018/plugins/emoji/emoji.min.js +1 -1
  88. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  89. package/es2018/plugins/finder/finder.min.js +1 -1
  90. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  91. package/es2018/plugins/google-search/google-search.min.js +1 -1
  92. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  93. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  94. package/es2018/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
  95. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  96. package/es2018/plugins/math/math.min.js +1 -1
  97. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  98. package/es2018/plugins/page-break/page-break.min.js +1 -1
  99. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  100. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  101. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  102. package/es2018/plugins/style/style.min.js +1 -1
  103. package/es2018/plugins/templates/templates.min.js +1 -1
  104. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  105. package/es2018/plugins/translate/translate.min.js +1 -1
  106. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  107. package/es2021/jodit.css +1 -1
  108. package/es2021/jodit.fat.min.js +5 -5
  109. package/es2021/jodit.js +234 -44
  110. package/es2021/jodit.min.js +19 -19
  111. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  112. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  113. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  114. package/es2021/plugins/autocomplete/autocomplete.css +1 -1
  115. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  116. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  117. package/es2021/plugins/backup/backup.css +1 -1
  118. package/es2021/plugins/backup/backup.js +1 -1
  119. package/es2021/plugins/backup/backup.min.js +1 -1
  120. package/es2021/plugins/button-generator/button-generator.css +1 -1
  121. package/es2021/plugins/button-generator/button-generator.js +1 -1
  122. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  123. package/es2021/plugins/change-case/change-case.js +1 -1
  124. package/es2021/plugins/change-case/change-case.min.js +1 -1
  125. package/es2021/plugins/chart/chart.css +1 -1
  126. package/es2021/plugins/chart/chart.js +1 -1
  127. package/es2021/plugins/chart/chart.min.js +1 -1
  128. package/es2021/plugins/color-picker/color-picker.css +1 -1
  129. package/es2021/plugins/color-picker/color-picker.js +1 -1
  130. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  131. package/es2021/plugins/emoji/emoji.css +1 -1
  132. package/es2021/plugins/emoji/emoji.js +1 -1
  133. package/es2021/plugins/emoji/emoji.min.js +1 -1
  134. package/es2021/plugins/export-docs/export-docs.js +1 -1
  135. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  136. package/es2021/plugins/finder/finder.css +1 -1
  137. package/es2021/plugins/finder/finder.js +1 -1
  138. package/es2021/plugins/finder/finder.min.js +1 -1
  139. package/es2021/plugins/google-maps/google-maps.css +1 -1
  140. package/es2021/plugins/google-maps/google-maps.js +1 -1
  141. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  142. package/es2021/plugins/google-search/google-search.js +1 -1
  143. package/es2021/plugins/google-search/google-search.min.js +1 -1
  144. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  145. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  146. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  147. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  148. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  149. package/es2021/plugins/image-editor-pro/image-editor-pro.css +1 -1
  150. package/es2021/plugins/image-editor-pro/image-editor-pro.js +1 -1
  151. package/es2021/plugins/image-editor-pro/image-editor-pro.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/math/math.css +1 -1
  156. package/es2021/plugins/math/math.js +1 -1
  157. package/es2021/plugins/math/math.min.js +1 -1
  158. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  159. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  160. package/es2021/plugins/page-break/page-break.js +1 -1
  161. package/es2021/plugins/page-break/page-break.min.js +1 -1
  162. package/es2021/plugins/paste-code/paste-code.css +1 -1
  163. package/es2021/plugins/paste-code/paste-code.js +1 -1
  164. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  165. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  166. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  167. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  168. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  169. package/es2021/plugins/style/style.css +1 -1
  170. package/es2021/plugins/style/style.js +1 -1
  171. package/es2021/plugins/style/style.min.js +1 -1
  172. package/es2021/plugins/templates/templates.css +1 -1
  173. package/es2021/plugins/templates/templates.js +1 -1
  174. package/es2021/plugins/templates/templates.min.js +1 -1
  175. package/es2021/plugins/todo-list/todo-list.css +1 -1
  176. package/es2021/plugins/todo-list/todo-list.js +1 -1
  177. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  178. package/es2021/plugins/translate/translate.css +1 -1
  179. package/es2021/plugins/translate/translate.js +1 -1
  180. package/es2021/plugins/translate/translate.min.js +1 -1
  181. package/es2021/plugins/tune-block/tune-block.css +1 -1
  182. package/es2021/plugins/tune-block/tune-block.js +1 -1
  183. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  184. package/es2021.en/jodit.css +1 -1
  185. package/es2021.en/jodit.fat.min.js +5 -5
  186. package/es2021.en/jodit.js +234 -44
  187. package/es2021.en/jodit.min.js +5 -5
  188. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  189. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  190. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  191. package/es2021.en/plugins/autocomplete/autocomplete.css +1 -1
  192. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  193. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  194. package/es2021.en/plugins/backup/backup.css +1 -1
  195. package/es2021.en/plugins/backup/backup.js +1 -1
  196. package/es2021.en/plugins/backup/backup.min.js +1 -1
  197. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  198. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  199. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  200. package/es2021.en/plugins/change-case/change-case.js +1 -1
  201. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  202. package/es2021.en/plugins/chart/chart.css +1 -1
  203. package/es2021.en/plugins/chart/chart.js +1 -1
  204. package/es2021.en/plugins/chart/chart.min.js +1 -1
  205. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  206. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  207. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  208. package/es2021.en/plugins/emoji/emoji.css +1 -1
  209. package/es2021.en/plugins/emoji/emoji.js +1 -1
  210. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  211. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  212. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  213. package/es2021.en/plugins/finder/finder.css +1 -1
  214. package/es2021.en/plugins/finder/finder.js +1 -1
  215. package/es2021.en/plugins/finder/finder.min.js +1 -1
  216. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  217. package/es2021.en/plugins/google-maps/google-maps.js +1 -1
  218. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  219. package/es2021.en/plugins/google-search/google-search.js +1 -1
  220. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  221. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  222. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  223. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  224. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  225. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  226. package/es2021.en/plugins/image-editor-pro/image-editor-pro.css +1 -1
  227. package/es2021.en/plugins/image-editor-pro/image-editor-pro.js +1 -1
  228. package/es2021.en/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
  229. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  230. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  231. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  232. package/es2021.en/plugins/math/math.css +1 -1
  233. package/es2021.en/plugins/math/math.js +1 -1
  234. package/es2021.en/plugins/math/math.min.js +1 -1
  235. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  236. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  237. package/es2021.en/plugins/page-break/page-break.js +1 -1
  238. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  239. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  240. package/es2021.en/plugins/paste-code/paste-code.js +1 -1
  241. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  242. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  243. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  244. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  245. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  246. package/es2021.en/plugins/style/style.css +1 -1
  247. package/es2021.en/plugins/style/style.js +1 -1
  248. package/es2021.en/plugins/style/style.min.js +1 -1
  249. package/es2021.en/plugins/templates/templates.css +1 -1
  250. package/es2021.en/plugins/templates/templates.js +1 -1
  251. package/es2021.en/plugins/templates/templates.min.js +1 -1
  252. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  253. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  254. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  255. package/es2021.en/plugins/translate/translate.css +1 -1
  256. package/es2021.en/plugins/translate/translate.js +1 -1
  257. package/es2021.en/plugins/translate/translate.min.js +1 -1
  258. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  259. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  260. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  261. package/es5/jodit.css +2 -2
  262. package/es5/jodit.fat.min.js +2 -2
  263. package/es5/jodit.js +648 -102
  264. package/es5/jodit.min.css +2 -2
  265. package/es5/jodit.min.js +2 -2
  266. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  267. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  268. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  269. package/es5/plugins/autocomplete/autocomplete.css +1 -1
  270. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  271. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  272. package/es5/plugins/backup/backup.css +1 -1
  273. package/es5/plugins/backup/backup.js +1 -1
  274. package/es5/plugins/backup/backup.min.js +1 -1
  275. package/es5/plugins/button-generator/button-generator.css +1 -1
  276. package/es5/plugins/button-generator/button-generator.js +1 -1
  277. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  278. package/es5/plugins/change-case/change-case.js +1 -1
  279. package/es5/plugins/change-case/change-case.min.js +1 -1
  280. package/es5/plugins/chart/chart.css +1 -1
  281. package/es5/plugins/chart/chart.js +1 -1
  282. package/es5/plugins/chart/chart.min.js +1 -1
  283. package/es5/plugins/color-picker/color-picker.css +1 -1
  284. package/es5/plugins/color-picker/color-picker.js +1 -1
  285. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  286. package/es5/plugins/emoji/emoji.css +1 -1
  287. package/es5/plugins/emoji/emoji.js +1 -1
  288. package/es5/plugins/emoji/emoji.min.js +1 -1
  289. package/es5/plugins/export-docs/export-docs.js +1 -1
  290. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  291. package/es5/plugins/finder/finder.css +1 -1
  292. package/es5/plugins/finder/finder.js +1 -1
  293. package/es5/plugins/finder/finder.min.js +1 -1
  294. package/es5/plugins/google-maps/google-maps.css +1 -1
  295. package/es5/plugins/google-maps/google-maps.js +1 -1
  296. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  297. package/es5/plugins/google-search/google-search.js +1 -1
  298. package/es5/plugins/google-search/google-search.min.js +1 -1
  299. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  300. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  301. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  302. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  303. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  304. package/es5/plugins/image-editor-pro/image-editor-pro.css +1 -1
  305. package/es5/plugins/image-editor-pro/image-editor-pro.js +1 -1
  306. package/es5/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
  307. package/es5/plugins/keyboard/keyboard.css +1 -1
  308. package/es5/plugins/keyboard/keyboard.js +1 -1
  309. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  310. package/es5/plugins/math/math.css +1 -1
  311. package/es5/plugins/math/math.js +1 -1
  312. package/es5/plugins/math/math.min.js +1 -1
  313. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  314. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  315. package/es5/plugins/page-break/page-break.js +1 -1
  316. package/es5/plugins/page-break/page-break.min.js +1 -1
  317. package/es5/plugins/paste-code/paste-code.css +1 -1
  318. package/es5/plugins/paste-code/paste-code.js +1 -1
  319. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  320. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  321. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  322. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  323. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  324. package/es5/plugins/style/style.css +1 -1
  325. package/es5/plugins/style/style.js +1 -1
  326. package/es5/plugins/style/style.min.js +1 -1
  327. package/es5/plugins/templates/templates.css +1 -1
  328. package/es5/plugins/templates/templates.js +1 -1
  329. package/es5/plugins/templates/templates.min.js +1 -1
  330. package/es5/plugins/todo-list/todo-list.css +1 -1
  331. package/es5/plugins/todo-list/todo-list.js +1 -1
  332. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  333. package/es5/plugins/translate/translate.css +1 -1
  334. package/es5/plugins/translate/translate.js +1 -1
  335. package/es5/plugins/translate/translate.min.js +1 -1
  336. package/es5/plugins/tune-block/tune-block.css +1 -1
  337. package/es5/plugins/tune-block/tune-block.js +1 -1
  338. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  339. package/es5/polyfills.fat.min.js +1 -1
  340. package/es5/polyfills.js +1 -1
  341. package/es5/polyfills.min.js +1 -1
  342. package/package.json +1 -1
package/es2015/jodit.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.19.5
4
+ * Version: v4.19.6
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1816,7 +1816,7 @@ __webpack_require__.r(__webpack_exports__);
1816
1816
  * ```
1817
1817
  * @packageDocumentation
1818
1818
  * @module constants
1819
- */ const APP_VERSION = "4.19.5";
1819
+ */ const APP_VERSION = "4.19.6";
1820
1820
  // prettier-ignore
1821
1821
  const ES = "es2015";
1822
1822
  const IS_ES_MODERN = true;
@@ -1955,6 +1955,8 @@ const EMULATE_DBLCLICK_TIMEOUT = 300;
1955
1955
  * ```
1956
1956
  */ const INSERT_ONLY_TEXT = 'insert_only_text';
1957
1957
  const SAFE_COUNT_CHANGE_CALL = 10;
1958
+ // Connector answer code for a file name that is already taken (same as the HTTP status)
1959
+ const ERROR_CODE_CONFLICT = 409;
1958
1960
  const IS_MAC = typeof globalWindow !== 'undefined' && /Mac|iPod|iPhone|iPad/.test(globalWindow.navigator.platform);
1959
1961
  const KEY_ALIASES = {
1960
1962
  add: '+',
@@ -2038,6 +2040,7 @@ const PASSIVE_EVENTS = new Set([
2038
2040
  /* harmony export */ "CLIPBOARD_ID", 0, /* binding */ CLIPBOARD_ID,
2039
2041
  /* harmony export */ "COMMAND_KEYS", 0, /* binding */ COMMAND_KEYS,
2040
2042
  /* harmony export */ "EMULATE_DBLCLICK_TIMEOUT", 0, /* binding */ EMULATE_DBLCLICK_TIMEOUT,
2043
+ /* harmony export */ "ERROR_CODE_CONFLICT", 0, /* binding */ ERROR_CODE_CONFLICT,
2041
2044
  /* harmony export */ "ES", 0, /* binding */ ES,
2042
2045
  /* harmony export */ "FAT_MODE", 0, /* binding */ FAT_MODE,
2043
2046
  /* harmony export */ "HOMEPAGE", 0, /* binding */ HOMEPAGE,
@@ -6586,6 +6589,7 @@ function isAdjacent(prev, item) {
6586
6589
  __webpack_require__.r(__webpack_exports__);
6587
6590
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6588
6591
  /* harmony export */ $$: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.$$; },
6592
+ /* harmony export */ AnswerError: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.AnswerError; },
6589
6593
  /* harmony export */ CamelCaseToKebabCase: function() { return /* reexport safe */ _string_index_js__WEBPACK_IMPORTED_MODULE_7__.CamelCaseToKebabCase; },
6590
6594
  /* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.ConfigDeepFlatten; },
6591
6595
  /* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.ConfigFlatten; },
@@ -6599,6 +6603,7 @@ __webpack_require__.r(__webpack_exports__);
6599
6603
  /* harmony export */ abort: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.abort; },
6600
6604
  /* harmony export */ alignElement: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.alignElement; },
6601
6605
  /* harmony export */ alreadyLoadedList: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.alreadyLoadedList; },
6606
+ /* harmony export */ answer: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.answer; },
6602
6607
  /* harmony export */ appendScriptAsync: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.appendScriptAsync; },
6603
6608
  /* harmony export */ appendStyleAsync: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.appendStyleAsync; },
6604
6609
  /* harmony export */ applyStyles: function() { return /* reexport safe */ _html_index_js__WEBPACK_IMPORTED_MODULE_4__.applyStyles; },
@@ -8676,6 +8681,7 @@ const dataBind = (elm, key, value)=>{
8676
8681
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8677
8682
 
8678
8683
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8684
+ /* harmony export */ answer: function() { return /* binding */ answer; },
8679
8685
  /* harmony export */ connection: function() { return /* binding */ connection; },
8680
8686
  /* harmony export */ error: function() { return /* binding */ error; },
8681
8687
  /* harmony export */ options: function() { return /* binding */ options; }
@@ -8699,6 +8705,9 @@ function connection(message) {
8699
8705
  function options(message) {
8700
8706
  return new _errors_index_js__WEBPACK_IMPORTED_MODULE_0__.OptionsError(message);
8701
8707
  }
8708
+ function answer(message, resp, code) {
8709
+ return new _errors_index_js__WEBPACK_IMPORTED_MODULE_0__.AnswerError(message, resp, code);
8710
+ }
8702
8711
 
8703
8712
 
8704
8713
  /***/ }),
@@ -8718,6 +8727,31 @@ function options(message) {
8718
8727
  }
8719
8728
 
8720
8729
 
8730
+ /***/ }),
8731
+
8732
+ /***/ 5311:
8733
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8734
+
8735
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8736
+ /* harmony export */ AnswerError: function() { return /* binding */ AnswerError; }
8737
+ /* harmony export */ });
8738
+ /*!
8739
+ * Jodit Editor (https://xdsoft.net/jodit/)
8740
+ * Released under MIT see LICENSE.txt in the project root for license information.
8741
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
8742
+ */ /**
8743
+ * @module helpers/utils
8744
+ */ // A connector refused the request: the answer and its `data.code` stay reachable for the handler
8745
+ class AnswerError extends Error {
8746
+ constructor(message, answer, code){
8747
+ super(message);
8748
+ this.answer = answer;
8749
+ this.code = code;
8750
+ Object.setPrototypeOf(this, AnswerError.prototype);
8751
+ }
8752
+ }
8753
+
8754
+
8721
8755
  /***/ }),
8722
8756
 
8723
8757
  /***/ 86397:
@@ -8746,13 +8780,15 @@ function options(message) {
8746
8780
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8747
8781
 
8748
8782
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8749
- /* harmony export */ ConnectionError: function() { return /* reexport safe */ _connection_error_js__WEBPACK_IMPORTED_MODULE_1__.ConnectionError; },
8750
- /* harmony export */ OptionsError: function() { return /* reexport safe */ _options_error_js__WEBPACK_IMPORTED_MODULE_2__.OptionsError; },
8783
+ /* harmony export */ AnswerError: function() { return /* reexport safe */ _answer_error_js__WEBPACK_IMPORTED_MODULE_1__.AnswerError; },
8784
+ /* harmony export */ ConnectionError: function() { return /* reexport safe */ _connection_error_js__WEBPACK_IMPORTED_MODULE_2__.ConnectionError; },
8785
+ /* harmony export */ OptionsError: function() { return /* reexport safe */ _options_error_js__WEBPACK_IMPORTED_MODULE_3__.OptionsError; },
8751
8786
  /* harmony export */ abort: function() { return /* reexport safe */ _abort_error_js__WEBPACK_IMPORTED_MODULE_0__.abort; }
8752
8787
  /* harmony export */ });
8753
8788
  /* harmony import */ var _abort_error_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93661);
8754
- /* harmony import */ var _connection_error_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(86397);
8755
- /* harmony import */ var _options_error_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57865);
8789
+ /* harmony import */ var _answer_error_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5311);
8790
+ /* harmony import */ var _connection_error_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(86397);
8791
+ /* harmony import */ var _options_error_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(57865);
8756
8792
  /*!
8757
8793
  * Jodit Editor (https://xdsoft.net/jodit/)
8758
8794
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -8764,6 +8800,7 @@ function options(message) {
8764
8800
 
8765
8801
 
8766
8802
 
8803
+
8767
8804
  /***/ }),
8768
8805
 
8769
8806
  /***/ 57865:
@@ -8792,9 +8829,11 @@ function options(message) {
8792
8829
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8793
8830
 
8794
8831
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8832
+ /* harmony export */ AnswerError: function() { return /* reexport safe */ _errors_index_js__WEBPACK_IMPORTED_MODULE_1__.AnswerError; },
8795
8833
  /* harmony export */ ConnectionError: function() { return /* reexport safe */ _errors_index_js__WEBPACK_IMPORTED_MODULE_1__.ConnectionError; },
8796
8834
  /* harmony export */ OptionsError: function() { return /* reexport safe */ _errors_index_js__WEBPACK_IMPORTED_MODULE_1__.OptionsError; },
8797
8835
  /* harmony export */ abort: function() { return /* reexport safe */ _errors_index_js__WEBPACK_IMPORTED_MODULE_1__.abort; },
8836
+ /* harmony export */ answer: function() { return /* reexport safe */ _error_js__WEBPACK_IMPORTED_MODULE_0__.answer; },
8798
8837
  /* harmony export */ connection: function() { return /* reexport safe */ _error_js__WEBPACK_IMPORTED_MODULE_0__.connection; },
8799
8838
  /* harmony export */ error: function() { return /* reexport safe */ _error_js__WEBPACK_IMPORTED_MODULE_0__.error; },
8800
8839
  /* harmony export */ options: function() { return /* reexport safe */ _error_js__WEBPACK_IMPORTED_MODULE_0__.options; }
@@ -9025,6 +9064,7 @@ const isPart = (node, part)=>_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTML
9025
9064
 
9026
9065
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9027
9066
  /* harmony export */ $$: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_27__.$$; },
9067
+ /* harmony export */ AnswerError: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_13__.AnswerError; },
9028
9068
  /* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_7__.ConfigDeepFlatten; },
9029
9069
  /* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_7__.ConfigFlatten; },
9030
9070
  /* harmony export */ ConfigMerge: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_7__.ConfigMerge; },
@@ -9036,6 +9076,7 @@ const isPart = (node, part)=>_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTML
9036
9076
  /* harmony export */ abort: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_13__.abort; },
9037
9077
  /* harmony export */ alignElement: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.alignElement; },
9038
9078
  /* harmony export */ alreadyLoadedList: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_1__.alreadyLoadedList; },
9079
+ /* harmony export */ answer: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_13__.answer; },
9039
9080
  /* harmony export */ appendScriptAsync: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_1__.appendScriptAsync; },
9040
9081
  /* harmony export */ appendStyleAsync: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_1__.appendStyleAsync; },
9041
9082
  /* harmony export */ assert: function() { return /* reexport safe */ _assert_js__WEBPACK_IMPORTED_MODULE_2__.assert; },
@@ -10718,6 +10759,23 @@ class Ajax {
10718
10759
  } catch (_a) {}
10719
10760
  return this;
10720
10761
  }
10762
+ // A connector answers an error with its JSON envelope and a real HTTP status (403, 409): the body says why, the reason phrase does not
10763
+ __hasAnswerEnvelope() {
10764
+ const { xhr } = this;
10765
+ if (xhr.responseType && xhr.responseType !== 'text') {
10766
+ return false;
10767
+ }
10768
+ const text = xhr.responseText;
10769
+ if (!text || text[0] !== '{') {
10770
+ return false;
10771
+ }
10772
+ try {
10773
+ const answer = JSON.parse(text);
10774
+ return (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isPlainObject)(answer) && 'success' in answer;
10775
+ } catch (_a) {
10776
+ return false;
10777
+ }
10778
+ }
10721
10779
  send() {
10722
10780
  this.__activated = true;
10723
10781
  const { xhr, o } = this;
@@ -10754,7 +10812,7 @@ class Ajax {
10754
10812
  var _a, _b;
10755
10813
  (_b = (_a = this.options).onProgress) === null || _b === void 0 ? void 0 : _b.call(_a, 10);
10756
10814
  if (xhr.readyState === XMLHttpRequest.DONE) {
10757
- if (o.successStatuses.includes(xhr.status)) {
10815
+ if (o.successStatuses.includes(xhr.status) || this.__hasAnswerEnvelope()) {
10758
10816
  onResolve();
10759
10817
  } else if (xhr.statusText) {
10760
10818
  this.__isFulfilled = true;
@@ -28562,8 +28620,9 @@ class DataProvider {
28562
28620
  this.progressHandler(100);
28563
28621
  }).catch(()=>null);
28564
28622
  return promise.then((resp)=>resp.json()).then((resp)=>{
28623
+ var _a;
28565
28624
  if (resp && !this.isSuccess(resp)) {
28566
- throw new Error(this.getMessage(resp));
28625
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_7__.answer)(this.getMessage(resp), resp, (_a = resp.data) === null || _a === void 0 ? void 0 : _a.code);
28567
28626
  }
28568
28627
  return resp;
28569
28628
  });
@@ -28702,10 +28761,11 @@ class DataProvider {
28702
28761
  */ getPathByUrl(url) {
28703
28762
  ;(0,_core_helpers_utils_set_js__WEBPACK_IMPORTED_MODULE_8__.set)('options.getLocalFileByUrl.data.url', url, this);
28704
28763
  return this.get('getLocalFileByUrl').then((resp)=>{
28764
+ var _a;
28705
28765
  if (this.isSuccess(resp)) {
28706
28766
  return resp.data;
28707
28767
  }
28708
- throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_7__.error)(this.getMessage(resp));
28768
+ throw (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_7__.answer)(this.getMessage(resp), resp, (_a = resp.data) === null || _a === void 0 ? void 0 : _a.code);
28709
28769
  });
28710
28770
  }
28711
28771
  /**
@@ -33629,6 +33689,10 @@ _config_js__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.uploader = {
33629
33689
  defaultHandlerError (e) {
33630
33690
  this.j.message.error(e.message);
33631
33691
  },
33692
+ promptOnExists: true,
33693
+ promptOnExistsSuggestName (name) {
33694
+ return name;
33695
+ },
33632
33696
  contentType (requestData) {
33633
33697
  return this.ow.FormData !== undefined && typeof requestData !== 'string' ? false : 'application/x-www-form-urlencoded; charset=UTF-8';
33634
33698
  }
@@ -33795,91 +33859,225 @@ function processOldBrowserDrag(self, cData, handlerSuccess, handlerError, onFina
33795
33859
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
33796
33860
  /* harmony export */ sendFiles: function() { return /* binding */ sendFiles; }
33797
33861
  /* harmony export */ });
33798
- /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21537);
33799
- /* harmony import */ var _send_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71686);
33862
+ /* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
33863
+ /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21537);
33864
+ /* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70231);
33865
+ /* harmony import */ var _dialog_prompt_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36806);
33866
+ /* harmony import */ var _send_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(71686);
33867
+ /* harmony import */ var _upload_error_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(76198);
33868
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
33869
+ try {
33870
+ var info = gen[key](arg);
33871
+ var value = info.value;
33872
+ } catch (error) {
33873
+ reject(error);
33874
+ return;
33875
+ }
33876
+ if (info.done) resolve(value);
33877
+ else Promise.resolve(value).then(_next, _throw);
33878
+ }
33879
+ function _async_to_generator(fn) {
33880
+ return function() {
33881
+ var self = this, args = arguments;
33882
+ return new Promise(function(resolve, reject) {
33883
+ var gen = fn.apply(self, args);
33884
+ function _next(value) {
33885
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
33886
+ }
33887
+ function _throw(err) {
33888
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
33889
+ }
33890
+ _next(undefined);
33891
+ });
33892
+ };
33893
+ }
33894
+ function _define_property(obj, key, value) {
33895
+ if (key in obj) {
33896
+ Object.defineProperty(obj, key, {
33897
+ value: value,
33898
+ enumerable: true,
33899
+ configurable: true,
33900
+ writable: true
33901
+ });
33902
+ } else obj[key] = value;
33903
+ return obj;
33904
+ }
33905
+ function _object_spread(target) {
33906
+ for(var i = 1; i < arguments.length; i++){
33907
+ var source = arguments[i] != null ? arguments[i] : {};
33908
+ var ownKeys = Object.keys(source);
33909
+ if (typeof Object.getOwnPropertySymbols === "function") {
33910
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
33911
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
33912
+ }));
33913
+ }
33914
+ ownKeys.forEach(function(key) {
33915
+ _define_property(target, key, source[key]);
33916
+ });
33917
+ }
33918
+ return target;
33919
+ }
33800
33920
  /*!
33801
33921
  * Jodit Editor (https://xdsoft.net/jodit/)
33802
33922
  * Released under MIT see LICENSE.txt in the project root for license information.
33803
33923
  * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
33804
- */
33924
+ */ ;
33925
+
33926
+
33927
+
33928
+
33805
33929
 
33806
33930
  /**
33807
33931
  * Send files to server
33808
- */ function sendFiles(uploader, files, handlerSuccess, handlerError, process) {
33809
- if (!files) {
33810
- return Promise.reject((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.error)('Need files'));
33811
- }
33812
- const { o } = uploader;
33813
- let fileList = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.toArray)(files);
33814
- if (!fileList.length) {
33815
- return Promise.reject((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.error)('Need files'));
33816
- }
33817
- // Client-side validation hook — returning `false` aborts the upload.
33818
- // See https://github.com/xdan/jodit/issues/1329
33819
- if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(o.beforeUpload)) {
33820
- if (o.beforeUpload.call(uploader, fileList) === false) {
33821
- const err = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.error)('Upload canceled');
33822
- (handlerError || o.defaultHandlerError).call(uploader, err);
33823
- return Promise.reject(err);
33824
- }
33825
- }
33826
- const promises = [];
33827
- if (o.insertImageAsBase64URI) {
33828
- readImagesWithReader(fileList, o.imagesExtensions, promises, uploader, handlerSuccess, o.defaultHandlerSuccess);
33829
- }
33830
- fileList = fileList.filter((a)=>a);
33831
- if (fileList.length) {
33832
- const form = new FormData();
33833
- form.append(o.pathVariableName, uploader.path);
33834
- form.append('source', uploader.source);
33835
- let file;
33836
- for(let i = 0; i < fileList.length; i += 1){
33837
- file = fileList[i];
33838
- if (file) {
33839
- const hasRealExtension = /\.\w+$/.test(file.name);
33840
- const mime = file.type.match(/\/([a-z0-9]+)/i);
33841
- const extension = mime && mime[1] ? mime[1].toLowerCase() : '';
33842
- let newName = fileList[i].name || Math.random().toString().replace('.', '');
33843
- if (!hasRealExtension && extension) {
33844
- let extForReg = extension;
33845
- if ([
33846
- 'jpeg',
33847
- 'jpg'
33848
- ].includes(extForReg)) {
33849
- extForReg = 'jpeg|jpg';
33850
- }
33851
- const reEnd = new RegExp('.(' + extForReg + ')$', 'i');
33852
- if (!reEnd.test(newName)) {
33853
- newName += '.' + extension;
33932
+ */ function sendFiles(uploader, files, handlerSuccess, handlerError, process, // Set when a refused upload is sent again: `beforeUpload` already had its say
33933
+ retryOf) {
33934
+ return _async_to_generator(function*() {
33935
+ if (!files) {
33936
+ throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)('Need files');
33937
+ }
33938
+ const { o } = uploader;
33939
+ let fileList = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.toArray)(files);
33940
+ if (!fileList.length) {
33941
+ throw (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)('Need files');
33942
+ }
33943
+ let extraData = retryOf === null || retryOf === void 0 ? void 0 : retryOf.data;
33944
+ // Client-side validation hook — returning `false` aborts the upload, and it may hand back the files to send instead
33945
+ // See https://github.com/xdan/jodit/issues/1329
33946
+ if (!retryOf && (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(o.beforeUpload)) {
33947
+ let plan;
33948
+ try {
33949
+ plan = yield o.beforeUpload.call(uploader, fileList);
33950
+ } catch (e) {
33951
+ (handlerError || o.defaultHandlerError).call(uploader, e);
33952
+ throw e;
33953
+ }
33954
+ if (plan === false) {
33955
+ const err = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.error)('Upload canceled');
33956
+ (handlerError || o.defaultHandlerError).call(uploader, err);
33957
+ throw err;
33958
+ }
33959
+ if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(plan)) {
33960
+ fileList = plan;
33961
+ } else if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(plan) && (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(plan.files)) {
33962
+ fileList = plan.files;
33963
+ extraData = plan.data;
33964
+ }
33965
+ if (!fileList.length) {
33966
+ return [];
33967
+ }
33968
+ }
33969
+ const promises = [];
33970
+ if (o.insertImageAsBase64URI) {
33971
+ readImagesWithReader(fileList, o.imagesExtensions, promises, uploader, handlerSuccess, o.defaultHandlerSuccess);
33972
+ }
33973
+ fileList = fileList.filter((a)=>a);
33974
+ if (fileList.length) {
33975
+ const form = new FormData();
33976
+ form.append(o.pathVariableName, uploader.path);
33977
+ form.append('source', uploader.source);
33978
+ let file;
33979
+ for(let i = 0; i < fileList.length; i += 1){
33980
+ file = fileList[i];
33981
+ if (file) {
33982
+ const hasRealExtension = /\.\w+$/.test(file.name);
33983
+ const mime = file.type.match(/\/([a-z0-9]+)/i);
33984
+ const extension = mime && mime[1] ? mime[1].toLowerCase() : '';
33985
+ let newName = fileList[i].name || Math.random().toString().replace('.', '');
33986
+ if (!hasRealExtension && extension) {
33987
+ let extForReg = extension;
33988
+ if ([
33989
+ 'jpeg',
33990
+ 'jpg'
33991
+ ].includes(extForReg)) {
33992
+ extForReg = 'jpeg|jpg';
33993
+ }
33994
+ const reEnd = new RegExp('.(' + extForReg + ')$', 'i');
33995
+ if (!reEnd.test(newName)) {
33996
+ newName += '.' + extension;
33997
+ }
33854
33998
  }
33999
+ const [key, iFile, name] = o.processFileName.call(uploader, o.filesVariableName(i), fileList[i], newName);
34000
+ form.append(key, iFile, name);
33855
34001
  }
33856
- const [key, iFile, name] = o.processFileName.call(uploader, o.filesVariableName(i), fileList[i], newName);
33857
- form.append(key, iFile, name);
33858
34002
  }
33859
- }
33860
- if (process) {
33861
- process(form);
33862
- }
33863
- if (o.data && (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.isPlainObject)(o.data)) {
33864
- Object.keys(o.data).forEach((key)=>{
33865
- form.append(key, o.data[key]);
33866
- });
33867
- }
33868
- o.prepareData.call(uploader, form);
33869
- promises.push((0,_send_js__WEBPACK_IMPORTED_MODULE_1__.send)(uploader, form).then((resp)=>{
33870
- if (o.isSuccess.call(uploader, resp)) {
33871
- const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(handlerSuccess) ? handlerSuccess : o.defaultHandlerSuccess;
33872
- handler.call(uploader, o.process.call(uploader, resp));
34003
+ if (process) {
34004
+ process(form);
34005
+ }
34006
+ if (o.data && (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(o.data)) {
34007
+ Object.keys(o.data).forEach((key)=>{
34008
+ form.append(key, o.data[key]);
34009
+ });
34010
+ }
34011
+ if (extraData) {
34012
+ Object.keys(extraData).forEach((key)=>{
34013
+ form.append(key, extraData[key]);
34014
+ });
34015
+ }
34016
+ o.prepareData.call(uploader, form);
34017
+ promises.push((0,_send_js__WEBPACK_IMPORTED_MODULE_4__.send)(uploader, form).then((resp)=>{
34018
+ if (o.isSuccess.call(uploader, resp)) {
34019
+ const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handlerSuccess) ? handlerSuccess : o.defaultHandlerSuccess;
34020
+ handler.call(uploader, o.process.call(uploader, resp));
34021
+ return resp;
34022
+ }
34023
+ const err = new _upload_error_js__WEBPACK_IMPORTED_MODULE_5__.UploadError(o.getMessage.call(uploader, resp), resp, fileList, (plan)=>{
34024
+ var _a;
34025
+ return sendFiles(uploader, (_a = plan === null || plan === void 0 ? void 0 : plan.files) !== null && _a !== void 0 ? _a : fileList, handlerSuccess, handlerError, process, {
34026
+ data: _object_spread({}, extraData, plan === null || plan === void 0 ? void 0 : plan.data)
34027
+ });
34028
+ });
34029
+ // A taken name is part of the upload, not a failure: ask for another one first
34030
+ if (err.code === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.ERROR_CODE_CONFLICT && o.promptOnExists) {
34031
+ return askAnotherName(uploader, err);
34032
+ }
34033
+ const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handlerError) ? handlerError : o.defaultHandlerError;
34034
+ handler.call(uploader, err);
33873
34035
  return resp;
34036
+ }).then(()=>{
34037
+ uploader.j.events && uploader.j.e.fire('filesWereUploaded');
34038
+ }));
34039
+ }
34040
+ return Promise.all(promises);
34041
+ })();
34042
+ }
34043
+ function askAnotherName(uploader, err) {
34044
+ const { files } = err;
34045
+ // A batch is refused as a whole (the connector saved nothing) and the answer does not say which name is taken,
34046
+ // so the files go again one by one: the free ones are simply stored, the taken one answers 409 alone and gets its prompt
34047
+ if (files.length > 1) {
34048
+ return files.reduce((chain, file)=>chain.then(()=>err.retry({
34049
+ files: [
34050
+ file
34051
+ ]
34052
+ })), Promise.resolve());
34053
+ }
34054
+ const [file] = files;
34055
+ const { j, o } = uploader;
34056
+ return new Promise((resolve)=>{
34057
+ let answered = false;
34058
+ // `Dlgs.prototype.dlg`: the uploader's view does not always carry the Dlgs trait
34059
+ const dialog = _dialog_prompt_js__WEBPACK_IMPORTED_MODULE_3__.Prompt.call(_core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_2__.Dlgs.prototype.dlg.call(j, {
34060
+ closeOnClickOverlay: true
34061
+ }), j.i18n(err.message), j.i18n('Rename'), (newName)=>{
34062
+ newName = newName.trim();
34063
+ if (!newName) {
34064
+ return false;
33874
34065
  }
33875
- const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(handlerError) ? handlerError : o.defaultHandlerError;
33876
- handler.call(uploader, (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.error)(o.getMessage.call(uploader, resp)));
33877
- return resp;
33878
- }).then(()=>{
33879
- uploader.j.events && uploader.j.e.fire('filesWereUploaded');
33880
- }));
33881
- }
33882
- return Promise.all(promises);
34066
+ answered = true;
34067
+ resolve(err.retry({
34068
+ files: [
34069
+ new File([
34070
+ file
34071
+ ], newName, {
34072
+ type: file.type
34073
+ })
34074
+ ]
34075
+ }));
34076
+ }, j.i18n('Enter new name'), o.promptOnExistsSuggestName.call(uploader, file.name));
34077
+ dialog.e.on(dialog, 'afterClose', ()=>{
34078
+ !answered && resolve(undefined);
34079
+ });
34080
+ });
33883
34081
  }
33884
34082
  function readImagesWithReader(fileList, imagesExtensions, promises, uploader, handlerSuccess, defaultHandlerSuccess) {
33885
34083
  const readerPromises = [];
@@ -33909,7 +34107,7 @@ function readImagesWithReader(fileList, imagesExtensions, promises, uploader, ha
33909
34107
  name
33910
34108
  ]
33911
34109
  };
33912
- const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.isFunction)(handlerSuccess) ? handlerSuccess : defaultHandlerSuccess;
34110
+ const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handlerSuccess) ? handlerSuccess : defaultHandlerSuccess;
33913
34111
  handler.call(uploader, resp);
33914
34112
  resolve(resp);
33915
34113
  };
@@ -34022,6 +34220,32 @@ function send(uploader, data) {
34022
34220
  /* harmony export */ ]);
34023
34221
 
34024
34222
 
34223
+ /***/ }),
34224
+
34225
+ /***/ 76198:
34226
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
34227
+
34228
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
34229
+ /* harmony export */ UploadError: function() { return /* binding */ UploadError; }
34230
+ /* harmony export */ });
34231
+ /* harmony import */ var _core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89890);
34232
+ /*!
34233
+ * Jodit Editor (https://xdsoft.net/jodit/)
34234
+ * Released under MIT see LICENSE.txt in the project root for license information.
34235
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
34236
+ */
34237
+ // The connector refused these files: the handler can change the request and send it again
34238
+ class UploadError extends _core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_0__.AnswerError {
34239
+ constructor(message, answer, files, retry){
34240
+ var _a;
34241
+ super(message, answer, (_a = answer.data) === null || _a === void 0 ? void 0 : _a.code);
34242
+ this.files = files;
34243
+ this.retry = retry;
34244
+ Object.setPrototypeOf(this, UploadError.prototype);
34245
+ }
34246
+ }
34247
+
34248
+
34025
34249
  /***/ }),
34026
34250
 
34027
34251
  /***/ 57380:
@@ -34034,9 +34258,10 @@ function send(uploader, data) {
34034
34258
  /* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(82758);
34035
34259
  /* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2748);
34036
34260
  /* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21537);
34037
- /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6441);
34038
- /* harmony import */ var _helpers_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94122);
34039
- /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80536);
34261
+ /* harmony import */ var _core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(89890);
34262
+ /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6441);
34263
+ /* harmony import */ var _helpers_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(94122);
34264
+ /* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(80536);
34040
34265
  /*!
34041
34266
  * Jodit Editor (https://xdsoft.net/jodit/)
34042
34267
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -34048,6 +34273,7 @@ function send(uploader, data) {
34048
34273
 
34049
34274
 
34050
34275
 
34276
+
34051
34277
  class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.ViewComponent {
34052
34278
  get j() {
34053
34279
  return this.jodit;
@@ -34103,14 +34329,14 @@ class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.Vie
34103
34329
  }
34104
34330
  };
34105
34331
  // send data on server
34106
- if (!_core_constants_js__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.hasFiles)(cData)) {
34107
- (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.sendFiles)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
34332
+ if (!_core_constants_js__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.hasFiles)(cData)) {
34333
+ (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.sendFiles)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
34108
34334
  return false;
34109
34335
  }
34110
34336
  if (_core_constants_js__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !_core_constants_js__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
34111
- return (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.processOldBrowserDrag)(self, cData, handlerSuccess, handlerError, onFinally);
34337
+ return (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.processOldBrowserDrag)(self, cData, handlerSuccess, handlerError, onFinally);
34112
34338
  }
34113
- if ((0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.hasItems)(cData)) {
34339
+ if ((0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.hasItems)(cData)) {
34114
34340
  const { items } = cData;
34115
34341
  for(i = 0; i < items.length; i += 1){
34116
34342
  if (items[i].kind === 'file' && items[i].type === 'image/png') {
@@ -34118,7 +34344,7 @@ class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.Vie
34118
34344
  if (file) {
34119
34345
  const mime = file.type.match(/\/([a-z0-9]+)/i);
34120
34346
  extension = mime[1] ? mime[1].toLowerCase() : '';
34121
- (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.sendFiles)(self, [
34347
+ (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.sendFiles)(self, [
34122
34348
  file
34123
34349
  ], handlerSuccess, handlerError, processData).finally(onFinally);
34124
34350
  }
@@ -34140,21 +34366,21 @@ class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.Vie
34140
34366
  self.j.e.on(form, 'dragend dragover dragenter dragleave drop', (e)=>{
34141
34367
  e.preventDefault();
34142
34368
  }).on(form, 'dragover', (event)=>{
34143
- if ((0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.hasFiles)(event.dataTransfer) || (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.hasItems)(event.dataTransfer)) {
34369
+ if ((0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.hasFiles)(event.dataTransfer) || (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.hasItems)(event.dataTransfer)) {
34144
34370
  form.classList.add('jodit_drag_hover');
34145
34371
  event.preventDefault();
34146
34372
  }
34147
34373
  }).on(form, 'dragend dragleave', (event)=>{
34148
34374
  form.classList.remove('jodit_drag_hover');
34149
- if ((0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.hasFiles)(event.dataTransfer)) {
34375
+ if ((0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.hasFiles)(event.dataTransfer)) {
34150
34376
  event.preventDefault();
34151
34377
  }
34152
34378
  }).on(form, 'drop', (event)=>{
34153
34379
  form.classList.remove('jodit_drag_hover');
34154
- if ((0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.hasFiles)(event.dataTransfer)) {
34380
+ if ((0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.hasFiles)(event.dataTransfer)) {
34155
34381
  event.preventDefault();
34156
34382
  event.stopImmediatePropagation();
34157
- (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.sendFiles)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
34383
+ (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.sendFiles)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
34158
34384
  }
34159
34385
  });
34160
34386
  const inputFile = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.first(form, (node)=>{
@@ -34163,7 +34389,7 @@ class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.Vie
34163
34389
  });
34164
34390
  if (inputFile) {
34165
34391
  self.j.e.on(inputFile, 'change', ()=>{
34166
- (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.sendFiles)(self, inputFile.files, handlerSuccess, handlerError).then(()=>{
34392
+ (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.sendFiles)(self, inputFile.files, handlerSuccess, handlerError).then(()=>{
34167
34393
  inputFile.value = '';
34168
34394
  if (!/safari/i.test(navigator.userAgent)) {
34169
34395
  inputFile.type = '';
@@ -34178,26 +34404,41 @@ class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.Vie
34178
34404
  */ uploadRemoteImage(url, handlerSuccess, handlerError) {
34179
34405
  const uploader = this, { o } = uploader;
34180
34406
  const handlerE = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(handlerError) ? handlerError : o.defaultHandlerError;
34181
- (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.send)(uploader, {
34407
+ (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.send)(uploader, {
34182
34408
  action: 'fileUploadRemote',
34183
34409
  url
34184
34410
  }).then((resp)=>{
34411
+ var _a;
34185
34412
  if (o.isSuccess.call(uploader, resp)) {
34186
34413
  const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(handlerSuccess) ? handlerSuccess : o.defaultHandlerSuccess;
34187
34414
  handler.call(uploader, o.process.call(uploader, resp));
34188
34415
  return;
34189
34416
  }
34190
- handlerE.call(uploader, (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.error)(o.getMessage.call(uploader, resp)));
34417
+ handlerE.call(uploader, (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_4__.answer)(o.getMessage.call(uploader, resp), resp, (_a = resp.data) === null || _a === void 0 ? void 0 : _a.code));
34191
34418
  }).catch((e)=>handlerE.call(uploader, e));
34192
34419
  }
34193
34420
  upload(files) {
34194
34421
  return this.async.promise((resolve, reject)=>{
34195
- ;(0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.sendFiles)(this, files, resolve, reject);
34422
+ let settled = false;
34423
+ const settle = (end)=>(value)=>{
34424
+ settled = true;
34425
+ end(value);
34426
+ };
34427
+ (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.sendFiles)(this, files, settle(resolve), settle(reject)).then(()=>{
34428
+ // `beforeUpload` kept no file, so no handler ran
34429
+ if (!settled) {
34430
+ resolve({
34431
+ baseurl: '',
34432
+ files: [],
34433
+ isImages: []
34434
+ });
34435
+ }
34436
+ }, settle(reject));
34196
34437
  });
34197
34438
  }
34198
34439
  destruct() {
34199
34440
  this.setStatus(_core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.STATUSES.beforeDestruct);
34200
- const instances = _helpers_index_js__WEBPACK_IMPORTED_MODULE_5__.ajaxInstances.get(this);
34441
+ const instances = _helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.ajaxInstances.get(this);
34201
34442
  if (instances) {
34202
34443
  instances.forEach((ajax)=>{
34203
34444
  try {
@@ -34212,7 +34453,7 @@ class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.Vie
34212
34453
  super(editor);
34213
34454
  this.path = '';
34214
34455
  this.source = 'default';
34215
- this.options = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(_config_js__WEBPACK_IMPORTED_MODULE_4__.Config.defaultOptions.uploader, (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isJoditObject)(editor) ? editor.o.uploader : {}));
34456
+ this.options = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(_config_js__WEBPACK_IMPORTED_MODULE_5__.Config.defaultOptions.uploader, (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isJoditObject)(editor) ? editor.o.uploader : {}));
34216
34457
  }
34217
34458
  }
34218
34459