jodit-pro 4.2.35 → 4.2.40

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 (314) hide show
  1. package/es2015/889.fat.min.js +1 -1
  2. package/es2015/889.min.js +1 -1
  3. package/es2015/jodit.css +7 -1
  4. package/es2015/jodit.fat.min.css +1 -1
  5. package/es2015/jodit.fat.min.js +2 -2
  6. package/es2015/jodit.js +111 -57
  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 +1 -1
  26. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  27. package/es2015/plugins/finder/finder.css +1 -1
  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 +7 -1
  66. package/es2018/jodit.fat.min.css +1 -1
  67. package/es2018/jodit.fat.min.js +2 -2
  68. package/es2018/jodit.js +111 -57
  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 +1 -1
  88. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  89. package/es2018/plugins/finder/finder.css +1 -1
  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 +7 -1
  128. package/es2021/jodit.fat.min.css +1 -1
  129. package/es2021/jodit.fat.min.js +2 -2
  130. package/es2021/jodit.js +111 -56
  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 +1 -1
  150. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  151. package/es2021/plugins/finder/finder.css +1 -1
  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 +7 -1
  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 +111 -56
  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 +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/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 +2 -2
  250. package/es5/292.js +6 -6
  251. package/es5/292.min.js +2 -2
  252. package/es5/889.fat.min.js +1 -1
  253. package/es5/889.min.js +1 -1
  254. package/es5/jodit.css +11 -2
  255. package/es5/jodit.fat.min.css +1 -1
  256. package/es5/jodit.fat.min.js +2 -2
  257. package/es5/jodit.js +118 -72
  258. package/es5/jodit.min.css +3 -3
  259. package/es5/jodit.min.js +2 -2
  260. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  261. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  262. package/es5/plugins/backup/backup.css +1 -1
  263. package/es5/plugins/backup/backup.js +1 -1
  264. package/es5/plugins/backup/backup.min.js +1 -1
  265. package/es5/plugins/button-generator/button-generator.css +1 -1
  266. package/es5/plugins/button-generator/button-generator.js +1 -1
  267. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  268. package/es5/plugins/change-case/change-case.js +1 -1
  269. package/es5/plugins/change-case/change-case.min.js +1 -1
  270. package/es5/plugins/color-picker/color-picker.css +1 -1
  271. package/es5/plugins/color-picker/color-picker.js +1 -1
  272. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  273. package/es5/plugins/emoji/emoji.css +1 -1
  274. package/es5/plugins/emoji/emoji.js +1 -1
  275. package/es5/plugins/emoji/emoji.min.js +1 -1
  276. package/es5/plugins/export-docs/export-docs.js +1 -1
  277. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  278. package/es5/plugins/finder/finder.css +1 -1
  279. package/es5/plugins/finder/finder.js +1 -1
  280. package/es5/plugins/finder/finder.min.js +1 -1
  281. package/es5/plugins/google-maps/google-maps.css +1 -1
  282. package/es5/plugins/google-maps/google-maps.js +1 -1
  283. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  284. package/es5/plugins/google-search/google-search.js +1 -1
  285. package/es5/plugins/google-search/google-search.min.js +1 -1
  286. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  287. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  288. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  289. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  290. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  291. package/es5/plugins/keyboard/keyboard.css +1 -1
  292. package/es5/plugins/keyboard/keyboard.js +1 -1
  293. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  294. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  295. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  296. package/es5/plugins/page-break/page-break.js +1 -1
  297. package/es5/plugins/page-break/page-break.min.js +1 -1
  298. package/es5/plugins/paste-code/paste-code.css +1 -1
  299. package/es5/plugins/paste-code/paste-code.js +1 -1
  300. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  301. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  302. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  303. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  304. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  305. package/es5/plugins/todo-list/todo-list.css +1 -1
  306. package/es5/plugins/todo-list/todo-list.js +1 -1
  307. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  308. package/es5/plugins/translate/translate.css +1 -1
  309. package/es5/plugins/translate/translate.js +1 -1
  310. package/es5/plugins/translate/translate.min.js +1 -1
  311. package/es5/plugins/tune-block/tune-block.css +1 -1
  312. package/es5/plugins/tune-block/tune-block.js +1 -1
  313. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  314. package/package.json +1 -1
@@ -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.35
4
+ * Version: v4.2.40
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -2303,7 +2303,7 @@ __webpack_require__.r(__webpack_exports__);
2303
2303
  * Released under MIT see LICENSE.txt in the project root for license information.
2304
2304
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
2305
2305
  */
2306
- const APP_VERSION = "4.2.35";
2306
+ const APP_VERSION = "4.2.40";
2307
2307
  // prettier-ignore
2308
2308
  const ES = "es2021";
2309
2309
  const IS_ES_MODERN = true;
@@ -8239,11 +8239,12 @@ function ConfigFlatten(obj) {
8239
8239
  /**
8240
8240
  * Javascript url pattern converter replace youtube/vimeo url in embed code.
8241
8241
  */
8242
- const convertMediaUrlToVideoEmbed = (url, width = 400, height = 345) => {
8242
+ const convertMediaUrlToVideoEmbed = (url, { width = 400, height = 345 } = {}) => {
8243
8243
  if (!(0,jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_1__/* .isURL */ .m)(url)) {
8244
8244
  return url;
8245
8245
  }
8246
- const parser = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('a'), pattern1 = /(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;
8246
+ const parser = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('a');
8247
+ const pattern1 = /(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;
8247
8248
  parser.href = url;
8248
8249
  if (!width) {
8249
8250
  width = 400;
@@ -8270,7 +8271,10 @@ const convertMediaUrlToVideoEmbed = (url, width = 400, height = 345) => {
8270
8271
  case 'www.youtu.be': {
8271
8272
  const query = parser.search
8272
8273
  ? (0,_parse_query__WEBPACK_IMPORTED_MODULE_2__/* .parseQuery */ .m)(parser.search)
8273
- : { v: parser.pathname.substr(1) };
8274
+ : { v: parser.pathname.substring(1) };
8275
+ if (/^embed\/.*/.test(query.v)) {
8276
+ query.v = query.v.substring(6);
8277
+ }
8274
8278
  return query.v
8275
8279
  ? '<iframe width="' +
8276
8280
  width +
@@ -13978,6 +13982,7 @@ const JODIT_EVENTS_ON_HIDE = [
13978
13982
  'changePlace.tooltip',
13979
13983
  'afterOpenPopup.tooltip',
13980
13984
  'hidePopup.tooltip',
13985
+ 'beforePopupClose.tooltip',
13981
13986
  'closeAllPopups.tooltip'
13982
13987
  ];
13983
13988
  let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_5__/* .UIElement */ .D {
@@ -13990,6 +13995,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
13990
13995
  constructor(view) {
13991
13996
  super(view);
13992
13997
  this.__isOpened = false;
13998
+ this.__attachedContainers = new Set();
13993
13999
  this.__listenClose = false;
13994
14000
  this.__currentTarget = null;
13995
14001
  this.__delayShowTimeout = 0;
@@ -14008,7 +14014,16 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
14008
14014
  __onAttach(container) {
14009
14015
  // TODO Move it inside __show method. Now it is here because testcase failed with capturing
14010
14016
  (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .getContainer */ .My)(this.j, UITooltip_1).appendChild(this.container);
14011
- this.j.e.on(container, 'mouseenter.tooltip', this.__onMouseEnter, {
14017
+ this.__attachedContainers.add(container);
14018
+ this.__attachedContainers.add(this.j.container);
14019
+ this.j.e
14020
+ .on(container, 'mouseenter.tooltip', this.__onMouseEnter, {
14021
+ capture: true
14022
+ })
14023
+ .on(container, 'mouseleave.tooltip', this.__onMouseLeave, {
14024
+ capture: true
14025
+ })
14026
+ .on(this.j.container, 'mouseleave.tooltip', this.__onMouseLeave, {
14012
14027
  capture: true
14013
14028
  });
14014
14029
  }
@@ -14020,10 +14035,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
14020
14035
  const view = this.j;
14021
14036
  view.e
14022
14037
  .on(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
14023
- .on(JODIT_EVENTS_ON_HIDE, this.__hide)
14024
- .on(view.container, 'mouseleave.tooltip', this.__onMouseLeave, {
14025
- capture: true
14026
- });
14038
+ .on(JODIT_EVENTS_ON_HIDE, this.__hide);
14027
14039
  }
14028
14040
  __removeListenersOnLeave() {
14029
14041
  if (!this.__listenClose) {
@@ -14033,8 +14045,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
14033
14045
  const view = this.j;
14034
14046
  view.e
14035
14047
  .off(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
14036
- .off(JODIT_EVENTS_ON_HIDE, this.__hide)
14037
- .off(view.container, 'mouseleave.tooltip', this.__onMouseLeave);
14048
+ .off(JODIT_EVENTS_ON_HIDE, this.__hide);
14038
14049
  }
14039
14050
  __onMouseLeave(e) {
14040
14051
  if (this.__currentTarget === e.target) {
@@ -14111,7 +14122,11 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
14111
14122
  this.__hideTimeout = this.async.setTimeout(this.__hide, this.j.defaultTimeout);
14112
14123
  }
14113
14124
  destruct() {
14114
- this.j.e.off(this.j.container, 'mouseenter.tooltip', this.__onMouseEnter);
14125
+ this.__attachedContainers.forEach(container => {
14126
+ this.j.e
14127
+ .off(container, 'mouseenter.tooltip', this.__onMouseEnter)
14128
+ .off(container, 'mouseleave.tooltip', this.__onMouseLeave);
14129
+ });
14115
14130
  this.__hide();
14116
14131
  super.destruct();
14117
14132
  }
@@ -16330,17 +16345,18 @@ class ProgressBar extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__/* .
16330
16345
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
16331
16346
  /* harmony export */ T: function() { return /* binding */ ViewWithToolbar; }
16332
16347
  /* harmony export */ });
16333
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(31635);
16348
+ /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(31635);
16334
16349
  /* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33894);
16335
- /* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(33442);
16350
+ /* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(33442);
16336
16351
  /* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(24014);
16337
16352
  /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23545);
16338
16353
  /* harmony import */ var jodit_core_helpers_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23462);
16339
- /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26986);
16354
+ /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(26986);
16340
16355
  /* harmony import */ var jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(52989);
16341
- /* harmony import */ var jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(73246);
16342
- /* harmony import */ var jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50313);
16343
- /* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(78072);
16356
+ /* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(76185);
16357
+ /* harmony import */ var jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(73246);
16358
+ /* harmony import */ var jodit_core_view_view__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(50313);
16359
+ /* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(78072);
16344
16360
  /*!
16345
16361
  * Jodit Editor (https://xdsoft.net/jodit/)
16346
16362
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -16358,13 +16374,14 @@ class ProgressBar extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__/* .
16358
16374
 
16359
16375
 
16360
16376
 
16361
- class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/* .View */ .S {
16377
+
16378
+ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_6__/* .View */ .S {
16362
16379
  /**
16363
16380
  * Container for toolbar
16364
16381
  */
16365
16382
  get toolbarContainer() {
16366
16383
  if (!this.o.fullsize &&
16367
- ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_7__/* .isString */ .K)(this.o.toolbar) || jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isHTMLElement(this.o.toolbar))) {
16384
+ ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_8__/* .isString */ .K)(this.o.toolbar) || jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isHTMLElement(this.o.toolbar))) {
16368
16385
  return (0,jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_4__/* .resolveElement */ .tI)(this.o.toolbar, this.o.shadowRoot || this.od);
16369
16386
  }
16370
16387
  this.o.toolbar &&
@@ -16436,7 +16453,7 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
16436
16453
  beforeToolbarBuild(items) {
16437
16454
  if (Object.keys(this.groupToButtons).length) {
16438
16455
  return items.map(item => {
16439
- if ((0,jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_8__/* .isButtonGroup */ .i)(item) &&
16456
+ if ((0,jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_9__/* .isButtonGroup */ .i)(item) &&
16440
16457
  item.group &&
16441
16458
  this.groupToButtons[item.group]) {
16442
16459
  return {
@@ -16454,11 +16471,12 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
16454
16471
  /** @override **/
16455
16472
  constructor(options, isJodit = false) {
16456
16473
  super(options, isJodit);
16457
- this.toolbar = (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_6__/* .makeCollection */ .$K)(this);
16474
+ this.toolbar = (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_7__/* .makeCollection */ .$K)(this);
16458
16475
  this.__defaultToolbarContainer = this.c.div('jodit-toolbar__box');
16459
16476
  this.registeredButtons = new Set();
16460
16477
  this.groupToButtons = {};
16461
16478
  this.isJodit = false;
16479
+ this.__tooltip = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__/* .UITooltip */ .SB(this);
16462
16480
  this.isJodit = isJodit;
16463
16481
  this.e.on('beforeToolbarBuild', this.beforeToolbarBuild);
16464
16482
  }
@@ -16468,17 +16486,18 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
16468
16486
  }
16469
16487
  this.setStatus(jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
16470
16488
  this.e.off('beforeToolbarBuild', this.beforeToolbarBuild);
16489
+ this.__tooltip.destruct();
16471
16490
  this.toolbar.destruct();
16472
16491
  // @ts-ignore After destruct, we are not responsible for anything
16473
16492
  this.toolbar = undefined;
16474
16493
  super.destruct();
16475
16494
  }
16476
16495
  }
16477
- (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
16496
+ (0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .Cg)([
16478
16497
  (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':rebuildToolbar')
16479
16498
  ], ViewWithToolbar.prototype, "buildToolbar", null);
16480
- (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
16481
- jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Ay
16499
+ (0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .Cg)([
16500
+ jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Ay
16482
16501
  ], ViewWithToolbar.prototype, "beforeToolbarBuild", null);
16483
16502
 
16484
16503
 
@@ -24235,7 +24254,6 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
24235
24254
  super(jodit);
24236
24255
  this.__listenEvents = 'updatePlugins updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize ' +
24237
24256
  'selectionchange changeSelection focus afterSetMode touchstart focus blur';
24238
- this.__tooltip = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UITooltip */ .SB(this.jodit);
24239
24257
  }
24240
24258
  __initEvents() {
24241
24259
  this.j.e
@@ -24265,8 +24283,6 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
24265
24283
  if (this.isDestructed) {
24266
24284
  return;
24267
24285
  }
24268
- this.__tooltip?.destruct();
24269
- this.__tooltip = null;
24270
24286
  this.j.e
24271
24287
  .off(this.__listenEvents, this.update)
24272
24288
  .off('afterSetMode focus', this.__immediateUpdate);
@@ -29793,9 +29809,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('enter
29793
29809
  */
29794
29810
  function checkBR(fake, jodit, shiftKeyPressed) {
29795
29811
  const isMultiLineBlock = Boolean(jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.closest(fake, ['pre', 'blockquote'], jodit.editor));
29812
+ const isCell = !isMultiLineBlock && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.closest(fake, ['td', 'th'], jodit.editor);
29796
29813
  const isBRMode = jodit.o.enter.toLowerCase() === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.BR.toLowerCase();
29797
29814
  // if you use <br> defaultTag for break line or when was entered SHIFt key or in <td> or <th> or <blockquote>
29798
29815
  if (isBRMode ||
29816
+ isCell ||
29799
29817
  (shiftKeyPressed && !isMultiLineBlock) ||
29800
29818
  (!shiftKeyPressed && isMultiLineBlock)) {
29801
29819
  // 2 BR before
@@ -33272,6 +33290,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
33272
33290
 
33273
33291
 
33274
33292
 
33293
+ // import 'jodit/plugins/debug/debug';
33275
33294
 
33276
33295
 
33277
33296
 
@@ -33901,10 +33920,10 @@ class inlinePopup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plug
33901
33920
  if (!this.j.o.toolbarInlineForSelection) {
33902
33921
  return;
33903
33922
  }
33904
- const type = 'selection', sel = this.j.s.sel, range = this.j.s.range;
33905
- if (sel?.isCollapsed ||
33906
- this.isSelectedTarget(range) ||
33907
- this.tableModule.getAllSelectedCells().length) {
33923
+ const type = 'selection';
33924
+ const sel = this.j.s.sel;
33925
+ const range = this.j.s.range;
33926
+ if (sel?.isCollapsed || this.isSelectedTarget(range)) {
33908
33927
  if (this.type === type && this.popup.isOpened) {
33909
33928
  this.hidePopup();
33910
33929
  }
@@ -33929,9 +33948,9 @@ class inlinePopup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plug
33929
33948
  /**
33930
33949
  * Shortcut for Table module
33931
33950
  */
33932
- get tableModule() {
33933
- return this.j.getInstance('Table', this.j.o);
33934
- }
33951
+ // private get tableModule(): Table {
33952
+ // return this.j.getInstance<Table>('Table', this.j.o);
33953
+ // }
33935
33954
  /** @override **/
33936
33955
  beforeDestruct(jodit) {
33937
33956
  jodit.e
@@ -34656,7 +34675,11 @@ class link extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .
34656
34675
  }
34657
34676
  jodit.e.stopPropagation('processPaste');
34658
34677
  if (jodit.o.link.processVideoLink) {
34659
- const embed = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.convertMediaUrlToVideoEmbed)(html);
34678
+ const embed = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.call)(jodit.o.video?.parseUrlToVideoEmbed ??
34679
+ jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.convertMediaUrlToVideoEmbed, html, {
34680
+ width: jodit.o.video?.defaultWidth,
34681
+ height: jodit.o.video?.defaultHeight
34682
+ });
34660
34683
  if (embed !== html) {
34661
34684
  return jodit.createInside.fromHTML(embed);
34662
34685
  }
@@ -41620,12 +41643,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
41620
41643
 
41621
41644
 
41622
41645
 
41646
+ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.video = {
41647
+ parseUrlToVideoEmbed: jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.convertMediaUrlToVideoEmbed,
41648
+ defaultWidth: 400,
41649
+ defaultHeight: 345
41650
+ };
41623
41651
  jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
41624
41652
  jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
41625
- popup: (editor, current, close) => {
41626
- const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
41627
- new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
41628
- new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(editor, {
41653
+ popup: (jodit, current, close) => {
41654
+ const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(jodit, [
41655
+ new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
41656
+ new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
41629
41657
  name: 'url',
41630
41658
  required: true,
41631
41659
  label: 'URL',
@@ -41633,26 +41661,26 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.vid
41633
41661
  validators: ['url']
41634
41662
  })
41635
41663
  ]),
41636
- new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
41637
- (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(editor, '', 'Insert', 'primary').onAction(() => formLink.submit())
41664
+ new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
41665
+ (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(jodit, '', 'Insert', 'primary').onAction(() => formLink.submit())
41638
41666
  ])
41639
- ]), formCode = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
41640
- new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
41641
- new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UITextArea */ .F0(editor, {
41667
+ ]), formCode = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(jodit, [
41668
+ new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
41669
+ new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UITextArea */ .F0(jodit, {
41642
41670
  name: 'code',
41643
41671
  required: true,
41644
41672
  label: 'Embed code'
41645
41673
  })
41646
41674
  ]),
41647
- new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
41648
- (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(editor, '', 'Insert', 'primary').onAction(() => formCode.submit())
41675
+ new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
41676
+ (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(jodit, '', 'Insert', 'primary').onAction(() => formCode.submit())
41649
41677
  ])
41650
41678
  ]), tabs = [], insertCode = (code) => {
41651
- editor.s.restore();
41652
- editor.s.insertHTML(code);
41679
+ jodit.s.restore();
41680
+ jodit.s.insertHTML(code);
41653
41681
  close();
41654
41682
  };
41655
- editor.s.save();
41683
+ jodit.s.save();
41656
41684
  tabs.push({
41657
41685
  icon: 'link',
41658
41686
  name: 'Link',
@@ -41663,12 +41691,16 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.vid
41663
41691
  content: formCode.container
41664
41692
  });
41665
41693
  formLink.onSubmit(data => {
41666
- insertCode((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.convertMediaUrlToVideoEmbed)(data.url));
41694
+ insertCode((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.call)(jodit.o.video?.parseUrlToVideoEmbed ??
41695
+ jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.convertMediaUrlToVideoEmbed, data.url, {
41696
+ width: jodit.o.video?.defaultWidth,
41697
+ height: jodit.o.video?.defaultHeight
41698
+ }));
41667
41699
  });
41668
41700
  formCode.onSubmit(data => {
41669
41701
  insertCode(data.code);
41670
41702
  });
41671
- return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
41703
+ return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(jodit, tabs);
41672
41704
  },
41673
41705
  tags: ['iframe'],
41674
41706
  tooltip: 'Insert youtube/vimeo video'
@@ -44451,7 +44483,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__41324__;
44451
44483
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
44452
44484
  /* harmony export */ Cg: function() { return /* binding */ __decorate; }
44453
44485
  /* harmony export */ });
44454
- /* unused harmony exports __extends, __assign, __rest, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources */
44486
+ /* unused harmony exports __extends, __assign, __rest, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources, __rewriteRelativeImportExtension */
44455
44487
  /******************************************************************************
44456
44488
  Copyright (c) Microsoft Corporation.
44457
44489
 
@@ -44717,10 +44749,19 @@ var __setModuleDefault = Object.create ? (function(o, v) {
44717
44749
  o["default"] = v;
44718
44750
  };
44719
44751
 
44752
+ var ownKeys = function(o) {
44753
+ ownKeys = Object.getOwnPropertyNames || function (o) {
44754
+ var ar = [];
44755
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
44756
+ return ar;
44757
+ };
44758
+ return ownKeys(o);
44759
+ };
44760
+
44720
44761
  function __importStar(mod) {
44721
44762
  if (mod && mod.__esModule) return mod;
44722
44763
  var result = {};
44723
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
44764
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44724
44765
  __setModuleDefault(result, mod);
44725
44766
  return result;
44726
44767
  }
@@ -44801,12 +44842,25 @@ function __disposeResources(env) {
44801
44842
  return next();
44802
44843
  }
44803
44844
 
44845
+ function __rewriteRelativeImportExtension(path, preserveJsx) {
44846
+ if (typeof path === "string" && /^\.\.?\//.test(path)) {
44847
+ return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
44848
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
44849
+ });
44850
+ }
44851
+ return path;
44852
+ }
44853
+
44804
44854
  /* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ({
44805
44855
  __extends,
44806
44856
  __assign,
44807
44857
  __rest,
44808
44858
  __decorate,
44809
44859
  __param,
44860
+ __esDecorate,
44861
+ __runInitializers,
44862
+ __propKey,
44863
+ __setFunctionName,
44810
44864
  __metadata,
44811
44865
  __awaiter,
44812
44866
  __generator,
@@ -44829,6 +44883,7 @@ function __disposeResources(env) {
44829
44883
  __classPrivateFieldIn,
44830
44884
  __addDisposableResource,
44831
44885
  __disposeResources,
44886
+ __rewriteRelativeImportExtension,
44832
44887
  });
44833
44888
 
44834
44889
 
@@ -45114,7 +45169,7 @@ function __disposeResources(env) {
45114
45169
  /******/
45115
45170
  /************************************************************************/
45116
45171
  var __webpack_exports__ = {};
45117
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
45172
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
45118
45173
  !function() {
45119
45174
  "use strict";
45120
45175
  __webpack_require__.r(__webpack_exports__);