jodit 4.2.50 → 4.3.2

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 (560) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +238 -108
  5. package/es2015/jodit.min.js +2 -2
  6. package/es2015/plugins/debug/debug.css +1 -1
  7. package/es2015/plugins/debug/debug.js +1 -1
  8. package/es2015/plugins/debug/debug.min.js +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  12. package/es2018/jodit.css +1 -1
  13. package/es2018/jodit.fat.min.js +2 -2
  14. package/es2018/jodit.js +239 -108
  15. package/es2018/jodit.min.js +2 -2
  16. package/es2018/plugins/debug/debug.css +1 -1
  17. package/es2018/plugins/debug/debug.js +1 -1
  18. package/es2018/plugins/debug/debug.min.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  20. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  21. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  22. package/es2021/jodit.css +1 -1
  23. package/es2021/jodit.fat.min.js +2 -2
  24. package/es2021/jodit.js +237 -107
  25. package/es2021/jodit.min.js +2 -2
  26. package/es2021/plugins/debug/debug.css +1 -1
  27. package/es2021/plugins/debug/debug.js +1 -1
  28. package/es2021/plugins/debug/debug.min.js +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  31. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  32. package/es2021.en/jodit.css +1 -1
  33. package/es2021.en/jodit.fat.min.js +2 -2
  34. package/es2021.en/jodit.js +237 -107
  35. package/es2021.en/jodit.min.js +2 -2
  36. package/es2021.en/plugins/debug/debug.css +1 -1
  37. package/es2021.en/plugins/debug/debug.js +1 -1
  38. package/es2021.en/plugins/debug/debug.min.js +1 -1
  39. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  40. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  41. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  42. package/es5/164.fat.min.js +1 -1
  43. package/es5/164.min.js +1 -1
  44. package/es5/5.fat.min.js +1 -1
  45. package/es5/5.min.js +1 -1
  46. package/es5/jodit.css +2 -2
  47. package/es5/jodit.fat.min.js +2 -2
  48. package/es5/jodit.js +241 -109
  49. package/es5/jodit.min.css +2 -2
  50. package/es5/jodit.min.js +2 -2
  51. package/es5/plugins/debug/debug.css +1 -1
  52. package/es5/plugins/debug/debug.js +1 -1
  53. package/es5/plugins/debug/debug.min.js +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  56. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  57. package/esm/config.d.ts +4 -0
  58. package/esm/config.js +4 -0
  59. package/esm/core/async/index.d.ts +1 -1
  60. package/esm/core/component/index.d.ts +3 -3
  61. package/esm/core/component/view-component.d.ts +1 -1
  62. package/esm/core/constants.js +1 -1
  63. package/esm/core/create/index.d.ts +1 -1
  64. package/esm/core/decorators/cache/cache.d.ts +100 -0
  65. package/esm/core/decorators/cache/cache.js +106 -0
  66. package/esm/core/decorators/index.d.ts +11 -11
  67. package/esm/core/dom/index.d.ts +2 -2
  68. package/esm/core/dom/lazy-walker.d.ts +1 -1
  69. package/esm/core/event-emitter/index.d.ts +4 -4
  70. package/esm/core/global.d.ts +7 -2
  71. package/esm/core/global.js +15 -13
  72. package/esm/core/helpers/array/index.d.ts +3 -3
  73. package/esm/core/helpers/async/index.d.ts +1 -1
  74. package/esm/core/helpers/checker/index.d.ts +25 -25
  75. package/esm/core/helpers/checker/is-abort-error.d.ts +1 -1
  76. package/esm/core/helpers/color/index.d.ts +1 -1
  77. package/esm/core/helpers/html/index.d.ts +6 -6
  78. package/esm/core/helpers/normalize/index.d.ts +8 -8
  79. package/esm/core/helpers/size/index.d.ts +6 -6
  80. package/esm/core/helpers/string/index.d.ts +7 -7
  81. package/esm/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
  82. package/esm/core/helpers/utils/error/errors/index.d.ts +3 -3
  83. package/esm/core/helpers/utils/error/index.d.ts +1 -1
  84. package/esm/core/helpers/utils/index.d.ts +26 -26
  85. package/esm/core/helpers/utils/selector.d.ts +5 -1
  86. package/esm/core/helpers/utils/selector.js +3 -0
  87. package/esm/core/plugin/index.d.ts +2 -2
  88. package/esm/core/plugin/plugin-system.d.ts +1 -1
  89. package/esm/core/request/ajax.d.ts +1 -1
  90. package/esm/core/request/index.d.ts +2 -2
  91. package/esm/core/selection/helpers/index.d.ts +2 -2
  92. package/esm/core/selection/index.d.ts +3 -3
  93. package/esm/core/selection/selection.d.ts +1 -1
  94. package/esm/core/selection/style/api/index.d.ts +15 -15
  95. package/esm/core/storage/index.d.ts +3 -3
  96. package/esm/core/traits/dlgs.js +3 -0
  97. package/esm/core/ui/button/button/button.d.ts +1 -2
  98. package/esm/core/ui/button/group/group.d.ts +1 -2
  99. package/esm/core/ui/button/index.d.ts +3 -3
  100. package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -2
  101. package/esm/core/ui/element.d.ts +2 -2
  102. package/esm/core/ui/form/block/block.d.ts +1 -2
  103. package/esm/core/ui/form/form.d.ts +1 -1
  104. package/esm/core/ui/form/index.d.ts +2 -2
  105. package/esm/core/ui/form/inputs/area/area.d.ts +1 -2
  106. package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -2
  107. package/esm/core/ui/form/inputs/file/file.d.ts +1 -2
  108. package/esm/core/ui/form/inputs/index.d.ts +5 -5
  109. package/esm/core/ui/form/inputs/input/input.d.ts +1 -2
  110. package/esm/core/ui/form/inputs/select/select.d.ts +1 -2
  111. package/esm/core/ui/form/validators/index.d.ts +2 -2
  112. package/esm/core/ui/group/group.d.ts +1 -2
  113. package/esm/core/ui/group/index.d.ts +4 -4
  114. package/esm/core/ui/group/list.d.ts +1 -2
  115. package/esm/core/ui/group/separator.d.ts +1 -1
  116. package/esm/core/ui/group/spacer.d.ts +1 -1
  117. package/esm/core/ui/index.d.ts +3 -3
  118. package/esm/core/ui/popup/index.d.ts +1 -1
  119. package/esm/core/ui/popup/popup.d.ts +1 -2
  120. package/esm/core/ui/progress-bar/progress-bar.d.ts +1 -2
  121. package/esm/core/view/view-with-toolbar.d.ts +1 -2
  122. package/esm/core/view/view.d.ts +3 -3
  123. package/esm/core/view/view.js +4 -6
  124. package/esm/index.d.ts +2 -4
  125. package/esm/jodit.d.ts +3 -3
  126. package/esm/jodit.js +5 -5
  127. package/esm/modules/context-menu/context-menu.d.ts +1 -2
  128. package/esm/modules/dialog/dialog.d.ts +9 -10
  129. package/esm/modules/dialog/dialog.js +37 -30
  130. package/esm/modules/dialog/index.d.ts +4 -4
  131. package/esm/modules/file-browser/config.d.ts +1 -1
  132. package/esm/modules/file-browser/file-browser.d.ts +3 -4
  133. package/esm/modules/file-browser/file-browser.js +2 -2
  134. package/esm/modules/file-browser/index.d.ts +1 -1
  135. package/esm/modules/file-browser/ui/files/files.d.ts +0 -1
  136. package/esm/modules/file-browser/ui/index.d.ts +2 -2
  137. package/esm/modules/file-browser/ui/tree/tree.d.ts +0 -1
  138. package/esm/modules/history/command.d.ts +1 -1
  139. package/esm/modules/history/history.d.ts +2 -2
  140. package/esm/modules/history/stack.d.ts +1 -1
  141. package/esm/modules/image-editor/icons/crop.svg.js +1 -1
  142. package/esm/modules/image-editor/icons/resize.svg.js +1 -1
  143. package/esm/modules/image-editor/image-editor.d.ts +1 -2
  144. package/esm/modules/index.d.ts +13 -13
  145. package/esm/modules/messages/messages.d.ts +1 -2
  146. package/esm/modules/status-bar/status-bar.d.ts +2 -3
  147. package/esm/modules/toolbar/button/button.d.ts +0 -1
  148. package/esm/modules/toolbar/button/content.d.ts +0 -1
  149. package/esm/modules/toolbar/button/index.d.ts +3 -3
  150. package/esm/modules/toolbar/button/select/select.d.ts +1 -2
  151. package/esm/modules/toolbar/collection/collection.d.ts +0 -1
  152. package/esm/modules/toolbar/collection/editor-collection.d.ts +1 -1
  153. package/esm/modules/uploader/helpers/index.d.ts +5 -5
  154. package/esm/modules/uploader/uploader.d.ts +1 -2
  155. package/esm/modules/widget/color-picker/color-picker.d.ts +0 -1
  156. package/esm/modules/widget/color-picker/palette.svg.js +1 -1
  157. package/esm/modules/widget/index.d.ts +3 -3
  158. package/esm/modules/widget/tabs/tabs.d.ts +0 -1
  159. package/esm/plugins/about/about.d.ts +0 -1
  160. package/esm/plugins/about/about.svg.js +1 -1
  161. package/esm/plugins/add-new-line/add-new-line.d.ts +1 -2
  162. package/esm/plugins/add-new-line/enter.svg.js +1 -1
  163. package/esm/plugins/ai-assistant/ai-assistant.d.ts +2 -2
  164. package/esm/plugins/ai-assistant/ai-assistant.svg.js +1 -1
  165. package/esm/plugins/ai-assistant/chat-bot.svg.js +1 -1
  166. package/esm/plugins/ai-assistant/langs/index.d.ts +2 -2
  167. package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +1 -2
  168. package/esm/plugins/backspace/backspace.d.ts +1 -1
  169. package/esm/plugins/backspace/cases/check-remove-char.d.ts +1 -1
  170. package/esm/plugins/backspace/cases/index.d.ts +2 -2
  171. package/esm/plugins/bold/bold.d.ts +2 -2
  172. package/esm/plugins/bold/icons/bold.svg.js +1 -1
  173. package/esm/plugins/bold/icons/italic.svg.js +1 -1
  174. package/esm/plugins/bold/icons/strikethrough.svg.js +1 -1
  175. package/esm/plugins/bold/icons/subscript.svg.js +1 -1
  176. package/esm/plugins/bold/icons/superscript.svg.js +1 -1
  177. package/esm/plugins/bold/icons/underline.svg.js +1 -1
  178. package/esm/plugins/class-span/class-span.svg.js +1 -1
  179. package/esm/plugins/clean-html/clean-html.d.ts +2 -2
  180. package/esm/plugins/clean-html/eraser.svg.js +1 -1
  181. package/esm/plugins/clean-html/helpers/index.d.ts +4 -4
  182. package/esm/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
  183. package/esm/plugins/clipboard/clipboard.d.ts +1 -1
  184. package/esm/plugins/clipboard/clipboard.js +2 -1
  185. package/esm/plugins/clipboard/icons/copy.svg.js +1 -1
  186. package/esm/plugins/clipboard/icons/cut.svg.js +1 -1
  187. package/esm/plugins/clipboard/icons/paste.svg.js +1 -1
  188. package/esm/plugins/clipboard/icons/select-all.svg.js +1 -1
  189. package/esm/plugins/color/brush.svg.js +1 -1
  190. package/esm/plugins/color/color.d.ts +1 -1
  191. package/esm/plugins/copy-format/copy-format.svg.js +1 -1
  192. package/esm/plugins/copy-format/langs/index.d.ts +21 -21
  193. package/esm/plugins/debug/debug.d.ts +1 -2
  194. package/esm/plugins/delete/delete.d.ts +1 -1
  195. package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
  196. package/esm/plugins/dtd/after-insert/index.d.ts +1 -1
  197. package/esm/plugins/dtd/before-insert/index.d.ts +1 -1
  198. package/esm/plugins/dtd/dtd.d.ts +1 -1
  199. package/esm/plugins/enter/enter.d.ts +2 -2
  200. package/esm/plugins/enter/helpers/index.d.ts +9 -9
  201. package/esm/plugins/font/font.d.ts +1 -1
  202. package/esm/plugins/font/icons/font.svg.js +1 -1
  203. package/esm/plugins/font/icons/fontsize.svg.js +1 -1
  204. package/esm/plugins/format-block/format-block.d.ts +1 -1
  205. package/esm/plugins/format-block/paragraph.svg.js +1 -1
  206. package/esm/plugins/fullsize/config.d.ts +0 -1
  207. package/esm/plugins/fullsize/fullsize.d.ts +1 -2
  208. package/esm/plugins/fullsize/icons/fullsize.svg.js +1 -1
  209. package/esm/plugins/fullsize/icons/shrink.svg.js +1 -1
  210. package/esm/plugins/hotkeys/hotkeys.d.ts +1 -1
  211. package/esm/plugins/hr/hr.svg.js +1 -1
  212. package/esm/plugins/iframe/iframe.d.ts +1 -1
  213. package/esm/plugins/image/image.svg.js +1 -1
  214. package/esm/plugins/image-processor/image-processor.d.ts +1 -1
  215. package/esm/plugins/image-processor/image-processor.js +5 -4
  216. package/esm/plugins/image-properties/config.d.ts +1 -1
  217. package/esm/plugins/image-properties/image-properties.d.ts +3 -3
  218. package/esm/plugins/image-properties/readers/align.d.ts +1 -1
  219. package/esm/plugins/image-properties/readers/index.d.ts +1 -1
  220. package/esm/plugins/image-properties/readers/link.d.ts +1 -1
  221. package/esm/plugins/image-properties/readers/margin.d.ts +1 -1
  222. package/esm/plugins/image-properties/readers/size.d.ts +1 -1
  223. package/esm/plugins/image-properties/ui/ui-image-form.d.ts +2 -3
  224. package/esm/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
  225. package/esm/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
  226. package/esm/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
  227. package/esm/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
  228. package/esm/plugins/image-properties/writers/index.d.ts +1 -1
  229. package/esm/plugins/indent/icons/indent.svg.js +1 -1
  230. package/esm/plugins/indent/icons/outdent.svg.js +1 -1
  231. package/esm/plugins/indent/indent.d.ts +1 -1
  232. package/esm/plugins/index.d.ts +62 -62
  233. package/esm/plugins/inline-popup/icons/addcolumn.svg.js +1 -1
  234. package/esm/plugins/inline-popup/icons/addrow.svg.js +1 -1
  235. package/esm/plugins/inline-popup/icons/merge.svg.js +1 -1
  236. package/esm/plugins/inline-popup/icons/splitg.svg.js +1 -1
  237. package/esm/plugins/inline-popup/icons/splitv.svg.js +1 -1
  238. package/esm/plugins/inline-popup/icons/th-list.svg.js +1 -1
  239. package/esm/plugins/inline-popup/icons/th.svg.js +1 -1
  240. package/esm/plugins/inline-popup/inline-popup.d.ts +1 -2
  241. package/esm/plugins/justify/justify.svg.js +1 -1
  242. package/esm/plugins/limit/limit.d.ts +1 -1
  243. package/esm/plugins/line-height/langs/index.d.ts +22 -22
  244. package/esm/plugins/line-height/line-height.d.ts +1 -1
  245. package/esm/plugins/line-height/line-height.svg.js +1 -1
  246. package/esm/plugins/link/icons/link.svg.js +1 -1
  247. package/esm/plugins/link/icons/unlink.svg.js +1 -1
  248. package/esm/plugins/link/link.d.ts +1 -1
  249. package/esm/plugins/media/media.d.ts +1 -1
  250. package/esm/plugins/mobile/mobile.d.ts +1 -1
  251. package/esm/plugins/ordered-list/icons/ol.svg.js +1 -1
  252. package/esm/plugins/ordered-list/icons/ul.svg.js +1 -1
  253. package/esm/plugins/ordered-list/ordered-list.d.ts +1 -1
  254. package/esm/plugins/paste/helpers.d.ts +1 -1
  255. package/esm/plugins/paste/paste.d.ts +2 -2
  256. package/esm/plugins/paste-from-word/paste-from-word.d.ts +2 -2
  257. package/esm/plugins/paste-storage/paste-storage.d.ts +1 -2
  258. package/esm/plugins/placeholder/placeholder.d.ts +2 -3
  259. package/esm/plugins/preview/preview.d.ts +0 -1
  260. package/esm/plugins/print/print.svg.js +1 -1
  261. package/esm/plugins/redo-undo/icons/redo.svg.js +1 -1
  262. package/esm/plugins/redo-undo/icons/undo.svg.js +1 -1
  263. package/esm/plugins/redo-undo/redo-undo.d.ts +1 -1
  264. package/esm/plugins/resize-cells/resize-cells.d.ts +1 -2
  265. package/esm/plugins/resize-handler/resize-handler.d.ts +1 -1
  266. package/esm/plugins/resizer/resizer.d.ts +2 -3
  267. package/esm/plugins/search/config.d.ts +1 -1
  268. package/esm/plugins/search/helpers/index.d.ts +2 -2
  269. package/esm/plugins/search/search.d.ts +1 -1
  270. package/esm/plugins/search/search.js +2 -2
  271. package/esm/plugins/search/search.svg.js +1 -1
  272. package/esm/plugins/search/ui/search.d.ts +0 -1
  273. package/esm/plugins/select/select.d.ts +1 -1
  274. package/esm/plugins/select-cells/select-cells.d.ts +1 -1
  275. package/esm/plugins/size/size.d.ts +2 -3
  276. package/esm/plugins/source/editor/engines/ace.d.ts +1 -1
  277. package/esm/plugins/source/editor/engines/area.d.ts +1 -1
  278. package/esm/plugins/source/editor/engines/index.d.ts +2 -2
  279. package/esm/plugins/source/source.d.ts +1 -2
  280. package/esm/plugins/source/source.svg.js +1 -1
  281. package/esm/plugins/speech-recognize/config.d.ts +1 -1
  282. package/esm/plugins/speech-recognize/helpers/api.d.ts +1 -1
  283. package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +2 -2
  284. package/esm/plugins/speech-recognize/langs/index.d.ts +22 -22
  285. package/esm/plugins/speech-recognize/speech-recognize.d.ts +1 -2
  286. package/esm/plugins/speech-recognize/speech-recognize.svg.js +1 -1
  287. package/esm/plugins/spellcheck/langs/index.d.ts +22 -22
  288. package/esm/plugins/spellcheck/spellcheck.d.ts +1 -1
  289. package/esm/plugins/spellcheck/spellcheck.svg.js +1 -1
  290. package/esm/plugins/stat/stat.d.ts +2 -2
  291. package/esm/plugins/sticky/sticky.d.ts +2 -3
  292. package/esm/plugins/symbols/langs/index.d.ts +22 -22
  293. package/esm/plugins/symbols/symbols.d.ts +2 -3
  294. package/esm/plugins/symbols/symbols.svg.js +1 -1
  295. package/esm/plugins/tab/cases/index.d.ts +1 -1
  296. package/esm/plugins/tab/tab.d.ts +1 -1
  297. package/esm/plugins/table/table.d.ts +1 -2
  298. package/esm/plugins/table/table.svg.js +1 -1
  299. package/esm/plugins/video/video.d.ts +1 -1
  300. package/esm/plugins/video/video.svg.js +1 -1
  301. package/esm/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
  302. package/esm/plugins/xpath/xpath.d.ts +1 -2
  303. package/esm/polyfills.js +3 -3
  304. package/esm/styles/icons/angle-down.svg.js +1 -1
  305. package/esm/styles/icons/angle-left.svg.js +1 -1
  306. package/esm/styles/icons/angle-right.svg.js +1 -1
  307. package/esm/styles/icons/angle-up.svg.js +1 -1
  308. package/esm/styles/icons/bin.svg.js +1 -1
  309. package/esm/styles/icons/cancel.svg.js +1 -1
  310. package/esm/styles/icons/center.svg.js +1 -1
  311. package/esm/styles/icons/check.svg.js +1 -1
  312. package/esm/styles/icons/chevron.svg.js +1 -1
  313. package/esm/styles/icons/dots.svg.js +1 -1
  314. package/esm/styles/icons/eye.svg.js +1 -1
  315. package/esm/styles/icons/file.svg.js +1 -1
  316. package/esm/styles/icons/folder.svg.js +1 -1
  317. package/esm/styles/icons/index.d.ts +0 -27
  318. package/esm/styles/icons/info-circle.svg.js +1 -1
  319. package/esm/styles/icons/left.svg.js +1 -1
  320. package/esm/styles/icons/lock.svg.js +1 -1
  321. package/esm/styles/icons/ok.svg.js +1 -1
  322. package/esm/styles/icons/pencil.svg.js +1 -1
  323. package/esm/styles/icons/pins.svg.js +1 -1
  324. package/esm/styles/icons/plus.svg.js +1 -1
  325. package/esm/styles/icons/resize-handler.svg.js +1 -1
  326. package/esm/styles/icons/right.svg.js +1 -1
  327. package/esm/styles/icons/save.svg.js +1 -1
  328. package/esm/styles/icons/settings.svg.js +1 -1
  329. package/esm/styles/icons/unlock.svg.js +1 -1
  330. package/esm/styles/icons/update.svg.js +1 -1
  331. package/esm/styles/icons/upload.svg.js +1 -1
  332. package/esm/styles/icons/valign.svg.js +1 -1
  333. package/esm/types/ajax.d.ts +1 -1
  334. package/esm/types/async.d.ts +2 -2
  335. package/esm/types/context.d.ts +2 -2
  336. package/esm/types/core.d.ts +1 -1
  337. package/esm/types/create.d.ts +1 -1
  338. package/esm/types/dialog.d.ts +3 -3
  339. package/esm/types/events.d.ts +1 -1
  340. package/esm/types/file-browser.d.ts +7 -7
  341. package/esm/types/history.d.ts +1 -1
  342. package/esm/types/index.d.ts +23 -23
  343. package/esm/types/jodit.d.ts +5 -5
  344. package/esm/types/messages.d.ts +1 -1
  345. package/esm/types/plugin.d.ts +3 -3
  346. package/esm/types/popup.d.ts +2 -2
  347. package/esm/types/select.d.ts +2 -2
  348. package/esm/types/source.d.ts +1 -1
  349. package/esm/types/style.d.ts +2 -2
  350. package/esm/types/toolbar.d.ts +6 -6
  351. package/esm/types/traits.d.ts +2 -2
  352. package/esm/types/types.d.ts +2 -2
  353. package/esm/types/ui.d.ts +5 -5
  354. package/esm/types/uploader.d.ts +3 -3
  355. package/esm/types/view.d.ts +10 -9
  356. package/package.json +1 -1
  357. package/types/config.d.ts +4 -0
  358. package/types/core/async/index.d.ts +1 -1
  359. package/types/core/component/index.d.ts +3 -3
  360. package/types/core/component/view-component.d.ts +1 -1
  361. package/types/core/create/index.d.ts +1 -1
  362. package/types/core/decorators/cache/cache.d.ts +100 -0
  363. package/types/core/decorators/index.d.ts +11 -11
  364. package/types/core/dom/index.d.ts +2 -2
  365. package/types/core/dom/lazy-walker.d.ts +1 -1
  366. package/types/core/event-emitter/index.d.ts +4 -4
  367. package/types/core/global.d.ts +7 -2
  368. package/types/core/helpers/array/index.d.ts +3 -3
  369. package/types/core/helpers/async/index.d.ts +1 -1
  370. package/types/core/helpers/checker/index.d.ts +25 -25
  371. package/types/core/helpers/checker/is-abort-error.d.ts +1 -1
  372. package/types/core/helpers/color/index.d.ts +1 -1
  373. package/types/core/helpers/html/index.d.ts +6 -6
  374. package/types/core/helpers/normalize/index.d.ts +8 -8
  375. package/types/core/helpers/size/index.d.ts +6 -6
  376. package/types/core/helpers/string/index.d.ts +7 -7
  377. package/types/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
  378. package/types/core/helpers/utils/error/errors/index.d.ts +3 -3
  379. package/types/core/helpers/utils/error/index.d.ts +1 -1
  380. package/types/core/helpers/utils/index.d.ts +26 -26
  381. package/types/core/helpers/utils/selector.d.ts +5 -1
  382. package/types/core/plugin/index.d.ts +2 -2
  383. package/types/core/plugin/plugin-system.d.ts +1 -1
  384. package/types/core/request/ajax.d.ts +1 -1
  385. package/types/core/request/index.d.ts +2 -2
  386. package/types/core/selection/helpers/index.d.ts +2 -2
  387. package/types/core/selection/index.d.ts +3 -3
  388. package/types/core/selection/selection.d.ts +1 -1
  389. package/types/core/selection/style/api/index.d.ts +15 -15
  390. package/types/core/storage/index.d.ts +3 -3
  391. package/types/core/ui/button/button/button.d.ts +1 -2
  392. package/types/core/ui/button/group/group.d.ts +1 -2
  393. package/types/core/ui/button/index.d.ts +3 -3
  394. package/types/core/ui/button/tooltip/tooltip.d.ts +1 -2
  395. package/types/core/ui/element.d.ts +2 -2
  396. package/types/core/ui/form/block/block.d.ts +1 -2
  397. package/types/core/ui/form/form.d.ts +1 -1
  398. package/types/core/ui/form/index.d.ts +2 -2
  399. package/types/core/ui/form/inputs/area/area.d.ts +1 -2
  400. package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +1 -2
  401. package/types/core/ui/form/inputs/file/file.d.ts +1 -2
  402. package/types/core/ui/form/inputs/index.d.ts +5 -5
  403. package/types/core/ui/form/inputs/input/input.d.ts +1 -2
  404. package/types/core/ui/form/inputs/select/select.d.ts +1 -2
  405. package/types/core/ui/form/validators/index.d.ts +2 -2
  406. package/types/core/ui/group/group.d.ts +1 -2
  407. package/types/core/ui/group/index.d.ts +4 -4
  408. package/types/core/ui/group/list.d.ts +1 -2
  409. package/types/core/ui/group/separator.d.ts +1 -1
  410. package/types/core/ui/group/spacer.d.ts +1 -1
  411. package/types/core/ui/index.d.ts +3 -3
  412. package/types/core/ui/popup/index.d.ts +1 -1
  413. package/types/core/ui/popup/popup.d.ts +1 -2
  414. package/types/core/ui/progress-bar/progress-bar.d.ts +1 -2
  415. package/types/core/view/view-with-toolbar.d.ts +1 -2
  416. package/types/core/view/view.d.ts +3 -3
  417. package/types/index.d.ts +2 -4
  418. package/types/jodit.d.ts +3 -3
  419. package/types/modules/context-menu/context-menu.d.ts +1 -2
  420. package/types/modules/dialog/dialog.d.ts +9 -10
  421. package/types/modules/dialog/index.d.ts +4 -4
  422. package/types/modules/file-browser/config.d.ts +1 -1
  423. package/types/modules/file-browser/file-browser.d.ts +3 -4
  424. package/types/modules/file-browser/index.d.ts +1 -1
  425. package/types/modules/file-browser/ui/files/files.d.ts +0 -1
  426. package/types/modules/file-browser/ui/index.d.ts +2 -2
  427. package/types/modules/file-browser/ui/tree/tree.d.ts +0 -1
  428. package/types/modules/history/command.d.ts +1 -1
  429. package/types/modules/history/history.d.ts +2 -2
  430. package/types/modules/history/stack.d.ts +1 -1
  431. package/types/modules/image-editor/image-editor.d.ts +1 -2
  432. package/types/modules/index.d.ts +13 -13
  433. package/types/modules/messages/messages.d.ts +1 -2
  434. package/types/modules/status-bar/status-bar.d.ts +2 -3
  435. package/types/modules/toolbar/button/button.d.ts +0 -1
  436. package/types/modules/toolbar/button/content.d.ts +0 -1
  437. package/types/modules/toolbar/button/index.d.ts +3 -3
  438. package/types/modules/toolbar/button/select/select.d.ts +1 -2
  439. package/types/modules/toolbar/collection/collection.d.ts +0 -1
  440. package/types/modules/toolbar/collection/editor-collection.d.ts +1 -1
  441. package/types/modules/uploader/helpers/index.d.ts +5 -5
  442. package/types/modules/uploader/uploader.d.ts +1 -2
  443. package/types/modules/widget/color-picker/color-picker.d.ts +0 -1
  444. package/types/modules/widget/index.d.ts +3 -3
  445. package/types/modules/widget/tabs/tabs.d.ts +0 -1
  446. package/types/plugins/about/about.d.ts +0 -1
  447. package/types/plugins/add-new-line/add-new-line.d.ts +1 -2
  448. package/types/plugins/ai-assistant/ai-assistant.d.ts +2 -2
  449. package/types/plugins/ai-assistant/langs/index.d.ts +2 -2
  450. package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +1 -2
  451. package/types/plugins/backspace/backspace.d.ts +1 -1
  452. package/types/plugins/backspace/cases/check-remove-char.d.ts +1 -1
  453. package/types/plugins/backspace/cases/index.d.ts +2 -2
  454. package/types/plugins/bold/bold.d.ts +2 -2
  455. package/types/plugins/clean-html/clean-html.d.ts +2 -2
  456. package/types/plugins/clean-html/helpers/index.d.ts +4 -4
  457. package/types/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
  458. package/types/plugins/clipboard/clipboard.d.ts +1 -1
  459. package/types/plugins/color/color.d.ts +1 -1
  460. package/types/plugins/copy-format/langs/index.d.ts +21 -21
  461. package/types/plugins/debug/debug.d.ts +1 -2
  462. package/types/plugins/delete/delete.d.ts +1 -1
  463. package/types/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +1 -1
  464. package/types/plugins/dtd/after-insert/index.d.ts +1 -1
  465. package/types/plugins/dtd/before-insert/index.d.ts +1 -1
  466. package/types/plugins/dtd/dtd.d.ts +1 -1
  467. package/types/plugins/enter/enter.d.ts +2 -2
  468. package/types/plugins/enter/helpers/index.d.ts +9 -9
  469. package/types/plugins/font/font.d.ts +1 -1
  470. package/types/plugins/format-block/format-block.d.ts +1 -1
  471. package/types/plugins/fullsize/config.d.ts +0 -1
  472. package/types/plugins/fullsize/fullsize.d.ts +1 -2
  473. package/types/plugins/hotkeys/hotkeys.d.ts +1 -1
  474. package/types/plugins/iframe/iframe.d.ts +1 -1
  475. package/types/plugins/image-processor/image-processor.d.ts +1 -1
  476. package/types/plugins/image-properties/config.d.ts +1 -1
  477. package/types/plugins/image-properties/image-properties.d.ts +3 -3
  478. package/types/plugins/image-properties/readers/align.d.ts +1 -1
  479. package/types/plugins/image-properties/readers/index.d.ts +1 -1
  480. package/types/plugins/image-properties/readers/link.d.ts +1 -1
  481. package/types/plugins/image-properties/readers/margin.d.ts +1 -1
  482. package/types/plugins/image-properties/readers/size.d.ts +1 -1
  483. package/types/plugins/image-properties/ui/ui-image-form.d.ts +2 -3
  484. package/types/plugins/image-properties/ui/ui-image-main-tab.d.ts +2 -2
  485. package/types/plugins/image-properties/ui/ui-image-position-tab.d.ts +2 -2
  486. package/types/plugins/image-properties/utils/open-image-editor.d.ts +1 -1
  487. package/types/plugins/image-properties/utils/open-image-popup.d.ts +1 -1
  488. package/types/plugins/image-properties/writers/index.d.ts +1 -1
  489. package/types/plugins/indent/indent.d.ts +1 -1
  490. package/types/plugins/index.d.ts +62 -62
  491. package/types/plugins/inline-popup/inline-popup.d.ts +1 -2
  492. package/types/plugins/limit/limit.d.ts +1 -1
  493. package/types/plugins/line-height/langs/index.d.ts +22 -22
  494. package/types/plugins/line-height/line-height.d.ts +1 -1
  495. package/types/plugins/link/link.d.ts +1 -1
  496. package/types/plugins/media/media.d.ts +1 -1
  497. package/types/plugins/mobile/mobile.d.ts +1 -1
  498. package/types/plugins/ordered-list/ordered-list.d.ts +1 -1
  499. package/types/plugins/paste/helpers.d.ts +1 -1
  500. package/types/plugins/paste/paste.d.ts +2 -2
  501. package/types/plugins/paste-from-word/paste-from-word.d.ts +2 -2
  502. package/types/plugins/paste-storage/paste-storage.d.ts +1 -2
  503. package/types/plugins/placeholder/placeholder.d.ts +2 -3
  504. package/types/plugins/preview/preview.d.ts +0 -1
  505. package/types/plugins/redo-undo/redo-undo.d.ts +1 -1
  506. package/types/plugins/resize-cells/resize-cells.d.ts +1 -2
  507. package/types/plugins/resize-handler/resize-handler.d.ts +1 -1
  508. package/types/plugins/resizer/resizer.d.ts +2 -3
  509. package/types/plugins/search/config.d.ts +1 -1
  510. package/types/plugins/search/helpers/index.d.ts +2 -2
  511. package/types/plugins/search/search.d.ts +1 -1
  512. package/types/plugins/search/ui/search.d.ts +0 -1
  513. package/types/plugins/select/select.d.ts +1 -1
  514. package/types/plugins/select-cells/select-cells.d.ts +1 -1
  515. package/types/plugins/size/size.d.ts +2 -3
  516. package/types/plugins/source/editor/engines/ace.d.ts +1 -1
  517. package/types/plugins/source/editor/engines/area.d.ts +1 -1
  518. package/types/plugins/source/editor/engines/index.d.ts +2 -2
  519. package/types/plugins/source/source.d.ts +1 -2
  520. package/types/plugins/speech-recognize/config.d.ts +1 -1
  521. package/types/plugins/speech-recognize/helpers/api.d.ts +1 -1
  522. package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +2 -2
  523. package/types/plugins/speech-recognize/langs/index.d.ts +22 -22
  524. package/types/plugins/speech-recognize/speech-recognize.d.ts +1 -2
  525. package/types/plugins/spellcheck/langs/index.d.ts +22 -22
  526. package/types/plugins/spellcheck/spellcheck.d.ts +1 -1
  527. package/types/plugins/stat/stat.d.ts +2 -2
  528. package/types/plugins/sticky/sticky.d.ts +2 -3
  529. package/types/plugins/symbols/langs/index.d.ts +22 -22
  530. package/types/plugins/symbols/symbols.d.ts +2 -3
  531. package/types/plugins/tab/cases/index.d.ts +1 -1
  532. package/types/plugins/tab/tab.d.ts +1 -1
  533. package/types/plugins/table/table.d.ts +1 -2
  534. package/types/plugins/video/video.d.ts +1 -1
  535. package/types/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
  536. package/types/plugins/xpath/xpath.d.ts +1 -2
  537. package/types/styles/icons/index.d.ts +0 -27
  538. package/types/types/ajax.d.ts +1 -1
  539. package/types/types/async.d.ts +2 -2
  540. package/types/types/context.d.ts +2 -2
  541. package/types/types/core.d.ts +1 -1
  542. package/types/types/create.d.ts +1 -1
  543. package/types/types/dialog.d.ts +3 -3
  544. package/types/types/events.d.ts +1 -1
  545. package/types/types/file-browser.d.ts +7 -7
  546. package/types/types/history.d.ts +1 -1
  547. package/types/types/index.d.ts +23 -23
  548. package/types/types/jodit.d.ts +5 -5
  549. package/types/types/messages.d.ts +1 -1
  550. package/types/types/plugin.d.ts +3 -3
  551. package/types/types/popup.d.ts +2 -2
  552. package/types/types/select.d.ts +2 -2
  553. package/types/types/source.d.ts +1 -1
  554. package/types/types/style.d.ts +2 -2
  555. package/types/types/toolbar.d.ts +6 -6
  556. package/types/types/traits.d.ts +2 -2
  557. package/types/types/types.d.ts +2 -2
  558. package/types/types/ui.d.ts +5 -5
  559. package/types/types/uploader.d.ts +3 -3
  560. package/types/types/view.d.ts +10 -9
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 128 128\" xml:space=\"preserve\"> <polygon points=\"112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 128 128\" xml:space=\"preserve\"> <polygon points=\"112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125\"/> </svg> ";
@@ -9,8 +9,8 @@
9
9
  * @module plugins/ai-assistant
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import { Plugin } from "../../core/plugin/plugin";
13
- import "./config";
12
+ import { Plugin } from "../../core/plugin/plugin.d.ts";
13
+ import "./config.d.ts";
14
14
  /**
15
15
  * The plugin inserts content generated by AI into the editor.
16
16
  */
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 270 270\"> <path d=\"M 255.9537,58.150081 237.69527,40.997278 c -1.49414,-1.375593 -3.43653,-2.077427 -5.37891,-2.077427 -1.94239,0 -3.88478,0.701834 -5.37892,2.077427 L 29.919751,226.1128 c -2.988286,2.77926 -2.988286,7.32714 0,10.13447 L 48.148295,253.372 c 1.46426,1.37559 3.406646,2.1055 5.378915,2.1055 1.972268,0 3.884771,-0.72991 5.378914,-2.1055 L 221.34935,100.73732 255.9537,68.284552 c 2.9584,-2.807333 2.9584,-7.355212 0,-10.134471 z M 251.17244,63.79282 221.34935,91.781927 201.89561,73.506191 231.68882,45.48901 c 0.20918,-0.140367 0.38847,-0.224587 0.62754,-0.224587 0.23906,0 0.44824,0.08422 0.59765,0.224587 l 18.25843,17.152803 c 0,0 0.23906,0.33688 0.23906,0.561467 0,0.224586 -0.0896,0.4211 -0.23906,0.58954 z\" style=\"stroke-width:2.8964;stroke-opacity:1\" /> <path d=\"m 48.626421,116.87948 10.578532,23.10435 c 0.83672,1.82477 3.615826,1.85284 4.452546,0 l 10.937126,-23.52545 c 2.629692,-5.69888 7.470715,-10.24676 13.536935,-12.71722 l 25.07172,-10.274833 c 1.94239,-0.786053 1.94239,-3.396873 0,-4.182926 L 88.13156,79.008563 C 82.06534,76.53811 77.224317,71.990231 74.594625,66.291346 L 63.657499,42.737824 c -0.83672,-1.824766 -3.615826,-1.824766 -4.452546,0 L 48.267826,66.291346 C 45.638135,71.990231 40.797112,76.53811 34.730891,79.008563 L 9.6292894,89.311474 c -1.9423859,0.786054 -1.9423859,3.3688 0,4.182926 l 25.5498446,10.61172 c 6.036338,2.49852 10.847478,7.07448 13.477169,12.77336 z\" style=\"stroke-width:2.8964;fill-opacity:1;stroke-opacity:1\" /> <path d=\"m 111.79878,33.136746 13.56682,5.642739 c 3.19747,1.319446 5.76739,3.761826 7.14201,6.793745 l 5.61797,12.268044 c 0.44825,0.982567 1.91251,0.982567 2.36075,0 l 5.79727,-12.492631 c 1.4045,-3.031919 3.97442,-5.446225 7.20177,-6.765672 l 13.29788,-5.446225 c 1.0459,-0.4211 1.0459,-1.796693 0,-2.217793 l -13.29788,-5.446225 c -3.22735,-1.319447 -5.79727,-3.733753 -7.20177,-6.765672 L 140.48633,6.2144248 c -0.44824,-0.9825664 -1.9125,-0.9825664 -2.36075,0 l -5.79727,12.4926312 c -1.4045,3.031919 -3.97442,5.446225 -7.20177,6.765672 l -13.32776,5.474298 c -1.01601,0.4211 -1.0459,1.796693 0,2.217793 z\" style=\"stroke-width:2.8964;fill-opacity:1\" /> <path d=\"m 233.09331,192.98627 -14.13459,-5.7831 c -3.40665,-1.40367 -6.12599,-3.95834 -7.62013,-7.1587 l -6.15587,-13.27868 c -0.47813,-1.03872 -2.03203,-1.03872 -2.51016,0 l -6.15587,13.27868 c -1.49414,3.20036 -4.21348,5.75503 -7.62013,7.1587 l -14.13459,5.81118 c -1.10567,0.44917 -1.10567,1.90898 0,2.35816 l 14.40354,5.97961 c 3.40664,1.40367 6.12598,3.98642 7.59024,7.21485 l 5.97658,13.02602 c 0.47812,1.03872 2.03203,1.03872 2.51016,0 l 6.15586,-13.25061 c 1.49415,-3.20036 4.21349,-5.75503 7.62013,-7.1587 l 14.1346,-5.7831 c 1.10566,-0.44917 1.10566,-1.90899 0,-2.35816 z\" style=\"stroke-width:2.8964;stroke-opacity:1\" /> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 270 270\"> <path d=\"M 255.9537,58.150081 237.69527,40.997278 c -1.49414,-1.375593 -3.43653,-2.077427 -5.37891,-2.077427 -1.94239,0 -3.88478,0.701834 -5.37892,2.077427 L 29.919751,226.1128 c -2.988286,2.77926 -2.988286,7.32714 0,10.13447 L 48.148295,253.372 c 1.46426,1.37559 3.406646,2.1055 5.378915,2.1055 1.972268,0 3.884771,-0.72991 5.378914,-2.1055 L 221.34935,100.73732 255.9537,68.284552 c 2.9584,-2.807333 2.9584,-7.355212 0,-10.134471 z M 251.17244,63.79282 221.34935,91.781927 201.89561,73.506191 231.68882,45.48901 c 0.20918,-0.140367 0.38847,-0.224587 0.62754,-0.224587 0.23906,0 0.44824,0.08422 0.59765,0.224587 l 18.25843,17.152803 c 0,0 0.23906,0.33688 0.23906,0.561467 0,0.224586 -0.0896,0.4211 -0.23906,0.58954 z\" style=\"stroke-width:2.8964;stroke-opacity:1\" /> <path d=\"m 48.626421,116.87948 10.578532,23.10435 c 0.83672,1.82477 3.615826,1.85284 4.452546,0 l 10.937126,-23.52545 c 2.629692,-5.69888 7.470715,-10.24676 13.536935,-12.71722 l 25.07172,-10.274833 c 1.94239,-0.786053 1.94239,-3.396873 0,-4.182926 L 88.13156,79.008563 C 82.06534,76.53811 77.224317,71.990231 74.594625,66.291346 L 63.657499,42.737824 c -0.83672,-1.824766 -3.615826,-1.824766 -4.452546,0 L 48.267826,66.291346 C 45.638135,71.990231 40.797112,76.53811 34.730891,79.008563 L 9.6292894,89.311474 c -1.9423859,0.786054 -1.9423859,3.3688 0,4.182926 l 25.5498446,10.61172 c 6.036338,2.49852 10.847478,7.07448 13.477169,12.77336 z\" style=\"stroke-width:2.8964;fill-opacity:1;stroke-opacity:1\" /> <path d=\"m 111.79878,33.136746 13.56682,5.642739 c 3.19747,1.319446 5.76739,3.761826 7.14201,6.793745 l 5.61797,12.268044 c 0.44825,0.982567 1.91251,0.982567 2.36075,0 l 5.79727,-12.492631 c 1.4045,-3.031919 3.97442,-5.446225 7.20177,-6.765672 l 13.29788,-5.446225 c 1.0459,-0.4211 1.0459,-1.796693 0,-2.217793 l -13.29788,-5.446225 c -3.22735,-1.319447 -5.79727,-3.733753 -7.20177,-6.765672 L 140.48633,6.2144248 c -0.44824,-0.9825664 -1.9125,-0.9825664 -2.36075,0 l -5.79727,12.4926312 c -1.4045,3.031919 -3.97442,5.446225 -7.20177,6.765672 l -13.32776,5.474298 c -1.01601,0.4211 -1.0459,1.796693 0,2.217793 z\" style=\"stroke-width:2.8964;fill-opacity:1\" /> <path d=\"m 233.09331,192.98627 -14.13459,-5.7831 c -3.40665,-1.40367 -6.12599,-3.95834 -7.62013,-7.1587 l -6.15587,-13.27868 c -0.47813,-1.03872 -2.03203,-1.03872 -2.51016,0 l -6.15587,13.27868 c -1.49414,3.20036 -4.21348,5.75503 -7.62013,7.1587 l -14.13459,5.81118 c -1.10567,0.44917 -1.10567,1.90898 0,2.35816 l 14.40354,5.97961 c 3.40664,1.40367 6.12598,3.98642 7.59024,7.21485 l 5.97658,13.02602 c 0.47812,1.03872 2.03203,1.03872 2.51016,0 l 6.15586,-13.25061 c 1.49415,-3.20036 4.21349,-5.75503 7.62013,-7.1587 l 14.1346,-5.7831 c 1.10566,-0.44917 1.10566,-1.90899 0,-2.35816 z\" style=\"stroke-width:2.8964;stroke-opacity:1\" /> </svg> ";
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 24 24\"> <g transform=\"scale(1.2 1.2) translate(-2 -0.5)\"> <path d=\"M 22,12.5 A 1.49995,1.49995 0 0 0 20.50006,11 H 20 V 10 A 3,3 0 0 0 17,7 H 13 V 5.7226 a 2,2 0 1 0 -2,0 V 7 H 7 a 3,3 0 0 0 -3,3 v 1 H 3.49994 a 1.5,1.5 0 0 0 0,3 H 4 v 1 A 3.00128,3.00128 0 0 0 6.20251,17.89282 1.03113,1.03113 0 0 1 7,18.86975 v 0.716 a 0.99928,0.99928 0 0 0 1.00726,1.002 0.9792,0.9792 0 0 0 0.69983,-0.29486 l 2,-2 A 1,1 0 0 1 11.41425,18 H 17 a 3,3 0 0 0 3,-3 v -1 h 0.50006 A 1.49995,1.49995 0 0 0 22,12.5 Z M 19,15 a 2.00226,2.00226 0 0 1 -2,2 H 11.41425 A 1.987,1.987 0 0 0 10,17.58575 l -2,2 v -0.716 A 2.02082,2.02082 0 0 0 6.46771,16.92865 2.00439,2.00439 0 0 1 5,15 V 10 A 2.00226,2.00226 0 0 1 7,8 h 10 a 2.00222,2.00222 0 0 1 2,2 z M 10,12.5 A 1.5,1.5 0 1 1 8.5,11 1.5,1.5 0 0 1 10,12.5 Z m 7,0 A 1.5,1.5 0 1 1 15.5,11 1.5,1.5 0 0 1 17,12.5 Z\"/> </g> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 24 24\"> <g transform=\"scale(1.2 1.2) translate(-2 -0.5)\"> <path d=\"M 22,12.5 A 1.49995,1.49995 0 0 0 20.50006,11 H 20 V 10 A 3,3 0 0 0 17,7 H 13 V 5.7226 a 2,2 0 1 0 -2,0 V 7 H 7 a 3,3 0 0 0 -3,3 v 1 H 3.49994 a 1.5,1.5 0 0 0 0,3 H 4 v 1 A 3.00128,3.00128 0 0 0 6.20251,17.89282 1.03113,1.03113 0 0 1 7,18.86975 v 0.716 a 0.99928,0.99928 0 0 0 1.00726,1.002 0.9792,0.9792 0 0 0 0.69983,-0.29486 l 2,-2 A 1,1 0 0 1 11.41425,18 H 17 a 3,3 0 0 0 3,-3 v -1 h 0.50006 A 1.49995,1.49995 0 0 0 22,12.5 Z M 19,15 a 2.00226,2.00226 0 0 1 -2,2 H 11.41425 A 1.987,1.987 0 0 0 10,17.58575 l -2,2 v -0.716 A 2.02082,2.02082 0 0 0 6.46771,16.92865 2.00439,2.00439 0 0 1 5,15 V 10 A 2.00226,2.00226 0 0 1 7,8 h 10 a 2.00222,2.00222 0 0 1 2,2 z M 10,12.5 A 1.5,1.5 0 1 1 8.5,11 1.5,1.5 0 0 1 10,12.5 Z m 7,0 A 1.5,1.5 0 1 1 15.5,11 1.5,1.5 0 0 1 17,12.5 Z\"/> </g> </svg> ";
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module plugins/ai-assistant
8
8
  */
9
- import * as en from "./en.js";
10
- import * as es from "./es.js";
9
+ import * as en from "./en.d.ts";
10
+ import * as es from "./es.d.ts";
11
11
  export { en, es };
@@ -8,8 +8,7 @@
8
8
  */
9
9
  import type { IJodit } from "../../../types";
10
10
  import { UITextArea } from "../../../core/ui";
11
- import { UIElement } from "../../../core/ui/element";
12
-
11
+ import { UIElement } from "../../../core/ui/element.d.ts";
13
12
  export declare class UiAiAssistant extends UIElement<IJodit> {
14
13
  private __body;
15
14
  private __buttons;
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
12
  import { Plugin } from "../../core/plugin";
13
- import "./config";
13
+ import "./config.d.ts";
14
14
  export declare class backspace extends Plugin {
15
15
  static requires: string[];
16
16
  protected afterInit(jodit: IJodit): void;
@@ -7,7 +7,7 @@
7
7
  * @module plugins/backspace
8
8
  */
9
9
  import type { IJodit } from "../../../types";
10
- import type { DeleteMode } from "../interface";
10
+ import type { DeleteMode } from "../interface.d.ts";
11
11
  /**
12
12
  * Check possibility the char can be removed
13
13
  *
@@ -3,8 +3,8 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- import { checkRemoveChar } from "./check-remove-char";
7
- import { checkRemoveContentNotEditable } from "./check-remove-content-not-editable";
6
+ import { checkRemoveChar } from "./check-remove-char.d.ts";
7
+ import { checkRemoveContentNotEditable } from "./check-remove-content-not-editable.d.ts";
8
8
  /**
9
9
  * @private
10
10
  */
@@ -9,8 +9,8 @@
9
9
  * @module plugins/bold
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import "./interface";
13
- import "./config";
12
+ import "./interface.d.ts";
13
+ import "./config.d.ts";
14
14
  /**
15
15
  * Adds `bold`,` strikethrough`, `underline` and` italic` buttons to Jodit
16
16
  */
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z\"/> </svg> ";
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z\"/> </svg> ";
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z\"/> </svg> ";
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z\"/> </svg> ";
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z\"/> </svg> ";
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z\"/> </svg> ";
@@ -1 +1 @@
1
- export default "<svg viewBox=\"0 0 48 48\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z\"/> </svg> ";
1
+ export default "<svg viewBox=\"0 0 48 48\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z\"/> </svg> ";
@@ -9,8 +9,8 @@
9
9
  * @module plugins/clean-html
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import { Plugin } from "../../core/plugin/plugin";
13
- import "./config";
12
+ import { Plugin } from "../../core/plugin/plugin.d.ts";
13
+ import "./config.d.ts";
14
14
  /**
15
15
  * Clean HTML after removeFormat and insertHorizontalRule command
16
16
  */
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z\"/> </svg> ";
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module plugins/clean-html
8
8
  */
9
- export * from "./get-hash";
10
- export * from "./remove-format/remove-format-for-collapsed-selection";
11
- export * from "./remove-format/remove-format-for-selection";
12
- export * from "./visitor/visit-node-walker";
9
+ export * from "./get-hash.d.ts";
10
+ export * from "./remove-format/remove-format-for-collapsed-selection.d.ts";
11
+ export * from "./remove-format/remove-format-for-selection.d.ts";
12
+ export * from "./visitor/visit-node-walker.d.ts";
@@ -9,10 +9,10 @@
9
9
  /**
10
10
  * @private
11
11
  */
12
- export * from "./allow-attributes";
13
- export * from "./fill-empty-paragraph";
14
- export * from "./remove-empty-text-node";
15
- export * from "./remove-inv-text-nodes";
16
- export * from "./replace-old-tags";
17
- export * from "./sanitize-attributes";
18
- export * from "./try-remove-node";
12
+ export * from "./allow-attributes.d.ts";
13
+ export * from "./fill-empty-paragraph.d.ts";
14
+ export * from "./remove-empty-text-node.d.ts";
15
+ export * from "./remove-inv-text-nodes.d.ts";
16
+ export * from "./replace-old-tags.d.ts";
17
+ export * from "./sanitize-attributes.d.ts";
18
+ export * from "./try-remove-node.d.ts";
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { IJodit, IPlugin } from "../../types";
12
12
  import type { Plugin } from "../../core/plugin";
13
- import "./config";
13
+ import "./config.d.ts";
14
14
  /**
15
15
  * Clipboard plugin - cut and copy functionality
16
16
  */
@@ -4,6 +4,7 @@
4
4
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
6
  import { CLIPBOARD_ID, INSERT_AS_HTML, TEXT_HTML, TEXT_PLAIN } from "../../core/constants.js";
7
+ import { cached } from "../../core/decorators/cache/cache.js";
7
8
  import { pluginSystem } from "../../core/global.js";
8
9
  import { getDataTransfer, stripTags } from "../../core/helpers/index.js";
9
10
  import "./config.js";
@@ -61,7 +62,7 @@ export class clipboard {
61
62
  }
62
63
  /** @override */
63
64
  destruct(editor) {
64
- editor?.buffer?.set(CLIPBOARD_ID, '');
65
+ cached(editor, 'buffer')?.set(CLIPBOARD_ID, '');
65
66
  editor?.events?.off('.' + CLIPBOARD_ID);
66
67
  }
67
68
  }
@@ -1 +1 @@
1
- export default "<svg viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z\"/> <path d=\"M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z\"/> <path d=\"M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z\"/> <path d=\"M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z\"/> </svg> ";
1
+ export default "<svg viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z\"/> <path d=\"M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z\"/> <path d=\"M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z\"/> <path d=\"M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z\"/> </svg> ";
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z\"/> </svg> ";
@@ -1 +1 @@
1
- export default "<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"> <path stroke-width=\"0\" d=\"M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z\"/> </svg> ";
1
+ export default "<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"> <path stroke-width=\"0\" d=\"M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z\"/> </svg> ";
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 18 18\"> <g fill-rule=\"evenodd\" stroke=\"none\" stroke-width=\"1\"> <g transform=\"translate(-381.000000, -381.000000)\"> <g transform=\"translate(381.000000, 381.000000)\"> <path d=\"M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z\"/> </g> </g> </g> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 18 18\"> <g fill-rule=\"evenodd\" stroke=\"none\" stroke-width=\"1\"> <g transform=\"translate(-381.000000, -381.000000)\"> <g transform=\"translate(381.000000, 381.000000)\"> <path d=\"M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z\"/> </g> </g> </g> </svg> ";
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z\"/> </svg> ";
@@ -9,7 +9,7 @@
9
9
  * @module plugins/color
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import "./config";
12
+ import "./config.d.ts";
13
13
  /**
14
14
  * Process commands `background` and `forecolor`
15
15
  */
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 16 16\"> <path stroke-width=\"0\" d=\"M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 16 16\"> <path stroke-width=\"0\" d=\"M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z\"/> </svg> ";
@@ -3,25 +3,25 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- import ar from "./ar.js";
7
- import cs_cz from "./cs_cz.js";
8
- import de from "./de.js";
9
- import es from "./es.js";
10
- import fa from "./fa.js";
11
- import fi from "./fi.js";
12
- import fr from "./fr.js";
13
- import he from "./he.js";
14
- import hu from "./hu.js";
15
- import id from "./id.js";
16
- import it from "./it.js";
17
- import ja from "./ja.js";
18
- import ko from "./ko.js";
19
- import mn from "./mn.js";
20
- import nl from "./nl.js";
21
- import pl from "./pl.js";
22
- import pt_br from "./pt_br.js";
23
- import ru from "./ru.js";
24
- import tr from "./tr.js";
25
- import zh_cn from "./zh_cn.js";
26
- import zh_tw from "./zh_tw.js";
6
+ import ar from "./ar.d.ts";
7
+ import cs_cz from "./cs_cz.d.ts";
8
+ import de from "./de.d.ts";
9
+ import es from "./es.d.ts";
10
+ import fa from "./fa.d.ts";
11
+ import fi from "./fi.d.ts";
12
+ import fr from "./fr.d.ts";
13
+ import he from "./he.d.ts";
14
+ import hu from "./hu.d.ts";
15
+ import id from "./id.d.ts";
16
+ import it from "./it.d.ts";
17
+ import ja from "./ja.d.ts";
18
+ import ko from "./ko.d.ts";
19
+ import mn from "./mn.d.ts";
20
+ import nl from "./nl.d.ts";
21
+ import pl from "./pl.d.ts";
22
+ import pt_br from "./pt_br.d.ts";
23
+ import ru from "./ru.d.ts";
24
+ import tr from "./tr.d.ts";
25
+ import zh_cn from "./zh_cn.d.ts";
26
+ import zh_tw from "./zh_tw.d.ts";
27
27
  export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, zh_cn, zh_tw };
@@ -9,8 +9,7 @@
9
9
  * @module plugins/debug
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import { Plugin } from "../../core/plugin/plugin";
13
-
12
+ import { Plugin } from "../../core/plugin/plugin.d.ts";
14
13
  export declare class Debug extends Plugin {
15
14
  protected afterInit(jodit: IJodit): void;
16
15
  protected beforeDestruct(jodit: IJodit): void;
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
12
  import { Plugin } from "../../core/plugin";
13
- import "./interface";
13
+ import "./interface.d.ts";
14
14
  export declare class deleteCommand extends Plugin {
15
15
  static requires: string[];
16
16
  protected afterInit(jodit: IJodit): void;
@@ -4,7 +4,7 @@
4
4
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
6
  import { Plugin } from "../../core/plugin";
7
- import "./config";
7
+ import "./config.d.ts";
8
8
  /**
9
9
  * Process drag and drop image or another element inside the editor
10
10
  */
@@ -7,4 +7,4 @@
7
7
  * @module plugins/dtd
8
8
  * @internal
9
9
  */
10
- export * from "./remove-extra-br";
10
+ export * from "./remove-extra-br.d.ts";
@@ -7,4 +7,4 @@
7
7
  * @module plugins/dtd
8
8
  * @internal
9
9
  */
10
- export * from "./check-block-nesting";
10
+ export * from "./check-block-nesting.d.ts";
@@ -3,4 +3,4 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- import "./config";
6
+ import "./config.d.ts";
@@ -9,8 +9,8 @@
9
9
  * @module plugins/enter
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import { Plugin } from "../../core/plugin/plugin";
13
- import "./interface";
12
+ import { Plugin } from "../../core/plugin/plugin.d.ts";
13
+ import "./interface.d.ts";
14
14
  /**
15
15
  * One of most important core plugins. It is responsible for all the browsers to have the same effect when the Enter
16
16
  * button is pressed. By default, it should insert the <p>
@@ -6,12 +6,12 @@
6
6
  /**
7
7
  * @module plugins/enter
8
8
  */
9
- export * from "./check-br";
10
- export * from "./check-unsplittable-box";
11
- export * from "./get-block-wrapper";
12
- export * from "./has-previous-block";
13
- export * from "./insert-paragraph";
14
- export * from "./move-cursor-out-from-specal-tags";
15
- export * from "./process-empty-li-leaf";
16
- export * from "./split-fragment";
17
- export * from "./wrap-text";
9
+ export * from "./check-br.d.ts";
10
+ export * from "./check-unsplittable-box.d.ts";
11
+ export * from "./get-block-wrapper.d.ts";
12
+ export * from "./has-previous-block.d.ts";
13
+ export * from "./insert-paragraph.d.ts";
14
+ export * from "./move-cursor-out-from-specal-tags.d.ts";
15
+ export * from "./process-empty-li-leaf.d.ts";
16
+ export * from "./split-fragment.d.ts";
17
+ export * from "./wrap-text.d.ts";
@@ -9,7 +9,7 @@
9
9
  * @module plugins/font
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import "./config";
12
+ import "./config.d.ts";
13
13
  /**
14
14
  * Process commands `fontsize` and `fontname`
15
15
  */
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z\"/> </svg> ";
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z\"/> </svg> ";
@@ -9,7 +9,7 @@
9
9
  * @module plugins/format-block
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import "./config";
12
+ import "./config.d.ts";
13
13
  /**
14
14
  * Process command - `formatblock`
15
15
  */
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"><path d=\"M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z\"/></svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"><path d=\"M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z\"/></svg> ";
@@ -3,7 +3,6 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
-
7
6
  declare module 'jodit/config' {
8
7
  interface Config {
9
8
  /**
@@ -9,8 +9,7 @@
9
9
  * @module plugins/fullsize
10
10
  */
11
11
  import type { IViewWithToolbar } from "../../types";
12
- import "./config";
13
-
12
+ import "./config.d.ts";
14
13
  /**
15
14
  * Process `toggleFullSize` event, and behavior - set/unset fullsize mode
16
15
  */
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 24 24\"> <path stroke-width=\"0\" d=\"M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 24 24\"> <path stroke-width=\"0\" d=\"M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z\"/> </svg> ";
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z\"/> </svg> ";
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
12
  import { Plugin } from "../../core/plugin";
13
- import "./config";
13
+ import "./config.d.ts";
14
14
  /**
15
15
  * Allow set hotkey for command or button
16
16
  */
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z\"/> </svg> ";
@@ -9,7 +9,7 @@
9
9
  * @module plugins/iframe
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import "./config";
12
+ import "./config.d.ts";
13
13
  /**
14
14
  * Iframe plugin - use `iframe` instead of DIV in editor. It can be need when you want to attach custom styles in editor
15
15
  * in backend of you system
@@ -1 +1 @@
1
- export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z\"/> </svg> ";
1
+ export default "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z\"/> </svg> ";
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
12
  import { Plugin } from "../../core/plugin";
13
- import "./config";
13
+ import "./config.d.ts";
14
14
  /**
15
15
  * Change editor's size after load all images
16
16
  */
@@ -14,7 +14,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
14
14
  return c > 3 && r && Object.defineProperty(target, key, r), r;
15
15
  };
16
16
  import { SOURCE_CONSUMER } from "../../core/constants.js";
17
- import { debounce, watch } from "../../core/decorators/index.js";
17
+ import { cached, debounce, watch } from "../../core/decorators/index.js";
18
18
  import { pluginSystem } from "../../core/global.js";
19
19
  import { $$, dataBind } from "../../core/helpers/index.js";
20
20
  import { Plugin } from "../../core/plugin/index.js";
@@ -27,13 +27,14 @@ const JODIT_IMAGE_BLOB_ID = JODIT_IMAGE_PROCESSOR_BINDED + 'blob-id';
27
27
  export class imageProcessor extends Plugin {
28
28
  afterInit(jodit) { }
29
29
  beforeDestruct(jodit) {
30
- const list = jodit.buffer.get(JODIT_IMAGE_BLOB_ID);
31
- if (list) {
30
+ const buffer = cached(jodit, 'buffer');
31
+ const list = buffer?.get(JODIT_IMAGE_BLOB_ID);
32
+ if (buffer && list) {
32
33
  const keys = Object.keys(list);
33
34
  for (const uri of keys) {
34
35
  URL.revokeObjectURL(uri);
35
36
  }
36
- jodit.buffer.delete(JODIT_IMAGE_BLOB_ID);
37
+ buffer.delete(JODIT_IMAGE_BLOB_ID);
37
38
  }
38
39
  }
39
40
  onAfterGetValueFromEditor(data, consumer) {
@@ -3,7 +3,7 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- import type { ImagePropertiesOptions } from "./interface";
6
+ import type { ImagePropertiesOptions } from "./interface.d.ts";
7
7
  declare module 'jodit/config' {
8
8
  interface Config {
9
9
  image: ImagePropertiesOptions;
@@ -9,9 +9,9 @@
9
9
  * @module plugins/image-properties
10
10
  */
11
11
  import type { IJodit } from "../../types";
12
- import { Plugin } from "../../core/plugin/plugin";
13
- import "./config";
14
- import type { ImagePropertiesState } from "./interface";
12
+ import { Plugin } from "../../core/plugin/plugin.d.ts";
13
+ import "./config.d.ts";
14
+ import type { ImagePropertiesState } from "./interface.d.ts";
15
15
  /**
16
16
  * Plug-in for image editing window
17
17
  *
@@ -3,7 +3,7 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- import type { EditValues } from "../interface";
6
+ import type { EditValues } from "../interface.d.ts";
7
7
  /**
8
8
  * @private
9
9
  */