jodit-pro 4.11.29 → 4.12.3

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 (319) hide show
  1. package/es2015/jodit.css +1 -1
  2. package/es2015/jodit.fat.min.js +8 -11
  3. package/es2015/jodit.js +86 -5
  4. package/es2015/jodit.min.js +4 -4
  5. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  6. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +161 -29
  7. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +4 -7
  8. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  9. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  10. package/es2015/plugins/backup/backup.css +1 -1
  11. package/es2015/plugins/backup/backup.js +1 -1
  12. package/es2015/plugins/backup/backup.min.js +1 -1
  13. package/es2015/plugins/button-generator/button-generator.css +1 -1
  14. package/es2015/plugins/button-generator/button-generator.js +1 -1
  15. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  16. package/es2015/plugins/change-case/change-case.js +1 -1
  17. package/es2015/plugins/change-case/change-case.min.js +1 -1
  18. package/es2015/plugins/color-picker/color-picker.css +1 -1
  19. package/es2015/plugins/color-picker/color-picker.js +1 -1
  20. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  21. package/es2015/plugins/emoji/emoji.css +1 -1
  22. package/es2015/plugins/emoji/emoji.js +1 -1
  23. package/es2015/plugins/emoji/emoji.min.js +1 -1
  24. package/es2015/plugins/export-docs/export-docs.js +1 -1
  25. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  26. package/es2015/plugins/finder/finder.css +1 -1
  27. package/es2015/plugins/finder/finder.js +2 -2
  28. package/es2015/plugins/finder/finder.min.js +2 -2
  29. package/es2015/plugins/google-maps/google-maps.css +1 -1
  30. package/es2015/plugins/google-maps/google-maps.js +1 -1
  31. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  32. package/es2015/plugins/google-search/google-search.js +1 -1
  33. package/es2015/plugins/google-search/google-search.min.js +1 -1
  34. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  35. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  36. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  37. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  38. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  39. package/es2015/plugins/keyboard/keyboard.css +1 -1
  40. package/es2015/plugins/keyboard/keyboard.js +1 -1
  41. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  42. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  43. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  44. package/es2015/plugins/page-break/page-break.js +1 -1
  45. package/es2015/plugins/page-break/page-break.min.js +1 -1
  46. package/es2015/plugins/paste-code/paste-code.css +1 -1
  47. package/es2015/plugins/paste-code/paste-code.js +1 -1
  48. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  49. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  50. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  51. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  52. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  53. package/es2015/plugins/style/style.css +1 -1
  54. package/es2015/plugins/style/style.js +1 -1
  55. package/es2015/plugins/style/style.min.js +1 -1
  56. package/es2015/plugins/templates/templates.css +1 -1
  57. package/es2015/plugins/templates/templates.js +1 -1
  58. package/es2015/plugins/templates/templates.min.js +1 -1
  59. package/es2015/plugins/todo-list/todo-list.css +1 -1
  60. package/es2015/plugins/todo-list/todo-list.js +1 -1
  61. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  62. package/es2015/plugins/translate/translate.css +1 -1
  63. package/es2015/plugins/translate/translate.js +1 -1
  64. package/es2015/plugins/translate/translate.min.js +1 -1
  65. package/es2015/plugins/tune-block/tune-block.css +1 -1
  66. package/es2015/plugins/tune-block/tune-block.js +1 -1
  67. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  68. package/es2018/jodit.fat.min.js +10 -13
  69. package/es2018/jodit.min.js +4 -4
  70. package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +5 -8
  71. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  72. package/es2018/plugins/backup/backup.min.js +1 -1
  73. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  74. package/es2018/plugins/change-case/change-case.min.js +1 -1
  75. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  76. package/es2018/plugins/emoji/emoji.min.js +1 -1
  77. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  78. package/es2018/plugins/finder/finder.min.js +2 -2
  79. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  80. package/es2018/plugins/google-search/google-search.min.js +1 -1
  81. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  82. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  83. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  84. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  85. package/es2018/plugins/page-break/page-break.min.js +1 -1
  86. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  87. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  88. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  89. package/es2018/plugins/style/style.min.js +1 -1
  90. package/es2018/plugins/templates/templates.min.js +1 -1
  91. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  92. package/es2018/plugins/translate/translate.min.js +1 -1
  93. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  94. package/es2021/jodit.css +1 -1
  95. package/es2021/jodit.fat.min.js +12 -15
  96. package/es2021/jodit.js +86 -5
  97. package/es2021/jodit.min.js +5 -5
  98. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  99. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +154 -29
  100. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +5 -8
  101. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  102. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  103. package/es2021/plugins/backup/backup.css +1 -1
  104. package/es2021/plugins/backup/backup.js +1 -1
  105. package/es2021/plugins/backup/backup.min.js +1 -1
  106. package/es2021/plugins/button-generator/button-generator.css +1 -1
  107. package/es2021/plugins/button-generator/button-generator.js +1 -1
  108. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  109. package/es2021/plugins/change-case/change-case.js +1 -1
  110. package/es2021/plugins/change-case/change-case.min.js +1 -1
  111. package/es2021/plugins/color-picker/color-picker.css +1 -1
  112. package/es2021/plugins/color-picker/color-picker.js +1 -1
  113. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  114. package/es2021/plugins/emoji/emoji.css +1 -1
  115. package/es2021/plugins/emoji/emoji.js +1 -1
  116. package/es2021/plugins/emoji/emoji.min.js +1 -1
  117. package/es2021/plugins/export-docs/export-docs.js +1 -1
  118. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  119. package/es2021/plugins/finder/finder.css +1 -1
  120. package/es2021/plugins/finder/finder.js +2 -2
  121. package/es2021/plugins/finder/finder.min.js +2 -2
  122. package/es2021/plugins/google-maps/google-maps.css +1 -1
  123. package/es2021/plugins/google-maps/google-maps.js +1 -1
  124. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  125. package/es2021/plugins/google-search/google-search.js +1 -1
  126. package/es2021/plugins/google-search/google-search.min.js +1 -1
  127. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  128. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  129. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  130. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  131. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  132. package/es2021/plugins/keyboard/keyboard.css +1 -1
  133. package/es2021/plugins/keyboard/keyboard.js +1 -1
  134. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  135. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  136. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  137. package/es2021/plugins/page-break/page-break.js +1 -1
  138. package/es2021/plugins/page-break/page-break.min.js +1 -1
  139. package/es2021/plugins/paste-code/paste-code.css +1 -1
  140. package/es2021/plugins/paste-code/paste-code.js +1 -1
  141. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  142. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  143. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  144. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  145. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  146. package/es2021/plugins/style/style.css +1 -1
  147. package/es2021/plugins/style/style.js +1 -1
  148. package/es2021/plugins/style/style.min.js +1 -1
  149. package/es2021/plugins/templates/templates.css +1 -1
  150. package/es2021/plugins/templates/templates.js +1 -1
  151. package/es2021/plugins/templates/templates.min.js +1 -1
  152. package/es2021/plugins/todo-list/todo-list.css +1 -1
  153. package/es2021/plugins/todo-list/todo-list.js +1 -1
  154. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  155. package/es2021/plugins/translate/translate.css +1 -1
  156. package/es2021/plugins/translate/translate.js +1 -1
  157. package/es2021/plugins/translate/translate.min.js +1 -1
  158. package/es2021/plugins/tune-block/tune-block.css +1 -1
  159. package/es2021/plugins/tune-block/tune-block.js +1 -1
  160. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  161. package/es2021.en/jodit.css +1 -1
  162. package/es2021.en/jodit.fat.min.js +9 -12
  163. package/es2021.en/jodit.js +86 -5
  164. package/es2021.en/jodit.min.js +5 -5
  165. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  166. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +154 -29
  167. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +26 -29
  168. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  169. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  170. package/es2021.en/plugins/backup/backup.css +1 -1
  171. package/es2021.en/plugins/backup/backup.js +1 -1
  172. package/es2021.en/plugins/backup/backup.min.js +1 -1
  173. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  174. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  175. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  176. package/es2021.en/plugins/change-case/change-case.js +1 -1
  177. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  178. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  179. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  180. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  181. package/es2021.en/plugins/emoji/emoji.css +1 -1
  182. package/es2021.en/plugins/emoji/emoji.js +1 -1
  183. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  184. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  185. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  186. package/es2021.en/plugins/finder/finder.css +1 -1
  187. package/es2021.en/plugins/finder/finder.js +2 -2
  188. package/es2021.en/plugins/finder/finder.min.js +2 -2
  189. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  190. package/es2021.en/plugins/google-maps/google-maps.js +1 -1
  191. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  192. package/es2021.en/plugins/google-search/google-search.js +1 -1
  193. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  194. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  195. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  196. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  197. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  198. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  199. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  200. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  201. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  202. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  203. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  204. package/es2021.en/plugins/page-break/page-break.js +1 -1
  205. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  206. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  207. package/es2021.en/plugins/paste-code/paste-code.js +1 -1
  208. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  209. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  210. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  211. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  212. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  213. package/es2021.en/plugins/style/style.css +1 -1
  214. package/es2021.en/plugins/style/style.js +1 -1
  215. package/es2021.en/plugins/style/style.min.js +1 -1
  216. package/es2021.en/plugins/templates/templates.css +1 -1
  217. package/es2021.en/plugins/templates/templates.js +1 -1
  218. package/es2021.en/plugins/templates/templates.min.js +1 -1
  219. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  220. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  221. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  222. package/es2021.en/plugins/translate/translate.css +1 -1
  223. package/es2021.en/plugins/translate/translate.js +1 -1
  224. package/es2021.en/plugins/translate/translate.min.js +1 -1
  225. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  226. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  227. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  228. package/es5/jodit.css +2 -2
  229. package/es5/jodit.fat.min.js +2 -2
  230. package/es5/jodit.js +89 -5
  231. package/es5/jodit.min.css +2 -2
  232. package/es5/jodit.min.js +2 -2
  233. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  234. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +174 -26
  235. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +2 -2
  236. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  237. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  238. package/es5/plugins/backup/backup.css +1 -1
  239. package/es5/plugins/backup/backup.js +1 -1
  240. package/es5/plugins/backup/backup.min.js +1 -1
  241. package/es5/plugins/button-generator/button-generator.css +1 -1
  242. package/es5/plugins/button-generator/button-generator.js +1 -1
  243. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  244. package/es5/plugins/change-case/change-case.js +1 -1
  245. package/es5/plugins/change-case/change-case.min.js +1 -1
  246. package/es5/plugins/color-picker/color-picker.css +1 -1
  247. package/es5/plugins/color-picker/color-picker.js +1 -1
  248. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  249. package/es5/plugins/emoji/emoji.css +1 -1
  250. package/es5/plugins/emoji/emoji.js +1 -1
  251. package/es5/plugins/emoji/emoji.min.js +1 -1
  252. package/es5/plugins/export-docs/export-docs.js +1 -1
  253. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  254. package/es5/plugins/finder/finder.css +1 -1
  255. package/es5/plugins/finder/finder.js +2 -2
  256. package/es5/plugins/finder/finder.min.js +2 -2
  257. package/es5/plugins/google-maps/google-maps.css +1 -1
  258. package/es5/plugins/google-maps/google-maps.js +1 -1
  259. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  260. package/es5/plugins/google-search/google-search.js +1 -1
  261. package/es5/plugins/google-search/google-search.min.js +1 -1
  262. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  263. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  264. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  265. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  266. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  267. package/es5/plugins/keyboard/keyboard.css +1 -1
  268. package/es5/plugins/keyboard/keyboard.js +1 -1
  269. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  270. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  271. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  272. package/es5/plugins/page-break/page-break.js +1 -1
  273. package/es5/plugins/page-break/page-break.min.js +1 -1
  274. package/es5/plugins/paste-code/paste-code.css +1 -1
  275. package/es5/plugins/paste-code/paste-code.js +1 -1
  276. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  277. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  278. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  279. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  280. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  281. package/es5/plugins/style/style.css +1 -1
  282. package/es5/plugins/style/style.js +1 -1
  283. package/es5/plugins/style/style.min.js +1 -1
  284. package/es5/plugins/templates/templates.css +1 -1
  285. package/es5/plugins/templates/templates.js +1 -1
  286. package/es5/plugins/templates/templates.min.js +1 -1
  287. package/es5/plugins/todo-list/todo-list.css +1 -1
  288. package/es5/plugins/todo-list/todo-list.js +1 -1
  289. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  290. package/es5/plugins/translate/translate.css +1 -1
  291. package/es5/plugins/translate/translate.js +1 -1
  292. package/es5/plugins/translate/translate.min.js +1 -1
  293. package/es5/plugins/tune-block/tune-block.css +1 -1
  294. package/es5/plugins/tune-block/tune-block.js +1 -1
  295. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  296. package/es5/polyfills.fat.min.js +1 -1
  297. package/es5/polyfills.js +1 -1
  298. package/es5/polyfills.min.js +1 -1
  299. package/esm/plugins/ai-assistant-pro/config.js +1 -1
  300. package/esm/plugins/ai-assistant-pro/tools/add-html/definition.d.ts +10 -0
  301. package/esm/plugins/ai-assistant-pro/tools/add-html/definition.js +1 -0
  302. package/esm/plugins/ai-assistant-pro/tools/add-html/executor.d.ts +13 -0
  303. package/esm/plugins/ai-assistant-pro/tools/add-html/executor.js +1 -0
  304. package/esm/plugins/ai-assistant-pro/tools/add-html/index.d.ts +9 -0
  305. package/esm/plugins/ai-assistant-pro/tools/add-html/index.js +1 -0
  306. package/esm/plugins/ai-assistant-pro/tools/index.js +1 -1
  307. package/esm/plugins/ai-assistant-pro/tools/read-blocks/executor.js +1 -1
  308. package/esm/plugins/ai-assistant-pro/ui/message-list/message-list.d.ts +4 -1
  309. package/esm/plugins/ai-assistant-pro/ui/message-list/message-list.js +1 -1
  310. package/esm/plugins/ai-assistant-pro/ui/permission-request/permission-request.js +2 -5
  311. package/esm/plugins/finder/ui/item/item.js +2 -2
  312. package/esm/plugins/license/helpers/helpers.js +1 -1
  313. package/esm/typings.d.ts +1 -0
  314. package/package.json +1 -1
  315. package/types/plugins/ai-assistant-pro/tools/add-html/definition.d.ts +10 -0
  316. package/types/plugins/ai-assistant-pro/tools/add-html/executor.d.ts +13 -0
  317. package/types/plugins/ai-assistant-pro/tools/add-html/index.d.ts +9 -0
  318. package/types/plugins/ai-assistant-pro/ui/message-list/message-list.d.ts +4 -1
  319. package/types/typings.d.ts +1 -0
@@ -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.11.29
4
+ * Version: v4.12.3
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -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.11.29
4
+ * Version: v4.12.3
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1254,7 +1254,8 @@ jodit_esm_config__WEBPACK_IMPORTED_MODULE_13__.Config.prototype.aiAssistantPro =
1254
1254
  'readDocument',
1255
1255
  'readBlocks',
1256
1256
  'readSelection',
1257
- 'insertHTML'
1257
+ 'insertHTML',
1258
+ 'addHTML'
1258
1259
  ],
1259
1260
  alwaysDenyTools: [],
1260
1261
  defaultPermissionScope: 'conversation',
@@ -4041,6 +4042,126 @@ __webpack_require__.r(__webpack_exports__);
4041
4042
  }
4042
4043
 
4043
4044
 
4045
+ /***/ }),
4046
+
4047
+ /***/ 65374:
4048
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4049
+
4050
+ "use strict";
4051
+ __webpack_require__.r(__webpack_exports__);
4052
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4053
+ /* harmony export */ description: function() { return /* binding */ description; },
4054
+ /* harmony export */ name: function() { return /* binding */ name; },
4055
+ /* harmony export */ parameters: function() { return /* binding */ parameters; },
4056
+ /* harmony export */ requiresPermission: function() { return /* binding */ requiresPermission; }
4057
+ /* harmony export */ });
4058
+ /*!
4059
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
4060
+ * See LICENSE.md in the project root for license information.
4061
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4062
+ */ const name = 'addHTML';
4063
+ const description = 'Add HTML content to the beginning or end of the document';
4064
+ const parameters = [
4065
+ {
4066
+ name: 'html',
4067
+ type: 'string',
4068
+ description: 'HTML content to add',
4069
+ required: true
4070
+ },
4071
+ {
4072
+ name: 'position',
4073
+ type: 'string',
4074
+ description: 'Where to add: "start" adds at the beginning of the document, "end" appends to the end',
4075
+ required: false,
4076
+ default: 'end'
4077
+ }
4078
+ ];
4079
+ const requiresPermission = true;
4080
+
4081
+
4082
+ /***/ }),
4083
+
4084
+ /***/ 686:
4085
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4086
+
4087
+ "use strict";
4088
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4089
+ /* harmony export */ execute: function() { return /* binding */ execute; }
4090
+ /* harmony export */ });
4091
+ /* harmony import */ var _swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77688);
4092
+ /* harmony import */ var _core_abort_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6689);
4093
+ /* harmony import */ var _core_arg_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49459);
4094
+ /* harmony import */ var jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(22732);
4095
+ /*!
4096
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
4097
+ * See LICENSE.md in the project root for license information.
4098
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4099
+ */
4100
+
4101
+
4102
+
4103
+ /**
4104
+ * Add HTML content to the beginning or end of the document
4105
+ */ function execute(jodit, args, signal) {
4106
+ return (0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0__._)(function*() {
4107
+ const html = (0,_core_arg_utils__WEBPACK_IMPORTED_MODULE_2__.requireString)(args, 'html', {
4108
+ allowEmpty: true
4109
+ });
4110
+ const { position = 'end' } = args;
4111
+ if (!html.trim()) {
4112
+ return {
4113
+ success: true,
4114
+ message: 'Nothing to add: HTML is empty'
4115
+ };
4116
+ }
4117
+ (0,_core_abort_utils__WEBPACK_IMPORTED_MODULE_1__.throwIfAborted)(signal);
4118
+ try {
4119
+ const fragment = jodit.createInside.fragment();
4120
+ const tmp = jodit.createInside.div();
4121
+ tmp.innerHTML = html;
4122
+ while(tmp.firstChild){
4123
+ fragment.appendChild(tmp.firstChild);
4124
+ }
4125
+ if (position === 'start') {
4126
+ jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.prepend(jodit.editor, fragment);
4127
+ } else {
4128
+ jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.append(jodit.editor, fragment);
4129
+ }
4130
+ jodit.synchronizeValues();
4131
+ return {
4132
+ success: true,
4133
+ message: `Added ${html.length} characters of HTML at the ${position === 'start' ? 'beginning' : 'end'} of the document`
4134
+ };
4135
+ } catch (error) {
4136
+ throw new Error(`Failed to add HTML: ${(error === null || error === void 0 ? void 0 : error.message) || 'Unknown error'}`);
4137
+ }
4138
+ })();
4139
+ }
4140
+
4141
+
4142
+ /***/ }),
4143
+
4144
+ /***/ 78907:
4145
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4146
+
4147
+ "use strict";
4148
+ /* harmony import */ var _swc_helpers_object_spread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56075);
4149
+ /* harmony import */ var _swc_helpers_object_spread_props__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11886);
4150
+ /* harmony import */ var _definition__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65374);
4151
+ /* harmony import */ var _executor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(686);
4152
+
4153
+
4154
+ /*!
4155
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
4156
+ * See LICENSE.md in the project root for license information.
4157
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
4158
+ */
4159
+
4160
+ /* harmony default export */ __webpack_exports__["default"] = ((0,_swc_helpers_object_spread_props__WEBPACK_IMPORTED_MODULE_1__._)((0,_swc_helpers_object_spread__WEBPACK_IMPORTED_MODULE_0__._)({}, _definition__WEBPACK_IMPORTED_MODULE_2__), {
4161
+ execute: _executor__WEBPACK_IMPORTED_MODULE_3__.execute
4162
+ }));
4163
+
4164
+
4044
4165
  /***/ }),
4045
4166
 
4046
4167
  /***/ 73943:
@@ -4205,15 +4326,16 @@ const requiresPermission = true;
4205
4326
  /* harmony export */ getToolNames: function() { return /* binding */ getToolNames; }
4206
4327
  /* harmony export */ });
4207
4328
  /* unused harmony exports getTool, hasTool */
4208
- /* harmony import */ var _apply_format__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(39296);
4209
- /* harmony import */ var _insert_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16745);
4210
- /* harmony import */ var _read_blocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(78717);
4211
- /* harmony import */ var _read_document__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5618);
4212
- /* harmony import */ var _read_selection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(90991);
4213
- /* harmony import */ var _replace_block__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2020);
4214
- /* harmony import */ var _replace_in_document__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(12570);
4215
- /* harmony import */ var _replace_selection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(95323);
4216
- /* harmony import */ var _write_document__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(97603);
4329
+ /* harmony import */ var _add_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78907);
4330
+ /* harmony import */ var _apply_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39296);
4331
+ /* harmony import */ var _insert_html__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16745);
4332
+ /* harmony import */ var _read_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78717);
4333
+ /* harmony import */ var _read_document__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5618);
4334
+ /* harmony import */ var _read_selection__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(90991);
4335
+ /* harmony import */ var _replace_block__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2020);
4336
+ /* harmony import */ var _replace_in_document__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(12570);
4337
+ /* harmony import */ var _replace_selection__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(95323);
4338
+ /* harmony import */ var _write_document__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(97603);
4217
4339
  /*!
4218
4340
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
4219
4341
  * See LICENSE.md in the project root for license information.
@@ -4227,22 +4349,24 @@ const requiresPermission = true;
4227
4349
 
4228
4350
 
4229
4351
 
4352
+
4230
4353
  /**
4231
4354
  * Built-in tools collection
4232
4355
  * Each tool contains definition and executor
4233
4356
  */ const BUILT_IN_TOOLS = {
4234
4357
  // Read operations
4235
- readDocument: _read_document__WEBPACK_IMPORTED_MODULE_3__["default"],
4236
- readBlocks: _read_blocks__WEBPACK_IMPORTED_MODULE_2__["default"],
4237
- readSelection: _read_selection__WEBPACK_IMPORTED_MODULE_4__["default"],
4358
+ readDocument: _read_document__WEBPACK_IMPORTED_MODULE_4__["default"],
4359
+ readBlocks: _read_blocks__WEBPACK_IMPORTED_MODULE_3__["default"],
4360
+ readSelection: _read_selection__WEBPACK_IMPORTED_MODULE_5__["default"],
4238
4361
  // Write operations
4239
- writeDocument: _write_document__WEBPACK_IMPORTED_MODULE_8__["default"],
4240
- replaceSelection: _replace_selection__WEBPACK_IMPORTED_MODULE_7__["default"],
4241
- replaceBlock: _replace_block__WEBPACK_IMPORTED_MODULE_5__["default"],
4242
- replaceInDocument: _replace_in_document__WEBPACK_IMPORTED_MODULE_6__["default"],
4243
- insertHTML: _insert_html__WEBPACK_IMPORTED_MODULE_1__["default"],
4362
+ writeDocument: _write_document__WEBPACK_IMPORTED_MODULE_9__["default"],
4363
+ replaceSelection: _replace_selection__WEBPACK_IMPORTED_MODULE_8__["default"],
4364
+ replaceBlock: _replace_block__WEBPACK_IMPORTED_MODULE_6__["default"],
4365
+ replaceInDocument: _replace_in_document__WEBPACK_IMPORTED_MODULE_7__["default"],
4366
+ insertHTML: _insert_html__WEBPACK_IMPORTED_MODULE_2__["default"],
4367
+ addHTML: _add_html__WEBPACK_IMPORTED_MODULE_0__["default"],
4244
4368
  // Formatting operations
4245
- applyFormat: _apply_format__WEBPACK_IMPORTED_MODULE_0__["default"]
4369
+ applyFormat: _apply_format__WEBPACK_IMPORTED_MODULE_1__["default"]
4246
4370
  };
4247
4371
  /**
4248
4372
  * Get tool names
@@ -4463,7 +4587,7 @@ const requiresPermission = false;
4463
4587
  let filteredBlocks = allBlocks;
4464
4588
  if (query && typeof query === 'string') {
4465
4589
  const lowerQuery = query.toLowerCase();
4466
- filteredBlocks = allBlocks.filter((block)=>block.textContent.toLowerCase().includes(lowerQuery));
4590
+ filteredBlocks = allBlocks.filter((block)=>block.textContent.toLowerCase().includes(lowerQuery) || block.tagName.includes(lowerQuery) || block.content.toLowerCase().includes(lowerQuery));
4467
4591
  }
4468
4592
  // Apply pagination
4469
4593
  const startIndex = Math.max(0, Math.min(typeof offset === 'number' ? offset : 0, filteredBlocks.length));
@@ -6875,7 +6999,10 @@ class UIMessageList extends jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODU
6875
6999
  this.scrollContainer = this.container;
6876
7000
  }
6877
7001
  /**
6878
- * Handle user scroll events - check if user has scrolled away from bottom
7002
+ * Handle user scroll events - check if user has scrolled away from bottom.
7003
+ * Only listen to user-initiated events (wheel, touchmove) to avoid
7004
+ * false positives from programmatic scrollTop changes which also fire
7005
+ * the 'scroll' event.
6879
7006
  */ onUserScroll() {
6880
7007
  if (!this.scrollContainer) return;
6881
7008
  const { scrollTop, scrollHeight, clientHeight } = this.scrollContainer;
@@ -6944,7 +7071,10 @@ class UIMessageList extends jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODU
6944
7071
  }
6945
7072
  scrollToBottom() {
6946
7073
  if (this.j.isDestructed || !this.autoScrollEnabled) return;
6947
- this.container.scrollTop = this.container.scrollHeight;
7074
+ this.container.scrollTo({
7075
+ top: this.container.scrollHeight,
7076
+ behavior: 'smooth'
7077
+ });
6948
7078
  }
6949
7079
  destruct() {
6950
7080
  this.messageItems.clear();
@@ -6961,7 +7091,6 @@ class UIMessageList extends jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODU
6961
7091
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
6962
7092
  (0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)([
6963
7093
  'scrollContainer:wheel',
6964
- 'scrollContainer:scroll',
6965
7094
  'scrollContainer:touchmove'
6966
7095
  ]),
6967
7096
  (0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.throttle)((j)=>j.defaultTimeout)
@@ -7057,7 +7186,7 @@ class UIPermissionRequest extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__
7057
7186
  this.j.e.on(this.denyButton, 'click', this.onDeny);
7058
7187
  // Approve button
7059
7188
  this.approveButton = new jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_4__.UIButton(this.j, {
7060
- text: this.j.i18n('Allow'),
7189
+ text: 'Allow',
7061
7190
  variant: 'initial',
7062
7191
  size: 'small',
7063
7192
  name: 'approve-permission'
@@ -7089,10 +7218,13 @@ class UIPermissionRequest extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__
7089
7218
  updateContent() {
7090
7219
  if (!this.toolCall) return;
7091
7220
  const toolInfo = this.getElm('tool-info');
7092
- toolInfo.innerHTML = `
7093
- <div class="${this.getFullElName('tool-name')}">${this.j.i18n(this.toolCall.name)}</div>
7094
- <div class="${this.getFullElName('tool-args')}">${this.formatArguments(this.toolCall.arguments)}</div>
7095
- `;
7221
+ toolInfo.innerHTML = '';
7222
+ const nameEl = this.j.c.div(this.getFullElName('tool-name'));
7223
+ nameEl.textContent = this.j.i18n(this.toolCall.name);
7224
+ const argsEl = this.j.c.div(this.getFullElName('tool-args'));
7225
+ argsEl.textContent = this.formatArguments(this.toolCall.arguments);
7226
+ toolInfo.appendChild(nameEl);
7227
+ toolInfo.appendChild(argsEl);
7096
7228
  }
7097
7229
  formatArguments(args) {
7098
7230
  return Object.entries(args).map(([key, value])=>`${key}: ${JSON.stringify(value)}`).join(', ');