jodit 4.4.5 → 4.4.8

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 (822) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +71 -35
  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 +71 -35
  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 +71 -35
  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 +71 -35
  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/5.fat.min.js +1 -1
  43. package/es5/5.min.js +1 -1
  44. package/es5/975.fat.min.js +1 -1
  45. package/es5/975.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 +71 -35
  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 +27 -27
  58. package/esm/core/async/async.d.ts +1 -1
  59. package/esm/core/async/index.d.ts +1 -1
  60. package/esm/core/component/component.d.ts +1 -1
  61. package/esm/core/component/index.d.ts +3 -3
  62. package/esm/core/component/view-component.d.ts +2 -2
  63. package/esm/core/constants.d.ts +1 -1
  64. package/esm/core/constants.js +1 -1
  65. package/esm/core/create/create.d.ts +1 -1
  66. package/esm/core/create/index.d.ts +1 -1
  67. package/esm/core/decorators/cache/cache.d.ts +1 -1
  68. package/esm/core/decorators/debounce/debounce.d.ts +1 -1
  69. package/esm/core/decorators/hook/hook.d.ts +2 -2
  70. package/esm/core/decorators/idle/idle.d.ts +1 -1
  71. package/esm/core/decorators/index.d.ts +11 -11
  72. package/esm/core/decorators/persistent/persistent.d.ts +1 -1
  73. package/esm/core/decorators/wait/wait.d.ts +1 -1
  74. package/esm/core/decorators/watch/watch.d.ts +1 -1
  75. package/esm/core/dom/dom.d.ts +6 -1
  76. package/esm/core/dom/dom.js +36 -12
  77. package/esm/core/dom/index.d.ts +2 -2
  78. package/esm/core/dom/lazy-walker.d.ts +2 -2
  79. package/esm/core/event-emitter/event-emitter.d.ts +1 -1
  80. package/esm/core/event-emitter/eventify.d.ts +1 -1
  81. package/esm/core/event-emitter/index.d.ts +4 -4
  82. package/esm/core/event-emitter/observable.d.ts +1 -1
  83. package/esm/core/event-emitter/store.d.ts +1 -1
  84. package/esm/core/global.d.ts +3 -3
  85. package/esm/core/helpers/array/index.d.ts +3 -3
  86. package/esm/core/helpers/async/index.d.ts +1 -1
  87. package/esm/core/helpers/checker/index.d.ts +25 -25
  88. package/esm/core/helpers/checker/is-abort-error.d.ts +1 -1
  89. package/esm/core/helpers/checker/is-imp-interface.d.ts +1 -1
  90. package/esm/core/helpers/checker/is-jodit-object.d.ts +1 -1
  91. package/esm/core/helpers/checker/is-marker.d.ts +1 -1
  92. package/esm/core/helpers/checker/is-plain-object.d.ts +1 -1
  93. package/esm/core/helpers/checker/is-view-object.d.ts +1 -1
  94. package/esm/core/helpers/color/index.d.ts +1 -1
  95. package/esm/core/helpers/html/index.d.ts +6 -6
  96. package/esm/core/helpers/html/strip-tags.d.ts +1 -1
  97. package/esm/core/helpers/index.d.ts +9 -9
  98. package/esm/core/helpers/normalize/index.d.ts +8 -8
  99. package/esm/core/helpers/size/get-scroll-parent.d.ts +1 -1
  100. package/esm/core/helpers/size/index.d.ts +6 -6
  101. package/esm/core/helpers/size/object-size.d.ts +1 -1
  102. package/esm/core/helpers/size/offset.d.ts +1 -1
  103. package/esm/core/helpers/size/position.d.ts +1 -1
  104. package/esm/core/helpers/string/i18n.d.ts +1 -1
  105. package/esm/core/helpers/string/index.d.ts +7 -7
  106. package/esm/core/helpers/utils/align.d.ts +1 -1
  107. package/esm/core/helpers/utils/append-script.d.ts +1 -1
  108. package/esm/core/helpers/utils/attr.d.ts +1 -1
  109. package/esm/core/helpers/utils/build-query.d.ts +1 -1
  110. package/esm/core/helpers/utils/config-proto.d.ts +1 -1
  111. package/esm/core/helpers/utils/css.d.ts +1 -1
  112. package/esm/core/helpers/utils/data-bind.d.ts +1 -1
  113. package/esm/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
  114. package/esm/core/helpers/utils/error/errors/index.d.ts +3 -3
  115. package/esm/core/helpers/utils/error/index.d.ts +2 -2
  116. package/esm/core/helpers/utils/get-class-name.d.ts +1 -1
  117. package/esm/core/helpers/utils/get.d.ts +1 -1
  118. package/esm/core/helpers/utils/index.d.ts +27 -27
  119. package/esm/core/helpers/utils/parse-query.d.ts +1 -1
  120. package/esm/core/helpers/utils/print.d.ts +1 -1
  121. package/esm/core/helpers/utils/reset.d.ts +1 -1
  122. package/esm/core/helpers/utils/scroll-into-view.d.ts +1 -1
  123. package/esm/core/helpers/utils/selector.d.ts +1 -1
  124. package/esm/core/helpers/utils/set.d.ts +1 -1
  125. package/esm/core/helpers/utils/stack.d.ts +1 -1
  126. package/esm/core/helpers/utils/utils.d.ts +1 -1
  127. package/esm/core/plugin/helpers/init-instance.d.ts +1 -1
  128. package/esm/core/plugin/helpers/load.d.ts +1 -1
  129. package/esm/core/plugin/helpers/make-instance.d.ts +1 -1
  130. package/esm/core/plugin/index.d.ts +2 -2
  131. package/esm/core/plugin/plugin-system.d.ts +2 -2
  132. package/esm/core/plugin/plugin.d.ts +2 -2
  133. package/esm/core/request/ajax.d.ts +2 -2
  134. package/esm/core/request/config.d.ts +1 -1
  135. package/esm/core/request/index.d.ts +2 -2
  136. package/esm/core/request/response.d.ts +1 -1
  137. package/esm/core/selection/helpers/index.d.ts +2 -2
  138. package/esm/core/selection/helpers/move-node-inside-start.d.ts +1 -1
  139. package/esm/core/selection/index.d.ts +3 -3
  140. package/esm/core/selection/interface.d.ts +1 -1
  141. package/esm/core/selection/selection.d.ts +2 -2
  142. package/esm/core/selection/style/api/extract.d.ts +1 -1
  143. package/esm/core/selection/style/api/finite-state-machine.d.ts +1 -1
  144. package/esm/core/selection/style/api/get-suit-child.d.ts +1 -1
  145. package/esm/core/selection/style/api/get-suit-parent.d.ts +1 -1
  146. package/esm/core/selection/style/api/has-same-style.d.ts +1 -1
  147. package/esm/core/selection/style/api/index.d.ts +15 -15
  148. package/esm/core/selection/style/api/is-normal-node.d.ts +1 -1
  149. package/esm/core/selection/style/api/is-same-attributes.d.ts +1 -1
  150. package/esm/core/selection/style/api/is-suit-element.d.ts +1 -1
  151. package/esm/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
  152. package/esm/core/selection/style/api/list/wrap-list.d.ts +1 -1
  153. package/esm/core/selection/style/api/toggle-attributes.d.ts +1 -1
  154. package/esm/core/selection/style/api/unwrap-children.d.ts +1 -1
  155. package/esm/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
  156. package/esm/core/selection/style/api/wrap.d.ts +1 -1
  157. package/esm/core/selection/style/apply-style.d.ts +1 -1
  158. package/esm/core/selection/style/commit-style.d.ts +1 -1
  159. package/esm/core/selection/style/transactions.d.ts +1 -1
  160. package/esm/core/storage/engines/local-storage-provider.d.ts +1 -1
  161. package/esm/core/storage/engines/memory-storage-provider.d.ts +1 -1
  162. package/esm/core/storage/index.d.ts +3 -3
  163. package/esm/core/storage/storage.d.ts +1 -1
  164. package/esm/core/traits/dlgs.d.ts +1 -1
  165. package/esm/core/traits/elms.d.ts +1 -1
  166. package/esm/core/traits/mods.d.ts +1 -1
  167. package/esm/core/ui/button/button/button.d.ts +2 -2
  168. package/esm/core/ui/button/group/group.d.ts +2 -2
  169. package/esm/core/ui/button/index.d.ts +3 -3
  170. package/esm/core/ui/button/tooltip/tooltip.d.ts +2 -2
  171. package/esm/core/ui/element.d.ts +4 -4
  172. package/esm/core/ui/form/block/block.d.ts +2 -2
  173. package/esm/core/ui/form/form.d.ts +2 -2
  174. package/esm/core/ui/form/index.d.ts +3 -3
  175. package/esm/core/ui/form/inputs/area/area.d.ts +2 -2
  176. package/esm/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
  177. package/esm/core/ui/form/inputs/file/file.d.ts +2 -2
  178. package/esm/core/ui/form/inputs/index.d.ts +5 -5
  179. package/esm/core/ui/form/inputs/input/input.d.ts +2 -2
  180. package/esm/core/ui/form/inputs/select/select.d.ts +2 -2
  181. package/esm/core/ui/form/validators/index.d.ts +2 -2
  182. package/esm/core/ui/form/validators/input.d.ts +1 -1
  183. package/esm/core/ui/form/validators/select.d.ts +1 -1
  184. package/esm/core/ui/group/group.d.ts +2 -2
  185. package/esm/core/ui/group/index.d.ts +4 -4
  186. package/esm/core/ui/group/list.d.ts +2 -2
  187. package/esm/core/ui/group/separator.d.ts +1 -1
  188. package/esm/core/ui/group/spacer.d.ts +1 -1
  189. package/esm/core/ui/helpers/buttons.d.ts +1 -1
  190. package/esm/core/ui/helpers/get-control-type.d.ts +1 -1
  191. package/esm/core/ui/helpers/get-strong-control-types.d.ts +1 -1
  192. package/esm/core/ui/icon.d.ts +1 -1
  193. package/esm/core/ui/index.d.ts +7 -7
  194. package/esm/core/ui/popup/index.d.ts +1 -1
  195. package/esm/core/ui/popup/popup.d.ts +2 -2
  196. package/esm/core/ui/progress-bar/progress-bar.d.ts +2 -2
  197. package/esm/core/view/view-with-toolbar.d.ts +2 -2
  198. package/esm/core/view/view.d.ts +4 -4
  199. package/esm/index.d.ts +2 -2
  200. package/esm/jodit.d.ts +6 -6
  201. package/esm/languages.d.ts +1 -1
  202. package/esm/modules/context-menu/context-menu.d.ts +2 -2
  203. package/esm/modules/dialog/alert.d.ts +1 -1
  204. package/esm/modules/dialog/confirm.d.ts +1 -1
  205. package/esm/modules/dialog/dialog.d.ts +2 -2
  206. package/esm/modules/dialog/index.d.ts +4 -4
  207. package/esm/modules/dialog/prompt.d.ts +1 -1
  208. package/esm/modules/file-browser/builders/context-menu.d.ts +1 -1
  209. package/esm/modules/file-browser/builders/elements-map.d.ts +1 -1
  210. package/esm/modules/file-browser/builders/item.d.ts +1 -1
  211. package/esm/modules/file-browser/config.d.ts +2 -2
  212. package/esm/modules/file-browser/data-provider.d.ts +1 -1
  213. package/esm/modules/file-browser/factories.d.ts +1 -1
  214. package/esm/modules/file-browser/fetch/delete-file.d.ts +1 -1
  215. package/esm/modules/file-browser/fetch/load-items.d.ts +1 -1
  216. package/esm/modules/file-browser/fetch/load-tree.d.ts +1 -1
  217. package/esm/modules/file-browser/file-browser.d.ts +6 -6
  218. package/esm/modules/file-browser/index.d.ts +1 -1
  219. package/esm/modules/file-browser/listeners/native-listeners.d.ts +1 -1
  220. package/esm/modules/file-browser/listeners/self-listeners.d.ts +1 -1
  221. package/esm/modules/file-browser/listeners/state-listeners.d.ts +1 -1
  222. package/esm/modules/file-browser/ui/files/files.d.ts +1 -1
  223. package/esm/modules/file-browser/ui/index.d.ts +2 -2
  224. package/esm/modules/file-browser/ui/tree/tree.d.ts +1 -1
  225. package/esm/modules/history/command.d.ts +2 -2
  226. package/esm/modules/history/history.d.ts +4 -4
  227. package/esm/modules/history/snapshot.d.ts +2 -2
  228. package/esm/modules/history/stack.d.ts +2 -2
  229. package/esm/modules/image-editor/config.d.ts +1 -1
  230. package/esm/modules/image-editor/image-editor.d.ts +3 -3
  231. package/esm/modules/image-editor/templates/form.d.ts +1 -1
  232. package/esm/modules/index.d.ts +26 -26
  233. package/esm/modules/messages/message.d.ts +2 -2
  234. package/esm/modules/messages/messages.d.ts +2 -2
  235. package/esm/modules/status-bar/status-bar.d.ts +4 -4
  236. package/esm/modules/table/table.d.ts +2 -2
  237. package/esm/modules/toolbar/button/button.d.ts +5 -5
  238. package/esm/modules/toolbar/button/content.d.ts +2 -2
  239. package/esm/modules/toolbar/button/index.d.ts +3 -3
  240. package/esm/modules/toolbar/button/select/select.d.ts +2 -2
  241. package/esm/modules/toolbar/collection/collection.d.ts +2 -2
  242. package/esm/modules/toolbar/collection/editor-collection.d.ts +2 -2
  243. package/esm/modules/toolbar/factory.d.ts +1 -1
  244. package/esm/modules/uploader/config.d.ts +1 -1
  245. package/esm/modules/uploader/helpers/build-data.d.ts +1 -1
  246. package/esm/modules/uploader/helpers/index.d.ts +6 -6
  247. package/esm/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
  248. package/esm/modules/uploader/helpers/send-files.d.ts +1 -1
  249. package/esm/modules/uploader/helpers/send.d.ts +2 -2
  250. package/esm/modules/uploader/uploader.d.ts +3 -3
  251. package/esm/modules/widget/color-picker/color-picker.d.ts +1 -1
  252. package/esm/modules/widget/file-selector/file-selector.d.ts +1 -1
  253. package/esm/modules/widget/index.d.ts +3 -3
  254. package/esm/modules/widget/tabs/tabs.d.ts +2 -2
  255. package/esm/plugins/add-new-line/add-new-line.d.ts +3 -3
  256. package/esm/plugins/add-new-line/config.d.ts +1 -1
  257. package/esm/plugins/ai-assistant/ai-assistant.d.ts +3 -3
  258. package/esm/plugins/ai-assistant/config.d.ts +1 -1
  259. package/esm/plugins/ai-assistant/langs/index.d.ts +2 -2
  260. package/esm/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +3 -3
  261. package/esm/plugins/backspace/backspace.d.ts +3 -3
  262. package/esm/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
  263. package/esm/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
  264. package/esm/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
  265. package/esm/plugins/backspace/cases/check-remove-char.d.ts +2 -2
  266. package/esm/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
  267. package/esm/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
  268. package/esm/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
  269. package/esm/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
  270. package/esm/plugins/backspace/cases/check-table-cell.d.ts +1 -1
  271. package/esm/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
  272. package/esm/plugins/backspace/cases/index.d.ts +2 -2
  273. package/esm/plugins/backspace/helpers.d.ts +1 -1
  274. package/esm/plugins/bold/bold.d.ts +3 -3
  275. package/esm/plugins/class-span/class-span.d.ts +2 -2
  276. package/esm/plugins/clean-html/clean-html.d.ts +3 -3
  277. package/esm/plugins/clean-html/config.d.ts +1 -1
  278. package/esm/plugins/clean-html/helpers/get-hash.d.ts +1 -1
  279. package/esm/plugins/clean-html/helpers/index.d.ts +4 -4
  280. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +1 -1
  281. package/esm/plugins/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +1 -1
  282. package/esm/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +1 -1
  283. package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +1 -1
  284. package/esm/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
  285. package/esm/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +1 -1
  286. package/esm/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +1 -1
  287. package/esm/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +1 -1
  288. package/esm/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
  289. package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
  290. package/esm/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
  291. package/esm/plugins/clipboard/clipboard.d.ts +3 -3
  292. package/esm/plugins/color/color.d.ts +2 -2
  293. package/esm/plugins/copy-format/copy-format.d.ts +1 -1
  294. package/esm/plugins/copy-format/langs/index.d.ts +21 -21
  295. package/esm/plugins/debug/debug.d.ts +2 -2
  296. package/esm/plugins/delete/delete.d.ts +3 -3
  297. package/esm/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
  298. package/esm/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +2 -2
  299. package/esm/plugins/dtd/after-insert/index.d.ts +1 -1
  300. package/esm/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
  301. package/esm/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
  302. package/esm/plugins/dtd/before-insert/index.d.ts +1 -1
  303. package/esm/plugins/dtd/config.d.ts +1 -1
  304. package/esm/plugins/dtd/dtd.d.ts +1 -1
  305. package/esm/plugins/enter/enter.d.ts +3 -3
  306. package/esm/plugins/enter/helpers/check-br.d.ts +1 -1
  307. package/esm/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
  308. package/esm/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
  309. package/esm/plugins/enter/helpers/has-previous-block.d.ts +1 -1
  310. package/esm/plugins/enter/helpers/index.d.ts +9 -9
  311. package/esm/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
  312. package/esm/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
  313. package/esm/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
  314. package/esm/plugins/enter/helpers/split-fragment.d.ts +1 -1
  315. package/esm/plugins/enter/helpers/wrap-text.d.ts +1 -1
  316. package/esm/plugins/file/file.d.ts +1 -1
  317. package/esm/plugins/focus/focus.d.ts +1 -1
  318. package/esm/plugins/font/font.d.ts +2 -2
  319. package/esm/plugins/format-block/format-block.d.ts +2 -2
  320. package/esm/plugins/fullsize/fullsize.d.ts +2 -2
  321. package/esm/plugins/hotkeys/config.d.ts +1 -1
  322. package/esm/plugins/hotkeys/hotkeys.d.ts +3 -3
  323. package/esm/plugins/hr/hr.d.ts +1 -1
  324. package/esm/plugins/iframe/iframe.d.ts +2 -2
  325. package/esm/plugins/image/image.d.ts +1 -1
  326. package/esm/plugins/image-processor/image-processor.d.ts +3 -3
  327. package/esm/plugins/image-properties/config.d.ts +1 -1
  328. package/esm/plugins/image-properties/image-properties.d.ts +4 -4
  329. package/esm/plugins/image-properties/interface.d.ts +1 -1
  330. package/esm/plugins/image-properties/readers/align.d.ts +1 -1
  331. package/esm/plugins/image-properties/readers/index.d.ts +2 -2
  332. package/esm/plugins/image-properties/readers/link.d.ts +2 -2
  333. package/esm/plugins/image-properties/readers/margin.d.ts +1 -1
  334. package/esm/plugins/image-properties/readers/size.d.ts +1 -1
  335. package/esm/plugins/image-properties/ui/ui-image-form.d.ts +3 -3
  336. package/esm/plugins/image-properties/ui/ui-image-main-tab.d.ts +3 -3
  337. package/esm/plugins/image-properties/ui/ui-image-position-tab.d.ts +3 -3
  338. package/esm/plugins/image-properties/utils/open-image-editor.d.ts +2 -2
  339. package/esm/plugins/image-properties/utils/open-image-popup.d.ts +2 -2
  340. package/esm/plugins/image-properties/writers/index.d.ts +2 -2
  341. package/esm/plugins/image-properties/writers/link.d.ts +1 -1
  342. package/esm/plugins/image-properties/writers/margin.d.ts +1 -1
  343. package/esm/plugins/indent/indent.d.ts +2 -2
  344. package/esm/plugins/indent/indent.js +34 -22
  345. package/esm/plugins/index.d.ts +62 -62
  346. package/esm/plugins/inline-popup/config/config.d.ts +1 -1
  347. package/esm/plugins/inline-popup/config/items/a.d.ts +1 -1
  348. package/esm/plugins/inline-popup/config/items/cells.d.ts +1 -1
  349. package/esm/plugins/inline-popup/config/items/iframe.d.ts +2 -2
  350. package/esm/plugins/inline-popup/config/items/img.d.ts +1 -1
  351. package/esm/plugins/inline-popup/inline-popup.d.ts +3 -3
  352. package/esm/plugins/justify/justify.d.ts +1 -1
  353. package/esm/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
  354. package/esm/plugins/limit/limit.d.ts +3 -3
  355. package/esm/plugins/line-height/langs/index.d.ts +22 -22
  356. package/esm/plugins/line-height/line-height.d.ts +3 -3
  357. package/esm/plugins/link/config.d.ts +1 -1
  358. package/esm/plugins/link/link.d.ts +3 -3
  359. package/esm/plugins/link/template.d.ts +1 -1
  360. package/esm/plugins/media/media.d.ts +2 -2
  361. package/esm/plugins/mobile/config.d.ts +1 -1
  362. package/esm/plugins/mobile/mobile.d.ts +2 -2
  363. package/esm/plugins/ordered-list/ordered-list.d.ts +3 -3
  364. package/esm/plugins/paste/config.d.ts +1 -1
  365. package/esm/plugins/paste/helpers.d.ts +2 -2
  366. package/esm/plugins/paste/interface.d.ts +1 -1
  367. package/esm/plugins/paste/paste.d.ts +3 -3
  368. package/esm/plugins/paste-from-word/config.d.ts +1 -1
  369. package/esm/plugins/paste-from-word/paste-from-word.d.ts +4 -4
  370. package/esm/plugins/paste-storage/paste-storage.d.ts +1 -1
  371. package/esm/plugins/placeholder/placeholder.d.ts +3 -3
  372. package/esm/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
  373. package/esm/plugins/preview/preview.d.ts +1 -1
  374. package/esm/plugins/print/lib/generate-critical-css.d.ts +1 -1
  375. package/esm/plugins/print/print.d.ts +1 -1
  376. package/esm/plugins/redo-undo/redo-undo.d.ts +2 -2
  377. package/esm/plugins/resize-cells/resize-cells.d.ts +3 -3
  378. package/esm/plugins/resize-handler/resize-handler.d.ts +3 -3
  379. package/esm/plugins/resizer/config.d.ts +1 -1
  380. package/esm/plugins/resizer/resizer.d.ts +3 -3
  381. package/esm/plugins/search/config.d.ts +2 -2
  382. package/esm/plugins/search/helpers/highlight-text-ranges.d.ts +1 -1
  383. package/esm/plugins/search/helpers/index.d.ts +2 -2
  384. package/esm/plugins/search/helpers/sentence-finder.d.ts +1 -1
  385. package/esm/plugins/search/search.d.ts +4 -4
  386. package/esm/plugins/search/ui/search.d.ts +2 -2
  387. package/esm/plugins/select/select.d.ts +3 -3
  388. package/esm/plugins/select-cells/select-cells.d.ts +3 -3
  389. package/esm/plugins/size/size.d.ts +3 -3
  390. package/esm/plugins/source/config.d.ts +1 -1
  391. package/esm/plugins/source/editor/engines/ace.d.ts +2 -2
  392. package/esm/plugins/source/editor/engines/area.d.ts +2 -2
  393. package/esm/plugins/source/editor/engines/index.d.ts +2 -2
  394. package/esm/plugins/source/editor/factory.d.ts +1 -1
  395. package/esm/plugins/source/editor/sourceEditor.d.ts +1 -1
  396. package/esm/plugins/source/source.d.ts +3 -3
  397. package/esm/plugins/speech-recognize/config.d.ts +2 -2
  398. package/esm/plugins/speech-recognize/helpers/api.d.ts +1 -1
  399. package/esm/plugins/speech-recognize/helpers/exec-spell-command.d.ts +1 -1
  400. package/esm/plugins/speech-recognize/helpers/recognize-manager.d.ts +3 -3
  401. package/esm/plugins/speech-recognize/langs/index.d.ts +22 -22
  402. package/esm/plugins/speech-recognize/speech-recognize.d.ts +3 -3
  403. package/esm/plugins/spellcheck/langs/index.d.ts +22 -22
  404. package/esm/plugins/spellcheck/spellcheck.d.ts +3 -3
  405. package/esm/plugins/stat/stat.d.ts +2 -2
  406. package/esm/plugins/sticky/sticky.d.ts +3 -3
  407. package/esm/plugins/symbols/langs/index.d.ts +22 -22
  408. package/esm/plugins/symbols/symbols.d.ts +3 -3
  409. package/esm/plugins/tab/cases/index.d.ts +1 -1
  410. package/esm/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
  411. package/esm/plugins/tab/tab.d.ts +1 -1
  412. package/esm/plugins/table/table.d.ts +2 -2
  413. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
  414. package/esm/plugins/video/video.d.ts +1 -1
  415. package/esm/plugins/wrap-nodes/config.d.ts +1 -1
  416. package/esm/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
  417. package/esm/plugins/xpath/xpath.d.ts +1 -1
  418. package/esm/types/ajax.d.ts +1 -1
  419. package/esm/types/async.d.ts +2 -2
  420. package/esm/types/context.d.ts +2 -2
  421. package/esm/types/core.d.ts +1 -1
  422. package/esm/types/create.d.ts +1 -1
  423. package/esm/types/dialog.d.ts +3 -3
  424. package/esm/types/events.d.ts +1 -1
  425. package/esm/types/file-browser.d.ts +7 -7
  426. package/esm/types/history.d.ts +1 -1
  427. package/esm/types/index.d.ts +23 -23
  428. package/esm/types/jodit.d.ts +6 -6
  429. package/esm/types/messages.d.ts +1 -1
  430. package/esm/types/plugin.d.ts +3 -3
  431. package/esm/types/popup.d.ts +2 -2
  432. package/esm/types/select.d.ts +2 -2
  433. package/esm/types/source.d.ts +1 -1
  434. package/esm/types/style.d.ts +2 -2
  435. package/esm/types/toolbar.d.ts +6 -6
  436. package/esm/types/traits.d.ts +2 -2
  437. package/esm/types/types.d.ts +2 -2
  438. package/esm/types/ui.d.ts +5 -5
  439. package/esm/types/uploader.d.ts +3 -3
  440. package/esm/types/view.d.ts +9 -9
  441. package/package.json +1 -1
  442. package/types/config.d.ts +27 -27
  443. package/types/core/async/async.d.ts +1 -1
  444. package/types/core/async/index.d.ts +1 -1
  445. package/types/core/component/component.d.ts +1 -1
  446. package/types/core/component/index.d.ts +3 -3
  447. package/types/core/component/view-component.d.ts +2 -2
  448. package/types/core/constants.d.ts +1 -1
  449. package/types/core/create/create.d.ts +1 -1
  450. package/types/core/create/index.d.ts +1 -1
  451. package/types/core/decorators/cache/cache.d.ts +1 -1
  452. package/types/core/decorators/debounce/debounce.d.ts +1 -1
  453. package/types/core/decorators/hook/hook.d.ts +2 -2
  454. package/types/core/decorators/idle/idle.d.ts +1 -1
  455. package/types/core/decorators/index.d.ts +11 -11
  456. package/types/core/decorators/persistent/persistent.d.ts +1 -1
  457. package/types/core/decorators/wait/wait.d.ts +1 -1
  458. package/types/core/decorators/watch/watch.d.ts +1 -1
  459. package/types/core/dom/dom.d.ts +6 -1
  460. package/types/core/dom/index.d.ts +2 -2
  461. package/types/core/dom/lazy-walker.d.ts +2 -2
  462. package/types/core/event-emitter/event-emitter.d.ts +1 -1
  463. package/types/core/event-emitter/eventify.d.ts +1 -1
  464. package/types/core/event-emitter/index.d.ts +4 -4
  465. package/types/core/event-emitter/observable.d.ts +1 -1
  466. package/types/core/event-emitter/store.d.ts +1 -1
  467. package/types/core/global.d.ts +3 -3
  468. package/types/core/helpers/array/index.d.ts +3 -3
  469. package/types/core/helpers/async/index.d.ts +1 -1
  470. package/types/core/helpers/checker/index.d.ts +25 -25
  471. package/types/core/helpers/checker/is-abort-error.d.ts +1 -1
  472. package/types/core/helpers/checker/is-imp-interface.d.ts +1 -1
  473. package/types/core/helpers/checker/is-jodit-object.d.ts +1 -1
  474. package/types/core/helpers/checker/is-marker.d.ts +1 -1
  475. package/types/core/helpers/checker/is-plain-object.d.ts +1 -1
  476. package/types/core/helpers/checker/is-view-object.d.ts +1 -1
  477. package/types/core/helpers/color/index.d.ts +1 -1
  478. package/types/core/helpers/html/index.d.ts +6 -6
  479. package/types/core/helpers/html/strip-tags.d.ts +1 -1
  480. package/types/core/helpers/index.d.ts +9 -9
  481. package/types/core/helpers/normalize/index.d.ts +8 -8
  482. package/types/core/helpers/size/get-scroll-parent.d.ts +1 -1
  483. package/types/core/helpers/size/index.d.ts +6 -6
  484. package/types/core/helpers/size/object-size.d.ts +1 -1
  485. package/types/core/helpers/size/offset.d.ts +1 -1
  486. package/types/core/helpers/size/position.d.ts +1 -1
  487. package/types/core/helpers/string/i18n.d.ts +1 -1
  488. package/types/core/helpers/string/index.d.ts +7 -7
  489. package/types/core/helpers/utils/align.d.ts +1 -1
  490. package/types/core/helpers/utils/append-script.d.ts +1 -1
  491. package/types/core/helpers/utils/attr.d.ts +1 -1
  492. package/types/core/helpers/utils/build-query.d.ts +1 -1
  493. package/types/core/helpers/utils/config-proto.d.ts +1 -1
  494. package/types/core/helpers/utils/css.d.ts +1 -1
  495. package/types/core/helpers/utils/data-bind.d.ts +1 -1
  496. package/types/core/helpers/utils/error/errors/abort-error.d.ts +1 -1
  497. package/types/core/helpers/utils/error/errors/index.d.ts +3 -3
  498. package/types/core/helpers/utils/error/index.d.ts +2 -2
  499. package/types/core/helpers/utils/get-class-name.d.ts +1 -1
  500. package/types/core/helpers/utils/get.d.ts +1 -1
  501. package/types/core/helpers/utils/index.d.ts +27 -27
  502. package/types/core/helpers/utils/parse-query.d.ts +1 -1
  503. package/types/core/helpers/utils/print.d.ts +1 -1
  504. package/types/core/helpers/utils/reset.d.ts +1 -1
  505. package/types/core/helpers/utils/scroll-into-view.d.ts +1 -1
  506. package/types/core/helpers/utils/selector.d.ts +1 -1
  507. package/types/core/helpers/utils/set.d.ts +1 -1
  508. package/types/core/helpers/utils/stack.d.ts +1 -1
  509. package/types/core/helpers/utils/utils.d.ts +1 -1
  510. package/types/core/plugin/helpers/init-instance.d.ts +1 -1
  511. package/types/core/plugin/helpers/load.d.ts +1 -1
  512. package/types/core/plugin/helpers/make-instance.d.ts +1 -1
  513. package/types/core/plugin/index.d.ts +2 -2
  514. package/types/core/plugin/plugin-system.d.ts +2 -2
  515. package/types/core/plugin/plugin.d.ts +2 -2
  516. package/types/core/request/ajax.d.ts +2 -2
  517. package/types/core/request/config.d.ts +1 -1
  518. package/types/core/request/index.d.ts +2 -2
  519. package/types/core/request/response.d.ts +1 -1
  520. package/types/core/selection/helpers/index.d.ts +2 -2
  521. package/types/core/selection/helpers/move-node-inside-start.d.ts +1 -1
  522. package/types/core/selection/index.d.ts +3 -3
  523. package/types/core/selection/interface.d.ts +1 -1
  524. package/types/core/selection/selection.d.ts +2 -2
  525. package/types/core/selection/style/api/extract.d.ts +1 -1
  526. package/types/core/selection/style/api/finite-state-machine.d.ts +1 -1
  527. package/types/core/selection/style/api/get-suit-child.d.ts +1 -1
  528. package/types/core/selection/style/api/get-suit-parent.d.ts +1 -1
  529. package/types/core/selection/style/api/has-same-style.d.ts +1 -1
  530. package/types/core/selection/style/api/index.d.ts +15 -15
  531. package/types/core/selection/style/api/is-normal-node.d.ts +1 -1
  532. package/types/core/selection/style/api/is-same-attributes.d.ts +1 -1
  533. package/types/core/selection/style/api/is-suit-element.d.ts +1 -1
  534. package/types/core/selection/style/api/list/toggle-ordered-list.d.ts +1 -1
  535. package/types/core/selection/style/api/list/wrap-list.d.ts +1 -1
  536. package/types/core/selection/style/api/toggle-attributes.d.ts +1 -1
  537. package/types/core/selection/style/api/unwrap-children.d.ts +1 -1
  538. package/types/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
  539. package/types/core/selection/style/api/wrap.d.ts +1 -1
  540. package/types/core/selection/style/apply-style.d.ts +1 -1
  541. package/types/core/selection/style/commit-style.d.ts +1 -1
  542. package/types/core/selection/style/transactions.d.ts +1 -1
  543. package/types/core/storage/engines/local-storage-provider.d.ts +1 -1
  544. package/types/core/storage/engines/memory-storage-provider.d.ts +1 -1
  545. package/types/core/storage/index.d.ts +3 -3
  546. package/types/core/storage/storage.d.ts +1 -1
  547. package/types/core/traits/dlgs.d.ts +1 -1
  548. package/types/core/traits/elms.d.ts +1 -1
  549. package/types/core/traits/mods.d.ts +1 -1
  550. package/types/core/ui/button/button/button.d.ts +2 -2
  551. package/types/core/ui/button/group/group.d.ts +2 -2
  552. package/types/core/ui/button/index.d.ts +3 -3
  553. package/types/core/ui/button/tooltip/tooltip.d.ts +2 -2
  554. package/types/core/ui/element.d.ts +4 -4
  555. package/types/core/ui/form/block/block.d.ts +2 -2
  556. package/types/core/ui/form/form.d.ts +2 -2
  557. package/types/core/ui/form/index.d.ts +3 -3
  558. package/types/core/ui/form/inputs/area/area.d.ts +2 -2
  559. package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
  560. package/types/core/ui/form/inputs/file/file.d.ts +2 -2
  561. package/types/core/ui/form/inputs/index.d.ts +5 -5
  562. package/types/core/ui/form/inputs/input/input.d.ts +2 -2
  563. package/types/core/ui/form/inputs/select/select.d.ts +2 -2
  564. package/types/core/ui/form/validators/index.d.ts +2 -2
  565. package/types/core/ui/form/validators/input.d.ts +1 -1
  566. package/types/core/ui/form/validators/select.d.ts +1 -1
  567. package/types/core/ui/group/group.d.ts +2 -2
  568. package/types/core/ui/group/index.d.ts +4 -4
  569. package/types/core/ui/group/list.d.ts +2 -2
  570. package/types/core/ui/group/separator.d.ts +1 -1
  571. package/types/core/ui/group/spacer.d.ts +1 -1
  572. package/types/core/ui/helpers/buttons.d.ts +1 -1
  573. package/types/core/ui/helpers/get-control-type.d.ts +1 -1
  574. package/types/core/ui/helpers/get-strong-control-types.d.ts +1 -1
  575. package/types/core/ui/icon.d.ts +1 -1
  576. package/types/core/ui/index.d.ts +7 -7
  577. package/types/core/ui/popup/index.d.ts +1 -1
  578. package/types/core/ui/popup/popup.d.ts +2 -2
  579. package/types/core/ui/progress-bar/progress-bar.d.ts +2 -2
  580. package/types/core/view/view-with-toolbar.d.ts +2 -2
  581. package/types/core/view/view.d.ts +4 -4
  582. package/types/index.d.ts +2 -2
  583. package/types/jodit.d.ts +6 -6
  584. package/types/languages.d.ts +1 -1
  585. package/types/modules/context-menu/context-menu.d.ts +2 -2
  586. package/types/modules/dialog/alert.d.ts +1 -1
  587. package/types/modules/dialog/confirm.d.ts +1 -1
  588. package/types/modules/dialog/dialog.d.ts +2 -2
  589. package/types/modules/dialog/index.d.ts +4 -4
  590. package/types/modules/dialog/prompt.d.ts +1 -1
  591. package/types/modules/file-browser/builders/context-menu.d.ts +1 -1
  592. package/types/modules/file-browser/builders/elements-map.d.ts +1 -1
  593. package/types/modules/file-browser/builders/item.d.ts +1 -1
  594. package/types/modules/file-browser/config.d.ts +2 -2
  595. package/types/modules/file-browser/data-provider.d.ts +1 -1
  596. package/types/modules/file-browser/factories.d.ts +1 -1
  597. package/types/modules/file-browser/fetch/delete-file.d.ts +1 -1
  598. package/types/modules/file-browser/fetch/load-items.d.ts +1 -1
  599. package/types/modules/file-browser/fetch/load-tree.d.ts +1 -1
  600. package/types/modules/file-browser/file-browser.d.ts +6 -6
  601. package/types/modules/file-browser/index.d.ts +1 -1
  602. package/types/modules/file-browser/listeners/native-listeners.d.ts +1 -1
  603. package/types/modules/file-browser/listeners/self-listeners.d.ts +1 -1
  604. package/types/modules/file-browser/listeners/state-listeners.d.ts +1 -1
  605. package/types/modules/file-browser/ui/files/files.d.ts +1 -1
  606. package/types/modules/file-browser/ui/index.d.ts +2 -2
  607. package/types/modules/file-browser/ui/tree/tree.d.ts +1 -1
  608. package/types/modules/history/command.d.ts +2 -2
  609. package/types/modules/history/history.d.ts +4 -4
  610. package/types/modules/history/snapshot.d.ts +2 -2
  611. package/types/modules/history/stack.d.ts +2 -2
  612. package/types/modules/image-editor/config.d.ts +1 -1
  613. package/types/modules/image-editor/image-editor.d.ts +3 -3
  614. package/types/modules/image-editor/templates/form.d.ts +1 -1
  615. package/types/modules/index.d.ts +26 -26
  616. package/types/modules/messages/message.d.ts +2 -2
  617. package/types/modules/messages/messages.d.ts +2 -2
  618. package/types/modules/status-bar/status-bar.d.ts +4 -4
  619. package/types/modules/table/table.d.ts +2 -2
  620. package/types/modules/toolbar/button/button.d.ts +5 -5
  621. package/types/modules/toolbar/button/content.d.ts +2 -2
  622. package/types/modules/toolbar/button/index.d.ts +3 -3
  623. package/types/modules/toolbar/button/select/select.d.ts +2 -2
  624. package/types/modules/toolbar/collection/collection.d.ts +2 -2
  625. package/types/modules/toolbar/collection/editor-collection.d.ts +2 -2
  626. package/types/modules/toolbar/factory.d.ts +1 -1
  627. package/types/modules/uploader/config.d.ts +1 -1
  628. package/types/modules/uploader/helpers/build-data.d.ts +1 -1
  629. package/types/modules/uploader/helpers/index.d.ts +6 -6
  630. package/types/modules/uploader/helpers/process-old-browser-drag.d.ts +1 -1
  631. package/types/modules/uploader/helpers/send-files.d.ts +1 -1
  632. package/types/modules/uploader/helpers/send.d.ts +2 -2
  633. package/types/modules/uploader/uploader.d.ts +3 -3
  634. package/types/modules/widget/color-picker/color-picker.d.ts +1 -1
  635. package/types/modules/widget/file-selector/file-selector.d.ts +1 -1
  636. package/types/modules/widget/index.d.ts +3 -3
  637. package/types/modules/widget/tabs/tabs.d.ts +2 -2
  638. package/types/plugins/add-new-line/add-new-line.d.ts +3 -3
  639. package/types/plugins/add-new-line/config.d.ts +1 -1
  640. package/types/plugins/ai-assistant/ai-assistant.d.ts +3 -3
  641. package/types/plugins/ai-assistant/config.d.ts +1 -1
  642. package/types/plugins/ai-assistant/langs/index.d.ts +2 -2
  643. package/types/plugins/ai-assistant/ui/ui-ai-assistant.d.ts +3 -3
  644. package/types/plugins/backspace/backspace.d.ts +3 -3
  645. package/types/plugins/backspace/cases/check-join-neighbors.d.ts +1 -1
  646. package/types/plugins/backspace/cases/check-join-two-lists.d.ts +1 -1
  647. package/types/plugins/backspace/cases/check-not-collapsed.d.ts +1 -1
  648. package/types/plugins/backspace/cases/check-remove-char.d.ts +2 -2
  649. package/types/plugins/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
  650. package/types/plugins/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
  651. package/types/plugins/backspace/cases/check-remove-empty-parent.d.ts +1 -1
  652. package/types/plugins/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
  653. package/types/plugins/backspace/cases/check-table-cell.d.ts +1 -1
  654. package/types/plugins/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
  655. package/types/plugins/backspace/cases/index.d.ts +2 -2
  656. package/types/plugins/backspace/helpers.d.ts +1 -1
  657. package/types/plugins/bold/bold.d.ts +3 -3
  658. package/types/plugins/class-span/class-span.d.ts +2 -2
  659. package/types/plugins/clean-html/clean-html.d.ts +3 -3
  660. package/types/plugins/clean-html/config.d.ts +1 -1
  661. package/types/plugins/clean-html/helpers/get-hash.d.ts +1 -1
  662. package/types/plugins/clean-html/helpers/index.d.ts +4 -4
  663. package/types/plugins/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +1 -1
  664. package/types/plugins/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +1 -1
  665. package/types/plugins/clean-html/helpers/visitor/filters/allow-attributes.d.ts +1 -1
  666. package/types/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +1 -1
  667. package/types/plugins/clean-html/helpers/visitor/filters/index.d.ts +7 -7
  668. package/types/plugins/clean-html/helpers/visitor/filters/remove-empty-text-node.d.ts +1 -1
  669. package/types/plugins/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +1 -1
  670. package/types/plugins/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +1 -1
  671. package/types/plugins/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +1 -1
  672. package/types/plugins/clean-html/helpers/visitor/filters/try-remove-node.d.ts +1 -1
  673. package/types/plugins/clean-html/helpers/visitor/visit-node-walker.d.ts +1 -1
  674. package/types/plugins/clipboard/clipboard.d.ts +3 -3
  675. package/types/plugins/color/color.d.ts +2 -2
  676. package/types/plugins/copy-format/copy-format.d.ts +1 -1
  677. package/types/plugins/copy-format/langs/index.d.ts +21 -21
  678. package/types/plugins/debug/debug.d.ts +2 -2
  679. package/types/plugins/delete/delete.d.ts +3 -3
  680. package/types/plugins/drag-and-drop/drag-and-drop.d.ts +1 -1
  681. package/types/plugins/drag-and-drop-element/drag-and-drop-element.d.ts +2 -2
  682. package/types/plugins/dtd/after-insert/index.d.ts +1 -1
  683. package/types/plugins/dtd/after-insert/remove-extra-br.d.ts +1 -1
  684. package/types/plugins/dtd/before-insert/check-block-nesting.d.ts +1 -1
  685. package/types/plugins/dtd/before-insert/index.d.ts +1 -1
  686. package/types/plugins/dtd/config.d.ts +1 -1
  687. package/types/plugins/dtd/dtd.d.ts +1 -1
  688. package/types/plugins/enter/enter.d.ts +3 -3
  689. package/types/plugins/enter/helpers/check-br.d.ts +1 -1
  690. package/types/plugins/enter/helpers/check-unsplittable-box.d.ts +1 -1
  691. package/types/plugins/enter/helpers/get-block-wrapper.d.ts +1 -1
  692. package/types/plugins/enter/helpers/has-previous-block.d.ts +1 -1
  693. package/types/plugins/enter/helpers/index.d.ts +9 -9
  694. package/types/plugins/enter/helpers/insert-paragraph.d.ts +1 -1
  695. package/types/plugins/enter/helpers/move-cursor-out-from-specal-tags.d.ts +1 -1
  696. package/types/plugins/enter/helpers/process-empty-li-leaf.d.ts +1 -1
  697. package/types/plugins/enter/helpers/split-fragment.d.ts +1 -1
  698. package/types/plugins/enter/helpers/wrap-text.d.ts +1 -1
  699. package/types/plugins/file/file.d.ts +1 -1
  700. package/types/plugins/focus/focus.d.ts +1 -1
  701. package/types/plugins/font/font.d.ts +2 -2
  702. package/types/plugins/format-block/format-block.d.ts +2 -2
  703. package/types/plugins/fullsize/fullsize.d.ts +2 -2
  704. package/types/plugins/hotkeys/config.d.ts +1 -1
  705. package/types/plugins/hotkeys/hotkeys.d.ts +3 -3
  706. package/types/plugins/hr/hr.d.ts +1 -1
  707. package/types/plugins/iframe/iframe.d.ts +2 -2
  708. package/types/plugins/image/image.d.ts +1 -1
  709. package/types/plugins/image-processor/image-processor.d.ts +3 -3
  710. package/types/plugins/image-properties/config.d.ts +1 -1
  711. package/types/plugins/image-properties/image-properties.d.ts +4 -4
  712. package/types/plugins/image-properties/interface.d.ts +1 -1
  713. package/types/plugins/image-properties/readers/align.d.ts +1 -1
  714. package/types/plugins/image-properties/readers/index.d.ts +2 -2
  715. package/types/plugins/image-properties/readers/link.d.ts +2 -2
  716. package/types/plugins/image-properties/readers/margin.d.ts +1 -1
  717. package/types/plugins/image-properties/readers/size.d.ts +1 -1
  718. package/types/plugins/image-properties/ui/ui-image-form.d.ts +3 -3
  719. package/types/plugins/image-properties/ui/ui-image-main-tab.d.ts +3 -3
  720. package/types/plugins/image-properties/ui/ui-image-position-tab.d.ts +3 -3
  721. package/types/plugins/image-properties/utils/open-image-editor.d.ts +2 -2
  722. package/types/plugins/image-properties/utils/open-image-popup.d.ts +2 -2
  723. package/types/plugins/image-properties/writers/index.d.ts +2 -2
  724. package/types/plugins/image-properties/writers/link.d.ts +1 -1
  725. package/types/plugins/image-properties/writers/margin.d.ts +1 -1
  726. package/types/plugins/indent/indent.d.ts +2 -2
  727. package/types/plugins/index.d.ts +62 -62
  728. package/types/plugins/inline-popup/config/config.d.ts +1 -1
  729. package/types/plugins/inline-popup/config/items/a.d.ts +1 -1
  730. package/types/plugins/inline-popup/config/items/cells.d.ts +1 -1
  731. package/types/plugins/inline-popup/config/items/iframe.d.ts +2 -2
  732. package/types/plugins/inline-popup/config/items/img.d.ts +1 -1
  733. package/types/plugins/inline-popup/inline-popup.d.ts +3 -3
  734. package/types/plugins/justify/justify.d.ts +1 -1
  735. package/types/plugins/key-arrow-outside/key-arrow-outside.d.ts +2 -2
  736. package/types/plugins/limit/limit.d.ts +3 -3
  737. package/types/plugins/line-height/langs/index.d.ts +22 -22
  738. package/types/plugins/line-height/line-height.d.ts +3 -3
  739. package/types/plugins/link/config.d.ts +1 -1
  740. package/types/plugins/link/link.d.ts +3 -3
  741. package/types/plugins/link/template.d.ts +1 -1
  742. package/types/plugins/media/media.d.ts +2 -2
  743. package/types/plugins/mobile/config.d.ts +1 -1
  744. package/types/plugins/mobile/mobile.d.ts +2 -2
  745. package/types/plugins/ordered-list/ordered-list.d.ts +3 -3
  746. package/types/plugins/paste/config.d.ts +1 -1
  747. package/types/plugins/paste/helpers.d.ts +2 -2
  748. package/types/plugins/paste/interface.d.ts +1 -1
  749. package/types/plugins/paste/paste.d.ts +3 -3
  750. package/types/plugins/paste-from-word/config.d.ts +1 -1
  751. package/types/plugins/paste-from-word/paste-from-word.d.ts +4 -4
  752. package/types/plugins/paste-storage/paste-storage.d.ts +1 -1
  753. package/types/plugins/placeholder/placeholder.d.ts +3 -3
  754. package/types/plugins/powered-by-jodit/powered-by-jodit.d.ts +1 -1
  755. package/types/plugins/preview/preview.d.ts +1 -1
  756. package/types/plugins/print/lib/generate-critical-css.d.ts +1 -1
  757. package/types/plugins/print/print.d.ts +1 -1
  758. package/types/plugins/redo-undo/redo-undo.d.ts +2 -2
  759. package/types/plugins/resize-cells/resize-cells.d.ts +3 -3
  760. package/types/plugins/resize-handler/resize-handler.d.ts +3 -3
  761. package/types/plugins/resizer/config.d.ts +1 -1
  762. package/types/plugins/resizer/resizer.d.ts +3 -3
  763. package/types/plugins/search/config.d.ts +2 -2
  764. package/types/plugins/search/helpers/highlight-text-ranges.d.ts +1 -1
  765. package/types/plugins/search/helpers/index.d.ts +2 -2
  766. package/types/plugins/search/helpers/sentence-finder.d.ts +1 -1
  767. package/types/plugins/search/search.d.ts +4 -4
  768. package/types/plugins/search/ui/search.d.ts +2 -2
  769. package/types/plugins/select/select.d.ts +3 -3
  770. package/types/plugins/select-cells/select-cells.d.ts +3 -3
  771. package/types/plugins/size/size.d.ts +3 -3
  772. package/types/plugins/source/config.d.ts +1 -1
  773. package/types/plugins/source/editor/engines/ace.d.ts +2 -2
  774. package/types/plugins/source/editor/engines/area.d.ts +2 -2
  775. package/types/plugins/source/editor/engines/index.d.ts +2 -2
  776. package/types/plugins/source/editor/factory.d.ts +1 -1
  777. package/types/plugins/source/editor/sourceEditor.d.ts +1 -1
  778. package/types/plugins/source/source.d.ts +3 -3
  779. package/types/plugins/speech-recognize/config.d.ts +2 -2
  780. package/types/plugins/speech-recognize/helpers/api.d.ts +1 -1
  781. package/types/plugins/speech-recognize/helpers/exec-spell-command.d.ts +1 -1
  782. package/types/plugins/speech-recognize/helpers/recognize-manager.d.ts +3 -3
  783. package/types/plugins/speech-recognize/langs/index.d.ts +22 -22
  784. package/types/plugins/speech-recognize/speech-recognize.d.ts +3 -3
  785. package/types/plugins/spellcheck/langs/index.d.ts +22 -22
  786. package/types/plugins/spellcheck/spellcheck.d.ts +3 -3
  787. package/types/plugins/stat/stat.d.ts +2 -2
  788. package/types/plugins/sticky/sticky.d.ts +3 -3
  789. package/types/plugins/symbols/langs/index.d.ts +22 -22
  790. package/types/plugins/symbols/symbols.d.ts +3 -3
  791. package/types/plugins/tab/cases/index.d.ts +1 -1
  792. package/types/plugins/tab/cases/on-tab-inside-li.d.ts +1 -1
  793. package/types/plugins/tab/tab.d.ts +1 -1
  794. package/types/plugins/table/table.d.ts +2 -2
  795. package/types/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
  796. package/types/plugins/video/video.d.ts +1 -1
  797. package/types/plugins/wrap-nodes/config.d.ts +1 -1
  798. package/types/plugins/wrap-nodes/wrap-nodes.d.ts +1 -1
  799. package/types/plugins/xpath/xpath.d.ts +1 -1
  800. package/types/types/ajax.d.ts +1 -1
  801. package/types/types/async.d.ts +2 -2
  802. package/types/types/context.d.ts +2 -2
  803. package/types/types/core.d.ts +1 -1
  804. package/types/types/create.d.ts +1 -1
  805. package/types/types/dialog.d.ts +3 -3
  806. package/types/types/events.d.ts +1 -1
  807. package/types/types/file-browser.d.ts +7 -7
  808. package/types/types/history.d.ts +1 -1
  809. package/types/types/index.d.ts +23 -23
  810. package/types/types/jodit.d.ts +6 -6
  811. package/types/types/messages.d.ts +1 -1
  812. package/types/types/plugin.d.ts +3 -3
  813. package/types/types/popup.d.ts +2 -2
  814. package/types/types/select.d.ts +2 -2
  815. package/types/types/source.d.ts +1 -1
  816. package/types/types/style.d.ts +2 -2
  817. package/types/types/toolbar.d.ts +6 -6
  818. package/types/types/traits.d.ts +2 -2
  819. package/types/types/types.d.ts +2 -2
  820. package/types/types/ui.d.ts +5 -5
  821. package/types/types/uploader.d.ts +3 -3
  822. package/types/types/view.d.ts +9 -9
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.4.5
4
+ * Version: v4.4.8
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.4.5
4
+ * Version: v4.4.8
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.4.5
4
+ * Version: v4.4.8
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.4.5
4
+ * Version: v4.4.8
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.4.5
4
+ * Version: v4.4.8
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.4.5
4
+ * Version: v4.4.8
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
package/esm/config.d.ts CHANGED
@@ -1,30 +1,30 @@
1
- import type { AjaxOptions } from "./types/index.d.ts";
2
- import type { IDialogOptions } from "./types/index.d.ts";
3
- import type { IFileBrowserOptions } from "./types/index.d.ts";
4
- import type { ImageEditorOptions } from "./types/index.d.ts";
5
- import type { IUploaderOptions } from "./types/index.d.ts";
6
- import type { IUploader } from "./types/index.d.ts";
7
- import type { HTMLTagNames } from "./types/index.d.ts";
8
- import type { AiAssistantSettings } from "./plugins/ai-assistant/interface.d.ts";
9
- import type { IDictionary } from "./types/index.d.ts";
10
- import type { Nullable } from "./types/index.d.ts";
11
- import type { ImagePropertiesOptions } from "./plugins/image-properties/interface.d.ts";
12
- import type { IControlType } from "./types/index.d.ts";
13
- import type { IJodit } from "./types/index.d.ts";
14
- import type { formTemplate } from "./plugins/link/template.d.ts";
15
- import type { IUIForm } from "./types/index.d.ts";
16
- import type { IUIOption } from "./types/index.d.ts";
17
- import type { ButtonsOption } from "./types/index.d.ts";
18
- import type { InsertMode } from "./types/index.d.ts";
19
- import type { FuzzySearch } from "./types/index.d.ts";
20
- import type { ISourceEditor } from "./types/index.d.ts";
21
- import type { ISpeechRecognizeConstructor } from "./plugins/speech-recognize/interface.d.ts";
22
- import type { Attributes } from "./types/index.d.ts";
23
- import type { Controls } from "./types/index.d.ts";
24
- import type { IExtraPlugin } from "./types/index.d.ts";
25
- import type { IUIButtonState } from "./types/index.d.ts";
26
- import type { IViewOptions } from "./types/index.d.ts";
27
- import type { NodeFunction } from "./types/index.d.ts";
1
+ import type { AjaxOptions } from "./types/index";
2
+ import type { IDialogOptions } from "./types/index";
3
+ import type { IFileBrowserOptions } from "./types/index";
4
+ import type { ImageEditorOptions } from "./types/index";
5
+ import type { IUploaderOptions } from "./types/index";
6
+ import type { IUploader } from "./types/index";
7
+ import type { HTMLTagNames } from "./types/index";
8
+ import type { AiAssistantSettings } from "./plugins/ai-assistant/interface";
9
+ import type { IDictionary } from "./types/index";
10
+ import type { Nullable } from "./types/index";
11
+ import type { ImagePropertiesOptions } from "./plugins/image-properties/interface";
12
+ import type { IControlType } from "./types/index";
13
+ import type { IJodit } from "./types/index";
14
+ import type { formTemplate } from "./plugins/link/template";
15
+ import type { IUIForm } from "./types/index";
16
+ import type { IUIOption } from "./types/index";
17
+ import type { ButtonsOption } from "./types/index";
18
+ import type { InsertMode } from "./types/index";
19
+ import type { FuzzySearch } from "./types/index";
20
+ import type { ISourceEditor } from "./types/index";
21
+ import type { ISpeechRecognizeConstructor } from "./plugins/speech-recognize/interface";
22
+ import type { Attributes } from "./types/index";
23
+ import type { Controls } from "./types/index";
24
+ import type { IExtraPlugin } from "./types/index";
25
+ import type { IUIButtonState } from "./types/index";
26
+ import type { IViewOptions } from "./types/index";
27
+ import type { NodeFunction } from "./types/index";
28
28
  /**
29
29
  * Default Editor's Configuration
30
30
  */
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module async
10
10
  */
11
- import type { CallbackFunction, IAsync, IAsyncParams, ITimeout, Nullable, RejectablePromise } from "../../types/index.d.ts";
11
+ import type { CallbackFunction, IAsync, IAsyncParams, ITimeout, Nullable, RejectablePromise } from "../../types/index";
12
12
  type Callback = (...args: any[]) => void;
13
13
  export declare class Async implements IAsync {
14
14
  private timers;
@@ -6,4 +6,4 @@
6
6
  /**
7
7
  * @module async
8
8
  */
9
- export * from "./async.d.ts";
9
+ export * from "./async";
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module component
10
10
  */
11
- import type { ComponentStatus, IAsync, IComponent, IDictionary, Nullable } from "../../types/index.d.ts";
11
+ import type { ComponentStatus, IAsync, IComponent, IDictionary, Nullable } from "../../types/index";
12
12
  /**
13
13
  * The base class of all Jodit UI components. Provides work with a life cycle.
14
14
  */
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module component
8
8
  */
9
- export * from "./component.d.ts";
10
- export * from "./statuses.d.ts";
11
- export * from "./view-component.d.ts";
9
+ export * from "./component";
10
+ export * from "./statuses";
11
+ export * from "./view-component";
@@ -6,8 +6,8 @@
6
6
  /**
7
7
  * @module component
8
8
  */
9
- import type { IViewBased, IViewComponent } from "../../types/index.d.ts";
10
- import { Component } from "./component.d.ts";
9
+ import type { IViewBased, IViewComponent } from "../../types/index";
10
+ import { Component } from "./component";
11
11
  export declare abstract class ViewComponent<T extends IViewBased = IViewBased> extends Component implements IViewComponent<T> {
12
12
  /**
13
13
  * Parent View element
@@ -13,7 +13,7 @@
13
13
  * @packageDocumentation
14
14
  * @module constants
15
15
  */
16
- import type { HTMLTagNames, IDictionary } from "../types/index.d.ts";
16
+ import type { HTMLTagNames, IDictionary } from "../types/index";
17
17
  export declare const APP_VERSION: string;
18
18
  export declare const ES: 'es5' | 'es2015' | 'es2018' | 'es2021';
19
19
  export declare const IS_ES_MODERN: boolean;
@@ -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
- export const APP_VERSION = "4.4.5";
6
+ export const APP_VERSION = "4.4.8";
7
7
  // prettier-ignore
8
8
  export const ES = "es2020";
9
9
  export const IS_ES_MODERN = true;
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module create
10
10
  */
11
- import type { Attributes, CanUndef, Children, ICreate, IDictionary, NodeFunction } from "../../types/index.d.ts";
11
+ import type { Attributes, CanUndef, Children, ICreate, IDictionary, NodeFunction } from "../../types/index";
12
12
  export declare class Create implements ICreate {
13
13
  readonly document: Document | (() => Document);
14
14
  readonly createAttributes?: CanUndef<IDictionary<Attributes | NodeFunction>>;
@@ -6,4 +6,4 @@
6
6
  /**
7
7
  * @module create
8
8
  */
9
- export * from "./create.d.ts";
9
+ export * from "./create";
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/cache
10
10
  */
11
- import type { IDictionary, Nullable } from "../../../types/index.d.ts";
11
+ import type { IDictionary, Nullable } from "../../../types/index";
12
12
  export interface CachePropertyDescriptor<T, R> extends PropertyDescriptor {
13
13
  get?: (this: T) => R;
14
14
  }
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/debounce
10
10
  */
11
- import type { DecoratorHandler, IAsyncParams, IViewComponent } from "../../../types/index.d.ts";
11
+ import type { DecoratorHandler, IAsyncParams, IViewComponent } from "../../../types/index";
12
12
  export declare function debounce<V extends IViewComponent = IViewComponent>(timeout?: number | ((ctx: V) => number | IAsyncParams) | IAsyncParams, firstCallImmediately?: boolean, method?: 'debounce' | 'throttle'): DecoratorHandler;
13
13
  /**
14
14
  * Wrap function in throttle wrapper
@@ -8,8 +8,8 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/hook
10
10
  */
11
- import type { ComponentStatus, IDictionary } from "../../../types/index.d.ts";
12
- import type { Component } from "../../component/index.d.ts";
11
+ import type { ComponentStatus, IDictionary } from "../../../types/index";
12
+ import type { Component } from "../../component/index";
13
13
  /**
14
14
  * Call on some component status
15
15
  */
@@ -8,5 +8,5 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/idle
10
10
  */
11
- import type { DecoratorHandler, IComponent } from "../../../types/index.d.ts";
11
+ import type { DecoratorHandler, IComponent } from "../../../types/index";
12
12
  export declare function idle<V extends IComponent = IComponent>(): DecoratorHandler;
@@ -8,14 +8,14 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators
10
10
  */
11
- export * from "./autobind/autobind.d.ts";
12
- export * from "./cache/cache.d.ts";
13
- export * from "./component/component.d.ts";
14
- export * from "./debounce/debounce.d.ts";
15
- export * from "./derive/derive.d.ts";
16
- export * from "./hook/hook.d.ts";
17
- export * from "./idle/idle.d.ts";
18
- export * from "./nonenumerable/nonenumerable.d.ts";
19
- export * from "./persistent/persistent.d.ts";
20
- export * from "./wait/wait.d.ts";
21
- export * from "./watch/watch.d.ts";
11
+ export * from "./autobind/autobind";
12
+ export * from "./cache/cache";
13
+ export * from "./component/component";
14
+ export * from "./debounce/debounce";
15
+ export * from "./derive/derive";
16
+ export * from "./hook/hook";
17
+ export * from "./idle/idle";
18
+ export * from "./nonenumerable/nonenumerable";
19
+ export * from "./persistent/persistent";
20
+ export * from "./wait/wait";
21
+ export * from "./watch/watch";
@@ -8,5 +8,5 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/persistent
10
10
  */
11
- import type { IComponent } from "../../../types/index.d.ts";
11
+ import type { IComponent } from "../../../types/index";
12
12
  export declare function persistent<T extends IComponent>(target: T, propertyKey: string): void;
@@ -8,6 +8,6 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/wait
10
10
  */
11
- import type { IViewBased, IViewComponent } from "../../../types/index.d.ts";
11
+ import type { IViewBased, IViewComponent } from "../../../types/index";
12
12
  export declare function wait<T extends IViewBased>(condition: (ctx: T) => boolean): Function;
13
13
  export declare function wait<T extends IViewComponent>(condition: (ctx: T) => boolean): Function;
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module decorators/watch
10
10
  */
11
- import type { CanUndef, DecoratorHandler, IDictionary } from "../../../types/index.d.ts";
11
+ import type { CanUndef, DecoratorHandler, IDictionary } from "../../../types/index";
12
12
  export declare function getPropertyDescriptor(obj: unknown, prop: string): CanUndef<PropertyDescriptor>;
13
13
  /**
14
14
  * Watch decorator. Added observer for some change in field value
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module dom
10
10
  */
11
- import type { HTMLTagNames, ICreate, IDictionary, IJodit, NodeCondition, Nullable } from "../../types/index.d.ts";
11
+ import type { HTMLTagNames, ICreate, IDictionary, IJodit, NodeCondition, Nullable } from "../../types/index";
12
12
  /**
13
13
  * Module for working with DOM
14
14
  */
@@ -18,6 +18,11 @@ export declare class Dom {
18
18
  * Remove all content from element
19
19
  */
20
20
  static detach(node: Nullable<Node>): void;
21
+ /**
22
+ * Wrap all inline next siblings
23
+ */
24
+ static wrapNextInline(current: Node, tag: Node | HTMLTagNames, editor: IJodit): HTMLElement;
25
+ private static __wrapElements;
21
26
  /**
22
27
  * Wrap all inline siblings
23
28
  */
@@ -25,28 +25,25 @@ export class Dom {
25
25
  }
26
26
  }
27
27
  /**
28
- * Wrap all inline siblings
28
+ * Wrap all inline next siblings
29
29
  */
30
- static wrapInline(current, tag, editor) {
31
- let tmp, first = current, last = current;
30
+ static wrapNextInline(current, tag, editor) {
31
+ let tmp;
32
+ const first = current;
33
+ let last = current;
32
34
  editor.s.save();
33
35
  let needFindNext = false;
34
- do {
35
- needFindNext = false;
36
- tmp = first.previousSibling;
37
- if (tmp && !Dom.isBlock(tmp)) {
38
- needFindNext = true;
39
- first = tmp;
40
- }
41
- } while (needFindNext);
42
36
  do {
43
37
  needFindNext = false;
44
38
  tmp = last.nextSibling;
45
- if (tmp && !Dom.isBlock(tmp)) {
39
+ if (tmp && !Dom.isBlock(tmp) && !Dom.isTag(tmp, 'br')) {
46
40
  needFindNext = true;
47
41
  last = tmp;
48
42
  }
49
43
  } while (needFindNext);
44
+ return Dom.__wrapElements(tag, editor, first, last);
45
+ }
46
+ static __wrapElements(tag, editor, first, last) {
50
47
  const wrapper = isString(tag) ? editor.createInside.element(tag) : tag;
51
48
  if (first.parentNode) {
52
49
  first.parentNode.insertBefore(wrapper, first);
@@ -63,6 +60,33 @@ export class Dom {
63
60
  editor.s.restore();
64
61
  return wrapper;
65
62
  }
63
+ /**
64
+ * Wrap all inline siblings
65
+ */
66
+ static wrapInline(current, tag, editor) {
67
+ let tmp;
68
+ let first = current;
69
+ let last = current;
70
+ editor.s.save();
71
+ let needFindNext = false;
72
+ do {
73
+ needFindNext = false;
74
+ tmp = first.previousSibling;
75
+ if (tmp && !Dom.isBlock(tmp)) {
76
+ needFindNext = true;
77
+ first = tmp;
78
+ }
79
+ } while (needFindNext);
80
+ do {
81
+ needFindNext = false;
82
+ tmp = last.nextSibling;
83
+ if (tmp && !Dom.isBlock(tmp)) {
84
+ needFindNext = true;
85
+ last = tmp;
86
+ }
87
+ } while (needFindNext);
88
+ return Dom.__wrapElements(tag, editor, first, last);
89
+ }
66
90
  /**
67
91
  * Wrap node inside another node
68
92
  */
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module dom
8
8
  */
9
- export * from "./dom.d.ts";
10
- export * from "./lazy-walker.d.ts";
9
+ export * from "./dom";
10
+ export * from "./lazy-walker";
@@ -6,8 +6,8 @@
6
6
  /**
7
7
  * @module dom
8
8
  */
9
- import type { IAsync, IDestructible } from "../../types/index.d.ts";
10
- import { Eventify } from "../event-emitter/eventify.d.ts";
9
+ import type { IAsync, IDestructible } from "../../types/index";
10
+ import { Eventify } from "../event-emitter/eventify";
11
11
  export declare class LazyWalker extends Eventify<{
12
12
  visit: (node: Node) => boolean;
13
13
  break: (reason?: string) => void;
@@ -8,7 +8,7 @@
8
8
  * @packageDocumentation
9
9
  * @module event-emitter
10
10
  */
11
- import type { CallbackFunction, CanArray, IEventEmitter, IEventEmitterOnOptions } from "../../types/index.d.ts";
11
+ import type { CallbackFunction, CanArray, IEventEmitter, IEventEmitterOnOptions } from "../../types/index";
12
12
  /**
13
13
  * The module editor's event manager
14
14
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module event-emitter
8
8
  */
9
- import type { CanUndef, IDestructible } from "../../types/index.d.ts";
9
+ import type { CanUndef, IDestructible } from "../../types/index";
10
10
  /**
11
11
  * Class for adding event handling capability
12
12
  *
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module event-emitter
8
8
  */
9
- export * from "./event-emitter.d.ts";
10
- export * from "./eventify.d.ts";
11
- export * from "./observable.d.ts";
12
- export * from "./store.d.ts";
9
+ export * from "./event-emitter";
10
+ export * from "./eventify";
11
+ export * from "./observable";
12
+ export * from "./store";
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module event-emitter
8
8
  */
9
- import type { IDictionary, IObservable } from "../../types/index.d.ts";
9
+ import type { IDictionary, IObservable } from "../../types/index";
10
10
  /**
11
11
  * Makes any object an observable object
12
12
  * @example
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module event-emitter
8
8
  */
9
- import type { CallbackFunction, EventHandlerBlock } from "../../types/index.d.ts";
9
+ import type { CallbackFunction, EventHandlerBlock } from "../../types/index";
10
10
  export declare const defaultNameSpace = "JoditEventDefaultNamespace";
11
11
  export declare class EventHandlersStore {
12
12
  private __store;
@@ -6,9 +6,9 @@
6
6
  /**
7
7
  * @module global
8
8
  */
9
- import type { HTMLTagNames, IDictionary, IJodit, IViewBased, IViewComponent, IViewOptions } from "../types/index.d.ts";
10
- import { PluginSystem } from "./plugin/plugin-system.d.ts";
11
- import { EventEmitter } from "./event-emitter/index.d.ts";
9
+ import type { HTMLTagNames, IDictionary, IJodit, IViewBased, IViewComponent, IViewOptions } from "../types/index";
10
+ import { PluginSystem } from "./plugin/plugin-system";
11
+ import { EventEmitter } from "./event-emitter/index";
12
12
  export declare const instances: IDictionary<IJodit>;
13
13
  /**
14
14
  * Generate global unique uid
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module helpers/array
8
8
  */
9
- export { asArray } from "./as-array.d.ts";
10
- export { splitArray } from "./split-array.d.ts";
11
- export { toArray } from "./to-array.d.ts";
9
+ export { asArray } from "./as-array";
10
+ export { splitArray } from "./split-array";
11
+ export { toArray } from "./to-array";
@@ -6,4 +6,4 @@
6
6
  /**
7
7
  * @module helpers/async
8
8
  */
9
- export * from "./set-timeout.d.ts";
9
+ export * from "./set-timeout";
@@ -6,28 +6,28 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- export * from "./has-browser-color-picker.d.ts";
10
- export * from "./is-abort-error.d.ts";
11
- export * from "./is-array.d.ts";
12
- export * from "./is-boolean.d.ts";
13
- export * from "./is-equal.d.ts";
14
- export * from "./is-function.d.ts";
15
- export * from "./is-html.d.ts";
16
- export * from "./is-html-from-word.d.ts";
17
- export * from "./is-imp-interface.d.ts";
18
- export * from "./is-int.d.ts";
19
- export * from "./is-jodit-object.d.ts";
20
- export * from "./is-license.d.ts";
21
- export * from "./is-marker.d.ts";
22
- export * from "./is-native-function.d.ts";
23
- export * from "./is-number.d.ts";
24
- export * from "./is-numeric.d.ts";
25
- export * from "./is-plain-object.d.ts";
26
- export * from "./is-promise.d.ts";
27
- export * from "./is-set.d.ts";
28
- export * from "./is-string.d.ts";
29
- export * from "./is-url.d.ts";
30
- export * from "./is-valid-name.d.ts";
31
- export * from "./is-view-object.d.ts";
32
- export * from "./is-void.d.ts";
33
- export * from "./is-window.d.ts";
9
+ export * from "./has-browser-color-picker";
10
+ export * from "./is-abort-error";
11
+ export * from "./is-array";
12
+ export * from "./is-boolean";
13
+ export * from "./is-equal";
14
+ export * from "./is-function";
15
+ export * from "./is-html";
16
+ export * from "./is-html-from-word";
17
+ export * from "./is-imp-interface";
18
+ export * from "./is-int";
19
+ export * from "./is-jodit-object";
20
+ export * from "./is-license";
21
+ export * from "./is-marker";
22
+ export * from "./is-native-function";
23
+ export * from "./is-number";
24
+ export * from "./is-numeric";
25
+ export * from "./is-plain-object";
26
+ export * from "./is-promise";
27
+ export * from "./is-set";
28
+ export * from "./is-string";
29
+ export * from "./is-url";
30
+ export * from "./is-valid-name";
31
+ export * from "./is-view-object";
32
+ export * from "./is-void";
33
+ export * from "./is-window";
@@ -6,5 +6,5 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- import type { AbortError } from "../utils/error/errors/abort-error.d.ts";
9
+ import type { AbortError } from "../utils/error/errors/abort-error";
10
10
  export declare function isAbortError(error: unknown): error is AbortError;
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- import type { IContainer, IDestructible, IInitable } from "../../../types/index.d.ts";
9
+ import type { IContainer, IDestructible, IInitable } from "../../../types/index";
10
10
  /**
11
11
  * Check value has method init
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- import type { IJodit } from "../../../types/index.d.ts";
9
+ import type { IJodit } from "../../../types/index";
10
10
  /**
11
11
  * Check if element is instance of Jodit
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- import type { Nullable } from "../../../types/index.d.ts";
9
+ import type { Nullable } from "../../../types/index";
10
10
  /**
11
11
  * Define element is selection helper
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- import type { IDictionary } from "../../../types/index.d.ts";
9
+ import type { IDictionary } from "../../../types/index";
10
10
  /**
11
11
  * Check if element is simple plaint object
12
12
  */
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * @module helpers/checker
8
8
  */
9
- import type { IViewBased } from "../../../types/index.d.ts";
9
+ import type { IViewBased } from "../../../types/index";
10
10
  /**
11
11
  * Check if an element is instance of View
12
12
  */
@@ -6,4 +6,4 @@
6
6
  /**
7
7
  * @module helpers/color
8
8
  */
9
- export * from "./color-to-hex.d.ts";
9
+ export * from "./color-to-hex";