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
  */
@@ -1207,7 +1207,8 @@ jodit_esm_config__WEBPACK_IMPORTED_MODULE_10__.Config.prototype.aiAssistantPro =
1207
1207
  'readDocument',
1208
1208
  'readBlocks',
1209
1209
  'readSelection',
1210
- 'insertHTML'
1210
+ 'insertHTML',
1211
+ 'addHTML'
1211
1212
  ],
1212
1213
  alwaysDenyTools: [],
1213
1214
  defaultPermissionScope: 'conversation',
@@ -3767,6 +3768,119 @@ __webpack_require__.r(__webpack_exports__);
3767
3768
  }
3768
3769
 
3769
3770
 
3771
+ /***/ }),
3772
+
3773
+ /***/ 65374:
3774
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3775
+
3776
+ "use strict";
3777
+ __webpack_require__.r(__webpack_exports__);
3778
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3779
+ /* harmony export */ description: function() { return /* binding */ description; },
3780
+ /* harmony export */ name: function() { return /* binding */ name; },
3781
+ /* harmony export */ parameters: function() { return /* binding */ parameters; },
3782
+ /* harmony export */ requiresPermission: function() { return /* binding */ requiresPermission; }
3783
+ /* harmony export */ });
3784
+ /*!
3785
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
3786
+ * See LICENSE.md in the project root for license information.
3787
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
3788
+ */ const name = 'addHTML';
3789
+ const description = 'Add HTML content to the beginning or end of the document';
3790
+ const parameters = [
3791
+ {
3792
+ name: 'html',
3793
+ type: 'string',
3794
+ description: 'HTML content to add',
3795
+ required: true
3796
+ },
3797
+ {
3798
+ name: 'position',
3799
+ type: 'string',
3800
+ description: 'Where to add: "start" adds at the beginning of the document, "end" appends to the end',
3801
+ required: false,
3802
+ default: 'end'
3803
+ }
3804
+ ];
3805
+ const requiresPermission = true;
3806
+
3807
+
3808
+ /***/ }),
3809
+
3810
+ /***/ 686:
3811
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3812
+
3813
+ "use strict";
3814
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3815
+ /* harmony export */ execute: function() { return /* binding */ execute; }
3816
+ /* harmony export */ });
3817
+ /* harmony import */ var _core_abort_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6689);
3818
+ /* harmony import */ var _core_arg_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49459);
3819
+ /* harmony import */ var jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22732);
3820
+ /*!
3821
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
3822
+ * See LICENSE.md in the project root for license information.
3823
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
3824
+ */
3825
+
3826
+
3827
+ /**
3828
+ * Add HTML content to the beginning or end of the document
3829
+ */ async function execute(jodit, args, signal) {
3830
+ const html = (0,_core_arg_utils__WEBPACK_IMPORTED_MODULE_1__.requireString)(args, 'html', {
3831
+ allowEmpty: true
3832
+ });
3833
+ const { position = 'end' } = args;
3834
+ if (!html.trim()) {
3835
+ return {
3836
+ success: true,
3837
+ message: 'Nothing to add: HTML is empty'
3838
+ };
3839
+ }
3840
+ (0,_core_abort_utils__WEBPACK_IMPORTED_MODULE_0__.throwIfAborted)(signal);
3841
+ try {
3842
+ const fragment = jodit.createInside.fragment();
3843
+ const tmp = jodit.createInside.div();
3844
+ tmp.innerHTML = html;
3845
+ while(tmp.firstChild){
3846
+ fragment.appendChild(tmp.firstChild);
3847
+ }
3848
+ if (position === 'start') {
3849
+ jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_2__.Dom.prepend(jodit.editor, fragment);
3850
+ } else {
3851
+ jodit_esm_core_dom__WEBPACK_IMPORTED_MODULE_2__.Dom.append(jodit.editor, fragment);
3852
+ }
3853
+ jodit.synchronizeValues();
3854
+ return {
3855
+ success: true,
3856
+ message: `Added ${html.length} characters of HTML at the ${position === 'start' ? 'beginning' : 'end'} of the document`
3857
+ };
3858
+ } catch (error) {
3859
+ throw new Error(`Failed to add HTML: ${error?.message || 'Unknown error'}`);
3860
+ }
3861
+ }
3862
+
3863
+
3864
+ /***/ }),
3865
+
3866
+ /***/ 78907:
3867
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3868
+
3869
+ "use strict";
3870
+ /* harmony import */ var _definition__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65374);
3871
+ /* harmony import */ var _executor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(686);
3872
+ /*!
3873
+ * Jodit Editor PRO (https://xdsoft.net/jodit/)
3874
+ * See LICENSE.md in the project root for license information.
3875
+ * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
3876
+ */
3877
+
3878
+ /* harmony default export */ __webpack_exports__["default"] = ({
3879
+ ..._definition__WEBPACK_IMPORTED_MODULE_0__,
3880
+ execute: _executor__WEBPACK_IMPORTED_MODULE_1__.execute
3881
+ });
3882
+
3883
+
3770
3884
  /***/ }),
3771
3885
 
3772
3886
  /***/ 73943:
@@ -3921,15 +4035,16 @@ const requiresPermission = true;
3921
4035
  /* harmony export */ getToolNames: function() { return /* binding */ getToolNames; }
3922
4036
  /* harmony export */ });
3923
4037
  /* unused harmony exports getTool, hasTool */
3924
- /* harmony import */ var _apply_format__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(39296);
3925
- /* harmony import */ var _insert_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16745);
3926
- /* harmony import */ var _read_blocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(78717);
3927
- /* harmony import */ var _read_document__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5618);
3928
- /* harmony import */ var _read_selection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(90991);
3929
- /* harmony import */ var _replace_block__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2020);
3930
- /* harmony import */ var _replace_in_document__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(12570);
3931
- /* harmony import */ var _replace_selection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(95323);
3932
- /* harmony import */ var _write_document__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(97603);
4038
+ /* harmony import */ var _add_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78907);
4039
+ /* harmony import */ var _apply_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39296);
4040
+ /* harmony import */ var _insert_html__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16745);
4041
+ /* harmony import */ var _read_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78717);
4042
+ /* harmony import */ var _read_document__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5618);
4043
+ /* harmony import */ var _read_selection__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(90991);
4044
+ /* harmony import */ var _replace_block__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2020);
4045
+ /* harmony import */ var _replace_in_document__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(12570);
4046
+ /* harmony import */ var _replace_selection__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(95323);
4047
+ /* harmony import */ var _write_document__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(97603);
3933
4048
  /*!
3934
4049
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
3935
4050
  * See LICENSE.md in the project root for license information.
@@ -3943,22 +4058,24 @@ const requiresPermission = true;
3943
4058
 
3944
4059
 
3945
4060
 
4061
+
3946
4062
  /**
3947
4063
  * Built-in tools collection
3948
4064
  * Each tool contains definition and executor
3949
4065
  */ const BUILT_IN_TOOLS = {
3950
4066
  // Read operations
3951
- readDocument: _read_document__WEBPACK_IMPORTED_MODULE_3__["default"],
3952
- readBlocks: _read_blocks__WEBPACK_IMPORTED_MODULE_2__["default"],
3953
- readSelection: _read_selection__WEBPACK_IMPORTED_MODULE_4__["default"],
4067
+ readDocument: _read_document__WEBPACK_IMPORTED_MODULE_4__["default"],
4068
+ readBlocks: _read_blocks__WEBPACK_IMPORTED_MODULE_3__["default"],
4069
+ readSelection: _read_selection__WEBPACK_IMPORTED_MODULE_5__["default"],
3954
4070
  // Write operations
3955
- writeDocument: _write_document__WEBPACK_IMPORTED_MODULE_8__["default"],
3956
- replaceSelection: _replace_selection__WEBPACK_IMPORTED_MODULE_7__["default"],
3957
- replaceBlock: _replace_block__WEBPACK_IMPORTED_MODULE_5__["default"],
3958
- replaceInDocument: _replace_in_document__WEBPACK_IMPORTED_MODULE_6__["default"],
3959
- insertHTML: _insert_html__WEBPACK_IMPORTED_MODULE_1__["default"],
4071
+ writeDocument: _write_document__WEBPACK_IMPORTED_MODULE_9__["default"],
4072
+ replaceSelection: _replace_selection__WEBPACK_IMPORTED_MODULE_8__["default"],
4073
+ replaceBlock: _replace_block__WEBPACK_IMPORTED_MODULE_6__["default"],
4074
+ replaceInDocument: _replace_in_document__WEBPACK_IMPORTED_MODULE_7__["default"],
4075
+ insertHTML: _insert_html__WEBPACK_IMPORTED_MODULE_2__["default"],
4076
+ addHTML: _add_html__WEBPACK_IMPORTED_MODULE_0__["default"],
3960
4077
  // Formatting operations
3961
- applyFormat: _apply_format__WEBPACK_IMPORTED_MODULE_0__["default"]
4078
+ applyFormat: _apply_format__WEBPACK_IMPORTED_MODULE_1__["default"]
3962
4079
  };
3963
4080
  /**
3964
4081
  * Get tool names
@@ -4169,7 +4286,7 @@ const requiresPermission = false;
4169
4286
  let filteredBlocks = allBlocks;
4170
4287
  if (query && typeof query === 'string') {
4171
4288
  const lowerQuery = query.toLowerCase();
4172
- filteredBlocks = allBlocks.filter((block)=>block.textContent.toLowerCase().includes(lowerQuery));
4289
+ filteredBlocks = allBlocks.filter((block)=>block.textContent.toLowerCase().includes(lowerQuery) || block.tagName.includes(lowerQuery) || block.content.toLowerCase().includes(lowerQuery));
4173
4290
  }
4174
4291
  // Apply pagination
4175
4292
  const startIndex = Math.max(0, Math.min(typeof offset === 'number' ? offset : 0, filteredBlocks.length));
@@ -6514,7 +6631,10 @@ class UIMessageList extends jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODU
6514
6631
  this.scrollContainer = this.container;
6515
6632
  }
6516
6633
  /**
6517
- * Handle user scroll events - check if user has scrolled away from bottom
6634
+ * Handle user scroll events - check if user has scrolled away from bottom.
6635
+ * Only listen to user-initiated events (wheel, touchmove) to avoid
6636
+ * false positives from programmatic scrollTop changes which also fire
6637
+ * the 'scroll' event.
6518
6638
  */ onUserScroll() {
6519
6639
  if (!this.scrollContainer) return;
6520
6640
  const { scrollTop, scrollHeight, clientHeight } = this.scrollContainer;
@@ -6583,7 +6703,10 @@ class UIMessageList extends jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODU
6583
6703
  }
6584
6704
  scrollToBottom() {
6585
6705
  if (this.j.isDestructed || !this.autoScrollEnabled) return;
6586
- this.container.scrollTop = this.container.scrollHeight;
6706
+ this.container.scrollTo({
6707
+ top: this.container.scrollHeight,
6708
+ behavior: 'smooth'
6709
+ });
6587
6710
  }
6588
6711
  destruct() {
6589
6712
  this.messageItems.clear();
@@ -6600,7 +6723,6 @@ class UIMessageList extends jodit_esm_core_ui_group_group__WEBPACK_IMPORTED_MODU
6600
6723
  (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
6601
6724
  (0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.watch)([
6602
6725
  'scrollContainer:wheel',
6603
- 'scrollContainer:scroll',
6604
6726
  'scrollContainer:touchmove'
6605
6727
  ]),
6606
6728
  (0,jodit_esm_core_decorators__WEBPACK_IMPORTED_MODULE_3__.throttle)((j)=>j.defaultTimeout)
@@ -6695,7 +6817,7 @@ class UIPermissionRequest extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__
6695
6817
  this.j.e.on(this.denyButton, 'click', this.onDeny);
6696
6818
  // Approve button
6697
6819
  this.approveButton = new jodit_esm_core_ui_button__WEBPACK_IMPORTED_MODULE_4__.UIButton(this.j, {
6698
- text: this.j.i18n('Allow'),
6820
+ text: 'Allow',
6699
6821
  variant: 'initial',
6700
6822
  size: 'small',
6701
6823
  name: 'approve-permission'
@@ -6727,10 +6849,13 @@ class UIPermissionRequest extends jodit_esm_core_ui__WEBPACK_IMPORTED_MODULE_3__
6727
6849
  updateContent() {
6728
6850
  if (!this.toolCall) return;
6729
6851
  const toolInfo = this.getElm('tool-info');
6730
- toolInfo.innerHTML = `
6731
- <div class="${this.getFullElName('tool-name')}">${this.j.i18n(this.toolCall.name)}</div>
6732
- <div class="${this.getFullElName('tool-args')}">${this.formatArguments(this.toolCall.arguments)}</div>
6733
- `;
6852
+ toolInfo.innerHTML = '';
6853
+ const nameEl = this.j.c.div(this.getFullElName('tool-name'));
6854
+ nameEl.textContent = this.j.i18n(this.toolCall.name);
6855
+ const argsEl = this.j.c.div(this.getFullElName('tool-args'));
6856
+ argsEl.textContent = this.formatArguments(this.toolCall.arguments);
6857
+ toolInfo.appendChild(nameEl);
6858
+ toolInfo.appendChild(argsEl);
6734
6859
  }
6735
6860
  formatArguments(args) {
6736
6861
  return Object.entries(args).map(([key, value])=>`${key}: ${JSON.stringify(value)}`).join(', ');