jodit-pro 4.2.43 → 4.2.50

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 (316) hide show
  1. package/es2015/889.fat.min.js +1 -1
  2. package/es2015/889.min.js +1 -1
  3. package/es2015/jodit.css +6 -9
  4. package/es2015/jodit.fat.min.css +1 -1
  5. package/es2015/jodit.fat.min.js +2 -2
  6. package/es2015/jodit.js +129 -49
  7. package/es2015/jodit.min.css +1 -1
  8. package/es2015/jodit.min.js +2 -2
  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/color-picker/color-picker.css +1 -1
  20. package/es2015/plugins/color-picker/color-picker.js +1 -1
  21. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  22. package/es2015/plugins/emoji/emoji.css +1 -1
  23. package/es2015/plugins/emoji/emoji.js +1 -1
  24. package/es2015/plugins/emoji/emoji.min.js +1 -1
  25. package/es2015/plugins/export-docs/export-docs.js +17 -15
  26. package/es2015/plugins/export-docs/export-docs.min.js +2 -2
  27. package/es2015/plugins/finder/finder.css +2 -3
  28. package/es2015/plugins/finder/finder.js +1 -1
  29. package/es2015/plugins/finder/finder.min.js +1 -1
  30. package/es2015/plugins/google-maps/google-maps.css +1 -1
  31. package/es2015/plugins/google-maps/google-maps.js +1 -1
  32. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  33. package/es2015/plugins/google-search/google-search.js +1 -1
  34. package/es2015/plugins/google-search/google-search.min.js +1 -1
  35. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  36. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  37. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  38. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  39. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  40. package/es2015/plugins/keyboard/keyboard.css +1 -1
  41. package/es2015/plugins/keyboard/keyboard.js +1 -1
  42. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  43. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  44. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  45. package/es2015/plugins/page-break/page-break.js +1 -1
  46. package/es2015/plugins/page-break/page-break.min.js +1 -1
  47. package/es2015/plugins/paste-code/paste-code.css +1 -1
  48. package/es2015/plugins/paste-code/paste-code.js +1 -1
  49. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  50. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  51. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  52. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  53. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  54. package/es2015/plugins/todo-list/todo-list.css +1 -1
  55. package/es2015/plugins/todo-list/todo-list.js +1 -1
  56. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  57. package/es2015/plugins/translate/translate.css +1 -1
  58. package/es2015/plugins/translate/translate.js +1 -1
  59. package/es2015/plugins/translate/translate.min.js +1 -1
  60. package/es2015/plugins/tune-block/tune-block.css +1 -1
  61. package/es2015/plugins/tune-block/tune-block.js +1 -1
  62. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  63. package/es2018/889.fat.min.js +1 -1
  64. package/es2018/889.min.js +1 -1
  65. package/es2018/jodit.css +6 -9
  66. package/es2018/jodit.fat.min.css +1 -1
  67. package/es2018/jodit.fat.min.js +2 -2
  68. package/es2018/jodit.js +129 -48
  69. package/es2018/jodit.min.css +1 -1
  70. package/es2018/jodit.min.js +2 -2
  71. package/es2018/plugins/autocomplete/autocomplete.js +1 -1
  72. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  73. package/es2018/plugins/backup/backup.css +1 -1
  74. package/es2018/plugins/backup/backup.js +1 -1
  75. package/es2018/plugins/backup/backup.min.js +1 -1
  76. package/es2018/plugins/button-generator/button-generator.css +1 -1
  77. package/es2018/plugins/button-generator/button-generator.js +1 -1
  78. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  79. package/es2018/plugins/change-case/change-case.js +1 -1
  80. package/es2018/plugins/change-case/change-case.min.js +1 -1
  81. package/es2018/plugins/color-picker/color-picker.css +1 -1
  82. package/es2018/plugins/color-picker/color-picker.js +1 -1
  83. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  84. package/es2018/plugins/emoji/emoji.css +1 -1
  85. package/es2018/plugins/emoji/emoji.js +1 -1
  86. package/es2018/plugins/emoji/emoji.min.js +1 -1
  87. package/es2018/plugins/export-docs/export-docs.js +15 -13
  88. package/es2018/plugins/export-docs/export-docs.min.js +2 -2
  89. package/es2018/plugins/finder/finder.css +2 -3
  90. package/es2018/plugins/finder/finder.js +1 -1
  91. package/es2018/plugins/finder/finder.min.js +1 -1
  92. package/es2018/plugins/google-maps/google-maps.css +1 -1
  93. package/es2018/plugins/google-maps/google-maps.js +1 -1
  94. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  95. package/es2018/plugins/google-search/google-search.js +1 -1
  96. package/es2018/plugins/google-search/google-search.min.js +1 -1
  97. package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
  98. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  99. package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
  100. package/es2018/plugins/iframe-editor/iframe-editor.js +1 -1
  101. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  102. package/es2018/plugins/keyboard/keyboard.css +1 -1
  103. package/es2018/plugins/keyboard/keyboard.js +1 -1
  104. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  105. package/es2018/plugins/mobile-view/mobile-view.js +1 -1
  106. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  107. package/es2018/plugins/page-break/page-break.js +1 -1
  108. package/es2018/plugins/page-break/page-break.min.js +1 -1
  109. package/es2018/plugins/paste-code/paste-code.css +1 -1
  110. package/es2018/plugins/paste-code/paste-code.js +1 -1
  111. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  112. package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
  113. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  114. package/es2018/plugins/show-blocks/show-blocks.js +1 -1
  115. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  116. package/es2018/plugins/todo-list/todo-list.css +1 -1
  117. package/es2018/plugins/todo-list/todo-list.js +1 -1
  118. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  119. package/es2018/plugins/translate/translate.css +1 -1
  120. package/es2018/plugins/translate/translate.js +1 -1
  121. package/es2018/plugins/translate/translate.min.js +1 -1
  122. package/es2018/plugins/tune-block/tune-block.css +1 -1
  123. package/es2018/plugins/tune-block/tune-block.js +1 -1
  124. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  125. package/es2021/889.fat.min.js +1 -1
  126. package/es2021/889.min.js +1 -1
  127. package/es2021/jodit.css +6 -9
  128. package/es2021/jodit.fat.min.css +1 -1
  129. package/es2021/jodit.fat.min.js +2 -2
  130. package/es2021/jodit.js +129 -48
  131. package/es2021/jodit.min.css +1 -1
  132. package/es2021/jodit.min.js +2 -2
  133. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  134. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  135. package/es2021/plugins/backup/backup.css +1 -1
  136. package/es2021/plugins/backup/backup.js +1 -1
  137. package/es2021/plugins/backup/backup.min.js +1 -1
  138. package/es2021/plugins/button-generator/button-generator.css +1 -1
  139. package/es2021/plugins/button-generator/button-generator.js +1 -1
  140. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  141. package/es2021/plugins/change-case/change-case.js +1 -1
  142. package/es2021/plugins/change-case/change-case.min.js +1 -1
  143. package/es2021/plugins/color-picker/color-picker.css +1 -1
  144. package/es2021/plugins/color-picker/color-picker.js +1 -1
  145. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  146. package/es2021/plugins/emoji/emoji.css +1 -1
  147. package/es2021/plugins/emoji/emoji.js +1 -1
  148. package/es2021/plugins/emoji/emoji.min.js +1 -1
  149. package/es2021/plugins/export-docs/export-docs.js +15 -13
  150. package/es2021/plugins/export-docs/export-docs.min.js +2 -2
  151. package/es2021/plugins/finder/finder.css +2 -3
  152. package/es2021/plugins/finder/finder.js +1 -1
  153. package/es2021/plugins/finder/finder.min.js +1 -1
  154. package/es2021/plugins/google-maps/google-maps.css +1 -1
  155. package/es2021/plugins/google-maps/google-maps.js +1 -1
  156. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  157. package/es2021/plugins/google-search/google-search.js +1 -1
  158. package/es2021/plugins/google-search/google-search.min.js +1 -1
  159. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  160. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  161. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  162. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  163. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  164. package/es2021/plugins/keyboard/keyboard.css +1 -1
  165. package/es2021/plugins/keyboard/keyboard.js +1 -1
  166. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  167. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  168. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  169. package/es2021/plugins/page-break/page-break.js +1 -1
  170. package/es2021/plugins/page-break/page-break.min.js +1 -1
  171. package/es2021/plugins/paste-code/paste-code.css +1 -1
  172. package/es2021/plugins/paste-code/paste-code.js +1 -1
  173. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  174. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  175. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  176. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  177. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  178. package/es2021/plugins/todo-list/todo-list.css +1 -1
  179. package/es2021/plugins/todo-list/todo-list.js +1 -1
  180. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  181. package/es2021/plugins/translate/translate.css +1 -1
  182. package/es2021/plugins/translate/translate.js +1 -1
  183. package/es2021/plugins/translate/translate.min.js +1 -1
  184. package/es2021/plugins/tune-block/tune-block.css +1 -1
  185. package/es2021/plugins/tune-block/tune-block.js +1 -1
  186. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  187. package/es2021.en/889.fat.min.js +1 -1
  188. package/es2021.en/889.min.js +1 -1
  189. package/es2021.en/jodit.css +6 -9
  190. package/es2021.en/jodit.fat.min.css +1 -1
  191. package/es2021.en/jodit.fat.min.js +2 -2
  192. package/es2021.en/jodit.js +129 -48
  193. package/es2021.en/jodit.min.css +1 -1
  194. package/es2021.en/jodit.min.js +2 -2
  195. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  196. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  197. package/es2021.en/plugins/backup/backup.css +1 -1
  198. package/es2021.en/plugins/backup/backup.js +1 -1
  199. package/es2021.en/plugins/backup/backup.min.js +1 -1
  200. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  201. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  202. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  203. package/es2021.en/plugins/change-case/change-case.js +1 -1
  204. package/es2021.en/plugins/change-case/change-case.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 +15 -13
  212. package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
  213. package/es2021.en/plugins/finder/finder.css +2 -3
  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/keyboard/keyboard.css +1 -1
  227. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  228. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  229. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  230. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  231. package/es2021.en/plugins/page-break/page-break.js +1 -1
  232. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  233. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  234. package/es2021.en/plugins/paste-code/paste-code.js +1 -1
  235. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  236. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  237. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  238. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  239. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  240. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  241. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  242. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  243. package/es2021.en/plugins/translate/translate.css +1 -1
  244. package/es2021.en/plugins/translate/translate.js +1 -1
  245. package/es2021.en/plugins/translate/translate.min.js +1 -1
  246. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  247. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  248. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  249. package/es5/292.fat.min.js +1 -1
  250. package/es5/292.min.js +1 -1
  251. package/es5/889.fat.min.js +1 -1
  252. package/es5/889.min.js +1 -1
  253. package/es5/jodit.css +35 -66
  254. package/es5/jodit.fat.min.css +1 -1
  255. package/es5/jodit.fat.min.js +2 -2
  256. package/es5/jodit.js +129 -49
  257. package/es5/jodit.min.css +3 -3
  258. package/es5/jodit.min.js +2 -2
  259. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  260. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  261. package/es5/plugins/backup/backup.css +1 -1
  262. package/es5/plugins/backup/backup.js +1 -1
  263. package/es5/plugins/backup/backup.min.js +1 -1
  264. package/es5/plugins/button-generator/button-generator.css +1 -1
  265. package/es5/plugins/button-generator/button-generator.js +1 -1
  266. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  267. package/es5/plugins/change-case/change-case.js +1 -1
  268. package/es5/plugins/change-case/change-case.min.js +1 -1
  269. package/es5/plugins/color-picker/color-picker.css +1 -1
  270. package/es5/plugins/color-picker/color-picker.js +1 -1
  271. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  272. package/es5/plugins/emoji/emoji.css +1 -1
  273. package/es5/plugins/emoji/emoji.js +1 -1
  274. package/es5/plugins/emoji/emoji.min.js +1 -1
  275. package/es5/plugins/export-docs/export-docs.js +20 -18
  276. package/es5/plugins/export-docs/export-docs.min.js +2 -2
  277. package/es5/plugins/finder/finder.css +2 -3
  278. package/es5/plugins/finder/finder.js +1 -1
  279. package/es5/plugins/finder/finder.min.js +1 -1
  280. package/es5/plugins/google-maps/google-maps.css +1 -1
  281. package/es5/plugins/google-maps/google-maps.js +1 -1
  282. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  283. package/es5/plugins/google-search/google-search.js +1 -1
  284. package/es5/plugins/google-search/google-search.min.js +1 -1
  285. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  286. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  287. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  288. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  289. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  290. package/es5/plugins/keyboard/keyboard.css +1 -1
  291. package/es5/plugins/keyboard/keyboard.js +1 -1
  292. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  293. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  294. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  295. package/es5/plugins/page-break/page-break.js +1 -1
  296. package/es5/plugins/page-break/page-break.min.js +1 -1
  297. package/es5/plugins/paste-code/paste-code.css +1 -1
  298. package/es5/plugins/paste-code/paste-code.js +1 -1
  299. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  300. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  301. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  302. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  303. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  304. package/es5/plugins/todo-list/todo-list.css +1 -1
  305. package/es5/plugins/todo-list/todo-list.js +1 -1
  306. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  307. package/es5/plugins/translate/translate.css +1 -1
  308. package/es5/plugins/translate/translate.js +1 -1
  309. package/es5/plugins/translate/translate.min.js +1 -1
  310. package/es5/plugins/tune-block/tune-block.css +1 -1
  311. package/es5/plugins/tune-block/tune-block.js +1 -1
  312. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  313. package/esm/plugins/export-docs/config.d.ts +3 -0
  314. package/esm/plugins/export-docs/export-docs.js +1 -1
  315. package/package.json +1 -1
  316. package/types/plugins/export-docs/config.d.ts +3 -0
package/es2018/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.2.43
4
+ * Version: v4.2.50
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -2449,7 +2449,7 @@ __webpack_require__.r(__webpack_exports__);
2449
2449
  * Released under MIT see LICENSE.txt in the project root for license information.
2450
2450
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
2451
2451
  */
2452
- const APP_VERSION = "4.2.43";
2452
+ const APP_VERSION = "4.2.50";
2453
2453
  // prettier-ignore
2454
2454
  const ES = "es2018";
2455
2455
  const IS_ES_MODERN = true;
@@ -8264,10 +8264,10 @@ const buildQuery = (data, prefix) => {
8264
8264
  * Released under MIT see LICENSE.txt in the project root for license information.
8265
8265
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
8266
8266
  */
8267
-
8268
8267
  /**
8269
8268
  * @module helpers/utils
8270
8269
  */
8270
+
8271
8271
  const completeUrl = (url) => {
8272
8272
  if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.location.protocol === 'file:' && /^\/\//.test(url)) {
8273
8273
  url = 'https:' + url;
@@ -8283,8 +8283,9 @@ const completeUrl = (url) => {
8283
8283
 
8284
8284
  "use strict";
8285
8285
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8286
- /* harmony export */ V: function() { return /* binding */ ConfigFlatten; },
8287
- /* harmony export */ t: function() { return /* binding */ ConfigProto; }
8286
+ /* harmony export */ VL: function() { return /* binding */ ConfigFlatten; },
8287
+ /* harmony export */ pi: function() { return /* binding */ ConfigDeepFlatten; },
8288
+ /* harmony export */ tb: function() { return /* binding */ ConfigProto; }
8288
8289
  /* harmony export */ });
8289
8290
  /* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(55010);
8290
8291
  /* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
@@ -8375,6 +8376,31 @@ function ConfigFlatten(obj) {
8375
8376
  return app;
8376
8377
  }, {});
8377
8378
  }
8379
+ /**
8380
+ * Returns a plain object from a prototype-based object.
8381
+ * ```typescript
8382
+ * const editor = Jodit.make('#editor', {
8383
+ * image: {
8384
+ * dialogWidth: 500
8385
+ * }
8386
+ * });
8387
+ *
8388
+ * console.log(editor.o.image.openOnDblClick) // true
8389
+ * // But you can't get all options in plain object
8390
+ * console.log(JSON.stringify(editor.o.image)); // {"dialogWidth":500}
8391
+ *
8392
+ * const plain = Jodit.modules.Helpers.ConfigDeepFlatten(editor.o.image);
8393
+ * console.log(JSON.stringify(plain)); // {"dialogWidth":500, "openOnDblClick": true, "editSrc": true, ...}
8394
+ * ```
8395
+ */
8396
+ function ConfigDeepFlatten(obj) {
8397
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
8398
+ app[key] = (0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(obj[key])
8399
+ ? ConfigDeepFlatten(obj[key])
8400
+ : obj[key];
8401
+ return app;
8402
+ }, {});
8403
+ }
8378
8404
 
8379
8405
 
8380
8406
  /***/ }),
@@ -9006,8 +9032,9 @@ const humanSizeToBytes = (human) => {
9006
9032
  __webpack_require__.r(__webpack_exports__);
9007
9033
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9008
9034
  /* harmony export */ $$: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_23__.$$; },
9009
- /* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.V; },
9010
- /* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.t; },
9035
+ /* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.pi; },
9036
+ /* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.VL; },
9037
+ /* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.tb; },
9011
9038
  /* harmony export */ ConnectionError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.Rc; },
9012
9039
  /* harmony export */ LimitedStack: function() { return /* reexport safe */ _stack__WEBPACK_IMPORTED_MODULE_25__.d; },
9013
9040
  /* harmony export */ OptionsError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.ZW; },
@@ -11999,6 +12026,7 @@ function extractSelectedPart(wrapper, font, jodit) {
11999
12026
  }
12000
12027
  /**
12001
12028
  * Retrieves content before after the selected area, clears it if it is empty, and inserts before after the framed selection
12029
+ * @private
12002
12030
  */
12003
12031
  function extractAndMove(wrapper, range, left) {
12004
12032
  const fragment = range.extractContents();
@@ -13610,6 +13638,7 @@ class Dlgs {
13610
13638
  shadowRoot: this.o.shadowRoot,
13611
13639
  ownerWindow: this.o.ownerWindow,
13612
13640
  defaultTimeout: this.o.defaultTimeout,
13641
+ direction: this.o.direction,
13613
13642
  theme: this.o.theme,
13614
13643
  globalFullSize: this.o.globalFullSize,
13615
13644
  ...options
@@ -16982,11 +17011,11 @@ let View = View_1 = class View extends jodit_core_component_component__WEBPACK_I
16982
17011
  super.destruct();
16983
17012
  }
16984
17013
  };
16985
- // from webpack.config.js
17014
+ // from webpack.config.ts
16986
17015
  View.ES = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.ES;
16987
17016
  View.version = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.APP_VERSION;
16988
- View.esNext = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_NEXT; // from webpack.config.js
16989
- View.esModern = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_MODERN; // from webpack.config.js
17017
+ View.esNext = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_NEXT; // from webpack.config.ts
17018
+ View.esModern = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_MODERN; // from webpack.config.ts
16990
17019
  (0,tslib__WEBPACK_IMPORTED_MODULE_15__/* .__decorate */ .Cg)([
16991
17020
  jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
16992
17021
  ], View.prototype, "buffer", null);
@@ -17204,7 +17233,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
17204
17233
  : jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
17205
17234
  }
17206
17235
  /**
17207
- * Method wrap usual Has Object in Object helper for prevent deep object merging in options*
17236
+ * Method wrap usual object in Object helper for prevent deep object merging in options*
17237
+ * ```js
17238
+ * const editor = Jodit.make('#editor', {
17239
+ * controls: {
17240
+ * fontsize: {
17241
+ * list: Jodit.atom([8, 9, 10])
17242
+ * }
17243
+ * }
17244
+ * });
17245
+ * ```
17246
+ * In this case, the array [8, 9, 10] will not be combined with other arrays, but will replace them
17208
17247
  */
17209
17248
  static atom(object) {
17210
17249
  return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.markAsAtomic)(object);
@@ -18209,13 +18248,6 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
18209
18248
  })
18210
18249
  .on('blur', () => (this.editorIsActive = false));
18211
18250
  this.__prepareWYSIWYGEditor();
18212
- // direction
18213
- if (this.o.direction) {
18214
- const direction = this.o.direction.toLowerCase() === 'rtl' ? 'rtl' : 'ltr';
18215
- this.container.style.direction = direction;
18216
- this.container.setAttribute('dir', direction);
18217
- this.toolbar.setDirection(direction);
18218
- }
18219
18251
  if (this.o.triggerChangeEvent) {
18220
18252
  this.e.on('change', this.async.debounce(() => {
18221
18253
  this.e && this.e.fire(this.element, 'change');
@@ -18233,6 +18265,9 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
18233
18265
  const direction = this.o.direction.toLowerCase() === 'rtl' ? 'rtl' : 'ltr';
18234
18266
  this.editor.style.direction = direction;
18235
18267
  this.editor.setAttribute('dir', direction);
18268
+ this.container.style.direction = direction;
18269
+ this.container.setAttribute('dir', direction);
18270
+ this.toolbar.setDirection(direction);
18236
18271
  }
18237
18272
  // proxy events
18238
18273
  this.e
@@ -19227,6 +19262,10 @@ let Dialog = Dialog_1 = class Dialog extends jodit_core_view_view_with_toolbar__
19227
19262
  <div class="${n('resizer')}">${jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__/* .Icon */ .In.get('resize_handler')}</div>
19228
19263
  </div>
19229
19264
  </div>`);
19265
+ if (self.options.direction === 'rtl') {
19266
+ self.container.style.direction = 'rtl';
19267
+ self.container.setAttribute('dir', 'rtl');
19268
+ }
19230
19269
  if (this.o.zIndex) {
19231
19270
  this.container.style.zIndex = this.o.zIndex.toString();
19232
19271
  }
@@ -21769,6 +21808,7 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
21769
21808
  constructor() {
21770
21809
  super(...arguments);
21771
21810
  this.__isBlocked = false;
21811
+ this.__levelOfTransaction = 0;
21772
21812
  }
21773
21813
  /** @override */
21774
21814
  className() {
@@ -21849,6 +21889,7 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
21849
21889
  }
21850
21890
  transaction(changes) {
21851
21891
  this.__block(true);
21892
+ this.__levelOfTransaction += 1;
21852
21893
  try {
21853
21894
  changes();
21854
21895
  }
@@ -21857,7 +21898,12 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
21857
21898
  throw e;
21858
21899
  }
21859
21900
  }
21860
- this.__block(false);
21901
+ finally {
21902
+ this.__levelOfTransaction -= 1;
21903
+ if (this.__levelOfTransaction === 0) {
21904
+ this.__block(false);
21905
+ }
21906
+ }
21861
21907
  }
21862
21908
  /**
21863
21909
  * Creates object a snapshot of editor: html and the current selection. Current selection calculate by
@@ -24104,17 +24150,26 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
24104
24150
  if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
24105
24151
  const popup = this.openPopup();
24106
24152
  popup.parentElement = this;
24107
- if (this.j.e.fire((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.camelCase)(`before-${ctr.name}-open-popup`), this.target, ctr, popup) !== false) {
24108
- const target = (_c = (_b = (_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.getTarget(this)) !== null && _b !== void 0 ? _b : this.target) !== null && _c !== void 0 ? _c : null;
24109
- const elm = ctr.popup(this.j, target, this.__closePopup, this);
24110
- if (elm) {
24111
- popup
24112
- .setContent((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? this.j.c.fromHTML(elm) : elm)
24113
- .open(() => (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.position)(this.container), false, this.j.o.allowTabNavigation
24114
- ? this.container
24115
- : undefined);
24153
+ try {
24154
+ if (this.j.e.fire((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.camelCase)(`before-${ctr.name}-open-popup`), this.target, ctr, popup) !== false) {
24155
+ const target = (_c = (_b = (_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.getTarget(this)) !== null && _b !== void 0 ? _b : this.target) !== null && _c !== void 0 ? _c : null;
24156
+ const elm = ctr.popup(this.j, target, this.__closePopup, this);
24157
+ if (elm) {
24158
+ popup
24159
+ .setContent((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? this.j.c.fromHTML(elm) : elm)
24160
+ .open(() => (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.position)(this.container), false, this.j.o.allowTabNavigation
24161
+ ? this.container
24162
+ : undefined);
24163
+ }
24164
+ else {
24165
+ this.__closePopup();
24166
+ }
24116
24167
  }
24117
24168
  }
24169
+ catch (e) {
24170
+ this.__closePopup();
24171
+ throw e;
24172
+ }
24118
24173
  /**
24119
24174
  * Fired after the popup was opened for some control button
24120
24175
  */
@@ -26513,6 +26568,9 @@ __webpack_require__.r(__webpack_exports__);
26513
26568
  * Released under MIT see LICENSE.txt in the project root for license information.
26514
26569
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
26515
26570
  */
26571
+ /**
26572
+ * @module plugins/ai-assistant
26573
+ */
26516
26574
 
26517
26575
 
26518
26576
 
@@ -32505,7 +32563,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
32505
32563
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
32506
32564
  */
32507
32565
 
32508
- /** @private */
32566
+ /**
32567
+ * @private
32568
+ */
32509
32569
  function readAlign(image, values) {
32510
32570
  // Align
32511
32571
  if (image.style.cssFloat &&
@@ -32626,6 +32686,9 @@ function readLink(state, j, values) {
32626
32686
  * Released under MIT see LICENSE.txt in the project root for license information.
32627
32687
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
32628
32688
  */
32689
+ /**
32690
+ * @module plugins/image-properties
32691
+ */
32629
32692
 
32630
32693
  /** @private */
32631
32694
  function readMargins(image, values, state) {
@@ -32669,6 +32732,9 @@ function readMargins(image, values, state) {
32669
32732
  * Released under MIT see LICENSE.txt in the project root for license information.
32670
32733
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
32671
32734
  */
32735
+ /**
32736
+ * @module plugins/image-properties
32737
+ */
32672
32738
 
32673
32739
 
32674
32740
 
@@ -33482,6 +33548,9 @@ function openImagePopup(j, dialog, state, button) {
33482
33548
  * Released under MIT see LICENSE.txt in the project root for license information.
33483
33549
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
33484
33550
  */
33551
+ /**
33552
+ * @module plugins/image-properties
33553
+ */
33485
33554
 
33486
33555
 
33487
33556
  /** @private */
@@ -33670,6 +33739,9 @@ function applyMargin(j, marginTop, marginRight, marginBottom, marginLeft, image,
33670
33739
  * Released under MIT see LICENSE.txt in the project root for license information.
33671
33740
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
33672
33741
  */
33742
+ /**
33743
+ * @module plugins/image-properties
33744
+ */
33673
33745
 
33674
33746
 
33675
33747
 
@@ -40656,6 +40728,10 @@ class AceEditor extends jodit_plugins_source_editor_sourceEditor__WEBPACK_IMPORT
40656
40728
  this.container.appendChild(fakeMirror);
40657
40729
  const ace = editor.ow.ace;
40658
40730
  this.instance = ace.edit(fakeMirror);
40731
+ if (editor.o.direction === 'rtl') {
40732
+ this.instance.setOption('rtlText', true);
40733
+ this.instance.setOption('rtl', true);
40734
+ }
40659
40735
  this.instance.setTheme(editor.o.sourceEditorNativeOptions.theme);
40660
40736
  this.instance.renderer.setShowGutter(editor.o.sourceEditorNativeOptions.showGutter);
40661
40737
  this.instance
@@ -40819,7 +40895,8 @@ class TextAreaEditor extends jodit_plugins_source_editor_sourceEditor__WEBPACK_I
40819
40895
  }
40820
40896
  init(editor) {
40821
40897
  this.instance = editor.c.element('textarea', {
40822
- class: 'jodit-source__mirror'
40898
+ class: 'jodit-source__mirror',
40899
+ dir: editor.o.direction === 'rtl' ? 'rtl' : undefined
40823
40900
  });
40824
40901
  this.container.appendChild(this.instance);
40825
40902
  editor.e
@@ -42426,14 +42503,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.sym
42426
42503
  editor.e.on(container, 'close_dialog', close);
42427
42504
  return box;
42428
42505
  }
42429
- else {
42430
- editor
42431
- .alert(container, 'Select Special Character', undefined, 'jodit-symbols')
42432
- .bindDestruct(editor);
42433
- const a = container.querySelector('a');
42434
- a && a.focus();
42435
- }
42506
+ editor
42507
+ .alert(container, 'Select Special Character', undefined, 'jodit-symbols')
42508
+ .bindDestruct(editor);
42509
+ const a = container.querySelector('a');
42510
+ a && a.focus();
42436
42511
  }
42512
+ return;
42437
42513
  }
42438
42514
  };
42439
42515
 
@@ -42950,17 +43026,15 @@ module.exports = {
42950
43026
  class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .k {
42951
43027
  constructor(jodit) {
42952
43028
  super(jodit);
42953
- /** @override */
42954
43029
  this.buttons = [
42955
43030
  {
42956
43031
  name: 'symbols',
42957
43032
  group: 'insert'
42958
43033
  }
42959
43034
  ];
42960
- this.countInRow = 17;
43035
+ this.__countInRow = 17;
42961
43036
  (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_6__);
42962
43037
  }
42963
- /** @override */
42964
43038
  afterInit(jodit) {
42965
43039
  jodit.e.on('generateSpecialCharactersTable.symbols', () => {
42966
43040
  const container = jodit.c.fromHTML(`<div class="jodit-symbols__container">
@@ -42970,10 +43044,15 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
42970
43044
  <div class="jodit-symbols__container_preview">
42971
43045
  <div class="jodit-symbols__preview"></div>
42972
43046
  </div>
42973
- </div>`), preview = container.querySelector('.jodit-symbols__preview'), table = container.querySelector('table'), body = table.tBodies[0], chars = [];
43047
+ </div>`);
43048
+ const preview = container.querySelector('.jodit-symbols__preview');
43049
+ const table = container.querySelector('table');
43050
+ const body = table.tBodies[0];
43051
+ const chars = [];
42974
43052
  for (let i = 0; i < jodit.o.specialCharacters.length;) {
42975
43053
  const tr = jodit.c.element('tr');
42976
- for (let j = 0; j < this.countInRow && i < jodit.o.specialCharacters.length; j += 1, i += 1) {
43054
+ for (let j = 0; j < this.__countInRow &&
43055
+ i < jodit.o.specialCharacters.length; j += 1, i += 1) {
42977
43056
  const td = jodit.c.element('td'), a = jodit.c.fromHTML(`<a
42978
43057
  data-index="${i}"
42979
43058
  data-index-j="${j}"
@@ -42995,7 +43074,9 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
42995
43074
  if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(this, 'a')) {
42996
43075
  jodit.s.focus();
42997
43076
  jodit.s.insertHTML(this.innerHTML);
42998
- jodit.e.fire(this, 'close_dialog');
43077
+ if (!(e === null || e === void 0 ? void 0 : e.shiftKey)) {
43078
+ jodit.e.fire(this, 'close_dialog');
43079
+ }
42999
43080
  e && e.preventDefault();
43000
43081
  e && e.stopImmediatePropagation();
43001
43082
  }
@@ -43015,18 +43096,18 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
43015
43096
  case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
43016
43097
  newIndex =
43017
43098
  e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
43018
- ? index - self.countInRow
43019
- : index + self.countInRow;
43099
+ ? index - self.__countInRow
43100
+ : index + self.__countInRow;
43020
43101
  if (chars[newIndex] === undefined) {
43021
43102
  newIndex =
43022
43103
  e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
43023
43104
  ? Math.floor(chars.length /
43024
- self.countInRow) *
43025
- self.countInRow +
43105
+ self.__countInRow) *
43106
+ self.__countInRow +
43026
43107
  jIndex
43027
43108
  : jIndex;
43028
43109
  if (newIndex > chars.length - 1) {
43029
- newIndex -= self.countInRow;
43110
+ newIndex -= self.__countInRow;
43030
43111
  }
43031
43112
  }
43032
43113
  chars[newIndex] && chars[newIndex].focus();