jodit 3.18.7 → 3.19.1

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 (650) hide show
  1. package/README.md +29 -2
  2. package/build/jodit.css +150 -149
  3. package/build/jodit.es2018.css +2126 -3969
  4. package/build/jodit.es2018.en.css +2126 -3969
  5. package/build/jodit.es2018.en.js +17708 -28040
  6. package/build/jodit.es2018.en.min.css +1 -1
  7. package/build/jodit.es2018.en.min.js +1 -1
  8. package/build/jodit.es2018.js +17413 -31878
  9. package/build/jodit.es2018.min.css +1 -1
  10. package/build/jodit.es2018.min.js +1 -1
  11. package/build/jodit.js +30842 -32831
  12. package/build/jodit.min.css +2 -2
  13. package/build/jodit.min.js +1 -1
  14. package/build/plugins/{speech/speech-recognize → speech-recognize}/speech-recognize.css +3 -3
  15. package/build/plugins/{speech/speech-recognize → speech-recognize}/speech-recognize.es2018.css +3 -3
  16. package/build/plugins/{speech/speech-recognize → speech-recognize}/speech-recognize.es2018.en.css +3 -3
  17. package/build/plugins/speech-recognize/speech-recognize.es2018.en.js +1010 -0
  18. package/build/plugins/{speech/speech-recognize → speech-recognize}/speech-recognize.es2018.en.min.css +1 -1
  19. package/build/plugins/speech-recognize/speech-recognize.es2018.en.min.js +1 -0
  20. package/build/plugins/speech-recognize/speech-recognize.es2018.js +1010 -0
  21. package/build/plugins/{speech/speech-recognize → speech-recognize}/speech-recognize.es2018.min.css +1 -1
  22. package/build/plugins/speech-recognize/speech-recognize.es2018.min.js +1 -0
  23. package/build/plugins/{speech/speech-recognize → speech-recognize}/speech-recognize.js +174 -144
  24. package/build/plugins/{speech/speech-recognize → speech-recognize}/speech-recognize.min.css +1 -1
  25. package/build/plugins/speech-recognize/speech-recognize.min.js +1 -0
  26. package/build/vdom.css +1 -1
  27. package/build/vdom.js +487 -467
  28. package/package.json +23 -22
  29. package/src/config.ts +75 -0
  30. package/src/core/constants.ts +3 -0
  31. package/src/core/dom/dom.ts +34 -0
  32. package/src/core/helpers/helpers.test.js +31 -25
  33. package/src/core/helpers/string/i18n.ts +4 -6
  34. package/src/core/helpers/utils/align.ts +83 -0
  35. package/src/core/helpers/utils/default-language.ts +1 -1
  36. package/src/core/helpers/utils/index.ts +11 -9
  37. package/src/core/helpers/utils/mark-deprecated.ts +1 -1
  38. package/src/core/helpers/utils/parse-query.ts +1 -1
  39. package/src/{plugins/print/helpers.ts → core/helpers/utils/print.ts} +6 -2
  40. package/src/core/helpers/utils/utils.ts +19 -1
  41. package/src/core/plugin/plugin-system.ts +18 -7
  42. package/src/core/request/ajax.ts +9 -3
  43. package/src/core/ui/icon.ts +11 -3
  44. package/src/index.ts +2 -8
  45. package/src/langs/ar.js +0 -4
  46. package/src/langs/cs_cz.js +0 -4
  47. package/src/langs/de.js +0 -4
  48. package/src/langs/es.js +0 -4
  49. package/src/langs/fa.js +0 -4
  50. package/src/langs/fr.js +0 -4
  51. package/src/langs/he.js +0 -4
  52. package/src/langs/hu.js +0 -4
  53. package/src/langs/id.js +0 -4
  54. package/src/langs/index.ts +24 -25
  55. package/src/langs/it.js +0 -4
  56. package/src/langs/ja.js +0 -4
  57. package/src/langs/ko.js +0 -4
  58. package/src/langs/nl.js +0 -4
  59. package/src/langs/pl.js +0 -4
  60. package/src/langs/pt_br.js +0 -4
  61. package/src/langs/ru.js +0 -4
  62. package/src/langs/tr.js +0 -4
  63. package/src/langs/zh_cn.js +0 -4
  64. package/src/langs/zh_tw.js +0 -4
  65. package/src/modules/dialog/dialog.test.js +2 -0
  66. package/src/modules/file-browser/config.ts +3 -2
  67. package/src/modules/file-browser/file-browser.ts +2 -7
  68. package/src/modules/image-editor/config.ts +6 -0
  69. package/src/{styles → modules/image-editor}/icons/crop.svg +0 -0
  70. package/src/{styles → modules/image-editor}/icons/resize.svg +0 -0
  71. package/src/modules/table/table.test.js +0 -906
  72. package/src/modules/widget/color-picker/color-picker.ts +2 -0
  73. package/src/{styles/icons → modules/widget/color-picker}/palette.svg +0 -0
  74. package/src/modules/widget/file-selector/file-selector.ts +1 -1
  75. package/src/{styles/icons → plugins/about}/about.svg +0 -0
  76. package/src/plugins/about/about.ts +6 -1
  77. package/src/plugins/add-new-line/add-new-line.test.js +219 -0
  78. package/src/plugins/add-new-line/add-new-line.ts +3 -0
  79. package/src/plugins/add-new-line/config.ts +3 -0
  80. package/src/{styles/icons → plugins/add-new-line}/enter.svg +0 -0
  81. package/src/plugins/{keyboard/backspace → backspace}/backspace.test.js +0 -0
  82. package/src/plugins/{keyboard/backspace → backspace}/backspace.ts +10 -9
  83. package/src/plugins/{keyboard/backspace → backspace}/cases/check-join-neighbors.ts +7 -4
  84. package/src/plugins/{keyboard/backspace → backspace}/cases/check-join-two-lists.ts +6 -2
  85. package/src/plugins/{keyboard/backspace → backspace}/cases/check-not-collapsed.ts +4 -0
  86. package/src/plugins/{keyboard/backspace → backspace}/cases/check-remove-char.ts +7 -2
  87. package/src/plugins/{keyboard/backspace → backspace}/cases/check-remove-content-not-editable.ts +5 -0
  88. package/src/plugins/{keyboard/backspace → backspace}/cases/check-remove-empty-neighbor.ts +6 -3
  89. package/src/plugins/{keyboard/backspace → backspace}/cases/check-remove-empty-parent.ts +11 -3
  90. package/src/plugins/{keyboard/backspace → backspace}/cases/check-remove-unbreakable-element.ts +7 -2
  91. package/src/plugins/{keyboard/backspace → backspace}/cases/check-table-cell.ts +5 -1
  92. package/src/plugins/{keyboard/backspace → backspace}/cases/check-unwrap-first-list-item.ts +5 -1
  93. package/src/plugins/{keyboard/backspace → backspace}/cases/index.ts +4 -0
  94. package/src/plugins/{keyboard/backspace → backspace}/config.ts +0 -0
  95. package/src/plugins/{keyboard → backspace}/helpers.ts +1 -36
  96. package/src/plugins/{keyboard/backspace → backspace}/interface.d.ts +0 -0
  97. package/src/plugins/bold/bold.ts +11 -0
  98. package/src/{styles → plugins/bold}/icons/bold.svg +0 -0
  99. package/src/{styles → plugins/bold}/icons/italic.svg +0 -0
  100. package/src/{styles → plugins/bold}/icons/strikethrough.svg +0 -0
  101. package/src/{styles → plugins/bold}/icons/subscript.svg +0 -0
  102. package/src/{styles → plugins/bold}/icons/superscript.svg +0 -0
  103. package/src/{styles → plugins/bold}/icons/underline.svg +0 -0
  104. package/src/plugins/class-span/{icon.svg → class-span.svg} +0 -0
  105. package/src/plugins/class-span/class-span.ts +5 -2
  106. package/src/plugins/{fix/clean-html → clean-html}/README.md +0 -0
  107. package/src/plugins/{fix/clean-html → clean-html}/clean-html.test.js +0 -0
  108. package/src/plugins/{fix/clean-html → clean-html}/clean-html.ts +7 -3
  109. package/src/plugins/{fix/clean-html → clean-html}/config.ts +4 -1
  110. package/src/{styles/icons → plugins/clean-html}/eraser.svg +0 -0
  111. package/src/plugins/{fix/clean-html → clean-html}/helpers/get-hash.ts +3 -2
  112. package/src/plugins/{fix/clean-html → clean-html}/helpers/index.ts +1 -1
  113. package/src/plugins/{fix/clean-html → clean-html}/helpers/remove-format/remove-format-for-collapsed-selection.ts +1 -1
  114. package/src/plugins/{fix/clean-html → clean-html}/helpers/remove-format/remove-format-for-selection.ts +3 -3
  115. package/src/plugins/{fix/clean-html → clean-html}/helpers/visitor/filters/allow-attributes.ts +1 -1
  116. package/src/plugins/{fix/clean-html → clean-html}/helpers/visitor/filters/fill-empty-paragraph.ts +1 -1
  117. package/src/plugins/{fix/clean-html → clean-html}/helpers/visitor/filters/index.ts +1 -1
  118. package/src/plugins/{fix/clean-html → clean-html}/helpers/visitor/filters/remove-inv-text-nodes.ts +1 -1
  119. package/src/plugins/{fix/clean-html → clean-html}/helpers/visitor/filters/replace-old-tags.ts +1 -1
  120. package/src/plugins/{fix/clean-html → clean-html}/helpers/visitor/filters/sanitize-attributes.ts +2 -2
  121. package/src/plugins/{fix/clean-html → clean-html}/helpers/visitor/filters/try-remove-node.ts +7 -36
  122. package/src/plugins/{fix/clean-html → clean-html}/helpers/visitor/visit-node-walker.ts +3 -2
  123. package/src/plugins/clipboard/clipboard.ts +19 -10
  124. package/src/plugins/clipboard/config.ts +6 -0
  125. package/src/{styles → plugins/clipboard}/icons/copy.svg +0 -0
  126. package/src/{styles → plugins/clipboard}/icons/cut.svg +0 -0
  127. package/src/{styles → plugins/clipboard}/icons/paste.svg +0 -0
  128. package/src/{styles → plugins/clipboard}/icons/select-all.svg +0 -0
  129. package/src/{styles/icons → plugins/color}/brush.svg +0 -0
  130. package/src/plugins/color/color.ts +6 -169
  131. package/src/plugins/color/config.ts +183 -0
  132. package/src/{styles/icons/copyformat.svg → plugins/copy-format/copy-format.svg} +0 -0
  133. package/src/plugins/copy-format/copy-format.test.js +223 -0
  134. package/src/plugins/{clipboard → copy-format}/copy-format.ts +10 -3
  135. package/src/plugins/{speech/speech-recognize/langs/hu.js → copy-format/langs/ar.js} +1 -2
  136. package/src/plugins/copy-format/langs/cs_cz.js +9 -0
  137. package/src/plugins/copy-format/langs/de.js +9 -0
  138. package/src/plugins/copy-format/langs/es.js +9 -0
  139. package/src/plugins/copy-format/langs/fa.js +9 -0
  140. package/src/plugins/copy-format/langs/fr.js +9 -0
  141. package/src/plugins/copy-format/langs/he.js +9 -0
  142. package/src/plugins/copy-format/langs/hu.js +9 -0
  143. package/src/plugins/{speech/speech-recognize → copy-format}/langs/id.js +1 -2
  144. package/src/plugins/{speech/speech-recognize → copy-format}/langs/index.ts +0 -0
  145. package/src/plugins/copy-format/langs/it.js +9 -0
  146. package/src/plugins/{speech/speech-recognize → copy-format}/langs/ja.js +1 -2
  147. package/src/plugins/copy-format/langs/ko.js +9 -0
  148. package/src/plugins/copy-format/langs/nl.js +9 -0
  149. package/src/plugins/copy-format/langs/pl.js +9 -0
  150. package/src/plugins/{speech/speech-recognize → copy-format}/langs/pt_br.js +1 -2
  151. package/src/plugins/{speech/speech-recognize/langs/es.js → copy-format/langs/ru.js} +1 -2
  152. package/src/plugins/copy-format/langs/tr.js +9 -0
  153. package/src/plugins/{speech/speech-recognize → copy-format}/langs/zh_cn.js +1 -2
  154. package/src/plugins/copy-format/langs/zh_tw.js +9 -0
  155. package/src/plugins/{clipboard/drag-and-drop → drag-and-drop}/drag-and-drop.ts +6 -4
  156. package/src/plugins/drag-and-drop-element/config.ts +22 -0
  157. package/src/plugins/{clipboard/drag-and-drop-element → drag-and-drop-element}/drag-and-drop-element.test.js +0 -0
  158. package/src/plugins/{clipboard/drag-and-drop-element → drag-and-drop-element}/drag-and-drop-element.ts +7 -3
  159. package/src/plugins/{keyboard/enter → enter}/README.md +0 -0
  160. package/src/plugins/{keyboard/enter → enter}/enter.test.js +0 -0
  161. package/src/plugins/{keyboard/enter → enter}/enter.ts +7 -3
  162. package/src/plugins/{keyboard/enter → enter}/helpers/check-br.ts +1 -1
  163. package/src/plugins/{keyboard/enter → enter}/helpers/check-unsplittable-box.ts +1 -1
  164. package/src/plugins/{keyboard/enter → enter}/helpers/get-block-wrapper.ts +1 -1
  165. package/src/plugins/{keyboard/enter → enter}/helpers/has-previous-block.ts +1 -1
  166. package/src/plugins/{keyboard/enter → enter}/helpers/index.ts +1 -1
  167. package/src/plugins/{keyboard/enter → enter}/helpers/insert-paragraph.ts +1 -1
  168. package/src/plugins/{keyboard/enter → enter}/helpers/process-empty-li-leaf.ts +2 -1
  169. package/src/plugins/{keyboard/enter → enter}/helpers/split-fragment.ts +3 -2
  170. package/src/plugins/{keyboard/enter → enter}/helpers/wrap-text.ts +1 -1
  171. package/src/plugins/error-messages/error-messages.ts +3 -0
  172. package/src/plugins/{media → file}/file.ts +5 -2
  173. package/src/plugins/focus/focus.ts +3 -0
  174. package/src/plugins/font/config.ts +151 -0
  175. package/src/plugins/font/font.ts +6 -134
  176. package/src/{styles → plugins/font}/icons/font.svg +0 -0
  177. package/src/{styles → plugins/font}/icons/fontsize.svg +0 -0
  178. package/src/plugins/format-block/format-block.ts +6 -0
  179. package/src/{styles/icons → plugins/format-block}/paragraph.svg +0 -0
  180. package/src/plugins/fullsize/config.ts +73 -0
  181. package/src/plugins/fullsize/fullsize.test.js +35 -0
  182. package/src/plugins/fullsize/fullsize.ts +5 -54
  183. package/src/{styles → plugins/fullsize}/icons/fullsize.svg +0 -0
  184. package/src/{styles → plugins/fullsize}/icons/shrink.svg +0 -0
  185. package/src/plugins/hotkeys/config.ts +38 -0
  186. package/src/plugins/hotkeys/hotkeys.test.js +136 -0
  187. package/src/plugins/{keyboard → hotkeys}/hotkeys.ts +6 -28
  188. package/src/{styles/icons → plugins/hr}/hr.svg +0 -0
  189. package/src/plugins/{insert/insert.test.js → hr/hr.test.js} +0 -0
  190. package/src/plugins/{insert → hr}/hr.ts +7 -1
  191. package/src/plugins/iframe/config.ts +0 -21
  192. package/src/plugins/iframe/iframe.ts +3 -0
  193. package/src/{styles/icons → plugins/image}/image.svg +0 -0
  194. package/src/plugins/image/image.ts +6 -0
  195. package/src/plugins/{image/image-processor → image-processor}/README.md +0 -0
  196. package/src/plugins/{image/image-processor → image-processor}/config.ts +0 -0
  197. package/src/plugins/{image/image-processor → image-processor}/image-processor.ts +5 -2
  198. package/src/plugins/{image/image-properties → image-properties}/config.ts +1 -1
  199. package/src/plugins/{image/image-properties → image-properties}/image-properties.less +1 -1
  200. package/src/plugins/image-properties/image-properties.test.js +548 -0
  201. package/src/plugins/{image/image-properties → image-properties}/image-properties.ts +23 -15
  202. package/src/plugins/{image/image-properties → image-properties}/templates/form.ts +2 -2
  203. package/src/plugins/{image/image-properties → image-properties}/templates/main-tab.ts +2 -2
  204. package/src/plugins/{image/image-properties → image-properties}/templates/position-tab.ts +2 -2
  205. package/src/plugins/indent/config.ts +57 -0
  206. package/src/plugins/indent/helpers.ts +23 -0
  207. package/src/{styles → plugins/indent}/icons/indent.svg +0 -0
  208. package/src/{styles → plugins/indent}/icons/outdent.svg +0 -0
  209. package/src/plugins/indent/indent.ts +6 -48
  210. package/src/plugins/index.ts +63 -53
  211. package/src/plugins/inline-popup/config/config.ts +9 -0
  212. package/src/plugins/inline-popup/config/items/img.ts +10 -7
  213. package/src/{styles → plugins/inline-popup}/icons/addcolumn.svg +0 -0
  214. package/src/{styles → plugins/inline-popup}/icons/addrow.svg +0 -0
  215. package/src/{styles → plugins/inline-popup}/icons/merge.svg +0 -0
  216. package/src/{styles → plugins/inline-popup}/icons/splitg.svg +0 -0
  217. package/src/{styles → plugins/inline-popup}/icons/splitv.svg +0 -0
  218. package/src/{styles → plugins/inline-popup}/icons/th-list.svg +0 -0
  219. package/src/{styles → plugins/inline-popup}/icons/th.svg +0 -0
  220. package/src/plugins/inline-popup/inline-popup.ts +5 -1
  221. package/src/{styles/icons → plugins/justify}/justify.svg +0 -0
  222. package/src/plugins/justify/justify.ts +9 -46
  223. package/src/plugins/{keyboard → key-arrow-outside}/key-arrow-outside.ts +6 -4
  224. package/src/plugins/limit/config.ts +30 -0
  225. package/src/plugins/limit/limit.ts +4 -23
  226. package/src/plugins/line-height/config.ts +3 -1
  227. package/src/plugins/line-height/langs/ar.js +9 -0
  228. package/src/plugins/line-height/langs/cs_cz.js +9 -0
  229. package/src/plugins/line-height/langs/de.js +9 -0
  230. package/src/plugins/line-height/langs/es.js +9 -0
  231. package/src/plugins/line-height/langs/fa.js +9 -0
  232. package/src/plugins/line-height/langs/fr.js +9 -0
  233. package/src/plugins/line-height/langs/he.js +9 -0
  234. package/src/plugins/line-height/langs/hu.js +9 -0
  235. package/src/plugins/line-height/langs/id.js +9 -0
  236. package/src/plugins/line-height/langs/index.ts +47 -0
  237. package/src/plugins/line-height/langs/it.js +9 -0
  238. package/src/plugins/line-height/langs/ja.js +9 -0
  239. package/src/plugins/line-height/langs/ko.js +9 -0
  240. package/src/plugins/line-height/langs/nl.js +9 -0
  241. package/src/plugins/line-height/langs/pl.js +9 -0
  242. package/src/plugins/line-height/langs/pt_br.js +9 -0
  243. package/src/plugins/{speech/speech-recognize/langs/he.js → line-height/langs/ru.js} +1 -2
  244. package/src/plugins/line-height/langs/tr.js +9 -0
  245. package/src/plugins/line-height/langs/zh_cn.js +9 -0
  246. package/src/plugins/{speech/speech-recognize/langs/de.js → line-height/langs/zh_tw.js} +1 -2
  247. package/src/{styles/icons → plugins/line-height}/line-height.svg +0 -0
  248. package/src/plugins/line-height/line-height.ts +12 -3
  249. package/src/plugins/link/config.ts +6 -0
  250. package/src/{styles → plugins/link}/icons/link.svg +0 -0
  251. package/src/{styles → plugins/link}/icons/unlink.svg +0 -0
  252. package/src/plugins/link/link.ts +5 -1
  253. package/src/plugins/media/config.ts +30 -0
  254. package/src/plugins/media/media.ts +5 -24
  255. package/src/plugins/mobile/mobile.ts +3 -0
  256. package/src/plugins/ordered-list/config.ts +4 -1
  257. package/src/{styles → plugins/ordered-list}/icons/ol.svg +0 -0
  258. package/src/{styles → plugins/ordered-list}/icons/ul.svg +0 -0
  259. package/src/plugins/ordered-list/ordered-list.ts +3 -0
  260. package/src/plugins/{clipboard/paste → paste}/README.md +0 -0
  261. package/src/plugins/{clipboard/paste → paste}/config.ts +5 -12
  262. package/src/plugins/{clipboard/paste → paste}/helpers.ts +6 -25
  263. package/src/plugins/{clipboard/paste → paste}/interface.ts +3 -14
  264. package/src/plugins/{clipboard/paste → paste}/paste.test.js +0 -0
  265. package/src/plugins/{clipboard/paste → paste}/paste.ts +20 -23
  266. package/src/plugins/{clipboard/paste-from-word → paste-from-word}/README.md +0 -0
  267. package/src/plugins/{clipboard/paste-from-word → paste-from-word}/config.ts +2 -3
  268. package/src/plugins/{clipboard/paste-from-word → paste-from-word}/paste-from-word.ts +15 -16
  269. package/src/plugins/{clipboard/paste-storage → paste-storage}/paste-storage.less +1 -1
  270. package/src/plugins/paste-storage/paste-storage.test.js +231 -0
  271. package/src/plugins/{clipboard/paste-storage → paste-storage}/paste-storage.ts +8 -5
  272. package/src/plugins/placeholder/placeholder.ts +4 -1
  273. package/src/plugins/plugins.test.js +0 -2141
  274. package/src/plugins/powered-by-jodit/powered-by-jodit.ts +9 -5
  275. package/src/plugins/{print/preview → preview}/preview.less +1 -1
  276. package/src/plugins/{print/preview → preview}/preview.test.js +0 -0
  277. package/src/plugins/{print/preview → preview}/preview.ts +4 -1
  278. package/src/plugins/print/lib/generate-critical-css.ts +3 -0
  279. package/src/{styles/icons → plugins/print}/print.svg +0 -0
  280. package/src/plugins/print/print.ts +10 -3
  281. package/src/{styles → plugins/redo-undo}/icons/redo.svg +0 -0
  282. package/src/{styles → plugins/redo-undo}/icons/undo.svg +0 -0
  283. package/src/plugins/redo-undo/redo-undo.ts +10 -1
  284. package/src/plugins/resize-cells/config.ts +19 -0
  285. package/src/plugins/resize-cells/resize-cells.less +27 -0
  286. package/src/plugins/resize-cells/resize-cells.test.js +890 -0
  287. package/src/plugins/{table → resize-cells}/resize-cells.ts +10 -4
  288. package/src/plugins/resize-handler/config.ts +21 -0
  289. package/src/plugins/{size → resize-handler}/resize-handler.ts +5 -0
  290. package/src/plugins/resizer/config.ts +1 -1
  291. package/src/plugins/resizer/resizer.ts +6 -2
  292. package/src/plugins/search/config.ts +3 -0
  293. package/src/plugins/search/helpers/sentence-finder.ts +1 -1
  294. package/src/plugins/search/helpers/wrap-ranges-texts-in-tmp-span.ts +1 -1
  295. package/src/{styles/icons → plugins/search}/search.svg +0 -0
  296. package/src/plugins/search/search.ts +7 -3
  297. package/src/plugins/select/config.ts +1 -1
  298. package/src/plugins/select/select.ts +6 -7
  299. package/{types/plugins/fix/wrap-nodes/config.d.ts → src/plugins/select-cells/config.ts} +10 -7
  300. package/src/plugins/{table → select-cells}/select-cells.ts +10 -5
  301. package/src/plugins/size/config.ts +0 -56
  302. package/src/plugins/size/size.test.js +27 -0
  303. package/src/plugins/size/size.ts +6 -1
  304. package/src/plugins/source/config.ts +9 -7
  305. package/src/plugins/source/editor/engines/ace.ts +8 -5
  306. package/src/plugins/source/editor/engines/area.ts +3 -2
  307. package/src/plugins/source/editor/engines/custom.ts +1 -0
  308. package/src/plugins/source/editor/factory.ts +2 -1
  309. package/src/{styles/icons → plugins/source}/source.svg +0 -0
  310. package/src/plugins/source/source.ts +9 -4
  311. package/src/plugins/{speech/speech-recognize → speech-recognize}/README.md +4 -4
  312. package/src/plugins/{speech/speech-recognize → speech-recognize}/config.ts +5 -3
  313. package/src/plugins/{speech/speech-recognize → speech-recognize}/constants.ts +2 -1
  314. package/src/plugins/{speech/speech-recognize → speech-recognize}/helpers/api.ts +1 -1
  315. package/src/plugins/{speech/speech-recognize → speech-recognize}/helpers/exec-spell-command.ts +1 -1
  316. package/src/plugins/{speech/speech-recognize → speech-recognize}/helpers/recognize-manager.ts +5 -7
  317. package/src/plugins/{speech/speech-recognize → speech-recognize}/helpers/sound.ts +4 -1
  318. package/src/plugins/{speech/speech-recognize → speech-recognize}/interface.ts +1 -1
  319. package/src/plugins/speech-recognize/langs/ar.js +14 -0
  320. package/src/plugins/speech-recognize/langs/cs_cz.js +14 -0
  321. package/src/plugins/speech-recognize/langs/de.js +14 -0
  322. package/src/plugins/speech-recognize/langs/es.js +14 -0
  323. package/src/plugins/speech-recognize/langs/fa.js +14 -0
  324. package/src/plugins/{speech/speech-recognize → speech-recognize}/langs/fr.js +5 -1
  325. package/src/plugins/speech-recognize/langs/he.js +14 -0
  326. package/src/plugins/speech-recognize/langs/hu.js +14 -0
  327. package/src/plugins/speech-recognize/langs/id.js +14 -0
  328. package/src/plugins/speech-recognize/langs/index.ts +47 -0
  329. package/src/plugins/{speech/speech-recognize → speech-recognize}/langs/it.js +5 -1
  330. package/src/plugins/speech-recognize/langs/ja.js +14 -0
  331. package/src/plugins/{speech/speech-recognize → speech-recognize}/langs/ko.js +5 -1
  332. package/src/plugins/{speech/speech-recognize → speech-recognize}/langs/nl.js +5 -1
  333. package/src/plugins/speech-recognize/langs/pl.js +14 -0
  334. package/src/plugins/speech-recognize/langs/pt_br.js +14 -0
  335. package/src/plugins/{speech/speech-recognize → speech-recognize}/langs/ru.js +5 -1
  336. package/src/plugins/{speech/speech-recognize → speech-recognize}/langs/tr.js +5 -1
  337. package/src/plugins/speech-recognize/langs/zh_cn.js +14 -0
  338. package/src/plugins/{speech/speech-recognize → speech-recognize}/langs/zh_tw.js +5 -1
  339. package/src/plugins/{speech/speech-recognize → speech-recognize}/speech-recognize.less +4 -4
  340. package/src/plugins/{speech/speech-recognize/icon.svg → speech-recognize/speech-recognize.svg} +0 -0
  341. package/src/plugins/{speech/speech-recognize → speech-recognize}/speech-recognize.ts +5 -3
  342. package/src/plugins/spellcheck/config.ts +4 -1
  343. package/src/plugins/{speech/speech-recognize/langs/fa.js → spellcheck/langs/ar.js} +1 -2
  344. package/src/plugins/spellcheck/langs/cs_cz.js +9 -0
  345. package/src/plugins/spellcheck/langs/de.js +9 -0
  346. package/src/plugins/spellcheck/langs/es.js +9 -0
  347. package/src/plugins/spellcheck/langs/fa.js +9 -0
  348. package/src/plugins/spellcheck/langs/fr.js +9 -0
  349. package/src/plugins/spellcheck/langs/he.js +9 -0
  350. package/src/plugins/{speech/speech-recognize/langs/pl.js → spellcheck/langs/hu.js} +1 -2
  351. package/src/plugins/spellcheck/langs/id.js +9 -0
  352. package/src/plugins/spellcheck/langs/index.ts +47 -0
  353. package/src/plugins/spellcheck/langs/it.js +9 -0
  354. package/src/plugins/spellcheck/langs/ja.js +9 -0
  355. package/src/plugins/spellcheck/langs/ko.js +9 -0
  356. package/src/plugins/spellcheck/langs/nl.js +9 -0
  357. package/src/plugins/spellcheck/langs/pl.js +9 -0
  358. package/src/plugins/{speech/speech-recognize/langs/cs_cz.js → spellcheck/langs/pt_br.js} +1 -2
  359. package/src/plugins/{speech/speech-recognize/langs/ar.js → spellcheck/langs/ru.js} +1 -2
  360. package/src/plugins/spellcheck/langs/tr.js +9 -0
  361. package/src/plugins/spellcheck/langs/zh_cn.js +9 -0
  362. package/src/plugins/spellcheck/langs/zh_tw.js +9 -0
  363. package/src/plugins/spellcheck/spellcheck.ts +8 -0
  364. package/src/plugins/stat/config.ts +23 -0
  365. package/src/plugins/stat/stat.ts +6 -14
  366. package/src/plugins/sticky/config.ts +44 -0
  367. package/src/plugins/sticky/sticky.test.js +201 -0
  368. package/src/plugins/sticky/sticky.ts +6 -34
  369. package/src/plugins/symbols/config.ts +4 -2
  370. package/src/plugins/symbols/langs/ar.js +9 -0
  371. package/src/plugins/symbols/langs/cs_cz.js +9 -0
  372. package/src/plugins/symbols/langs/de.js +9 -0
  373. package/src/plugins/symbols/langs/es.js +9 -0
  374. package/src/plugins/symbols/langs/fa.js +9 -0
  375. package/src/plugins/symbols/langs/fr.js +9 -0
  376. package/src/plugins/symbols/langs/he.js +9 -0
  377. package/src/plugins/symbols/langs/hu.js +9 -0
  378. package/src/plugins/symbols/langs/id.js +9 -0
  379. package/src/plugins/symbols/langs/index.ts +47 -0
  380. package/src/plugins/symbols/langs/it.js +9 -0
  381. package/src/plugins/symbols/langs/ja.js +9 -0
  382. package/src/plugins/symbols/langs/ko.js +9 -0
  383. package/src/plugins/symbols/langs/nl.js +9 -0
  384. package/src/plugins/symbols/langs/pl.js +9 -0
  385. package/src/plugins/symbols/langs/pt_br.js +9 -0
  386. package/src/plugins/symbols/langs/ru.js +9 -0
  387. package/src/plugins/symbols/langs/tr.js +9 -0
  388. package/src/plugins/symbols/langs/zh_cn.js +9 -0
  389. package/src/plugins/symbols/langs/zh_tw.js +9 -0
  390. package/src/{styles/icons/omega.svg → plugins/symbols/symbols.svg} +0 -0
  391. package/src/plugins/symbols/symbols.test.js +280 -0
  392. package/src/plugins/symbols/symbols.ts +13 -4
  393. package/src/plugins/{keyboard/tab → tab}/README.md +0 -0
  394. package/src/plugins/{keyboard/tab → tab}/cases/index.ts +1 -1
  395. package/src/plugins/{keyboard/tab → tab}/cases/on-tab-inside-li.ts +3 -2
  396. package/src/plugins/{keyboard/tab → tab}/config.ts +1 -1
  397. package/src/plugins/{keyboard/tab → tab}/tab.test.js +0 -0
  398. package/src/plugins/{keyboard/tab → tab}/tab.ts +7 -4
  399. package/src/plugins/table/config.ts +3 -4
  400. package/src/plugins/table/table.less +0 -26
  401. package/src/{styles/icons → plugins/table}/table.svg +0 -0
  402. package/src/plugins/table/table.ts +7 -0
  403. package/src/plugins/{table → table-keyboard-navigation}/table-keyboard-navigation.ts +5 -2
  404. package/src/plugins/tooltip/tooltip.ts +4 -2
  405. package/src/plugins/{media/video → video}/config.ts +4 -1
  406. package/src/{styles/icons → plugins/video}/video.svg +0 -0
  407. package/src/plugins/{media/video/index.ts → video/video.ts} +6 -2
  408. package/src/plugins/{fix/wrap-nodes → wrap-nodes}/README.md +0 -0
  409. package/src/plugins/{fix/wrap-nodes → wrap-nodes}/config.ts +1 -1
  410. package/src/plugins/{fix/wrap-nodes → wrap-nodes}/wrap-nodes.test.js +0 -0
  411. package/src/plugins/{fix/wrap-nodes → wrap-nodes}/wrap-nodes.ts +6 -3
  412. package/{types/plugins/image/image-processor/config.d.ts → src/plugins/xpath/config.ts} +10 -7
  413. package/src/plugins/xpath/xpath.test.js +182 -0
  414. package/src/plugins/xpath/xpath.ts +9 -13
  415. package/src/styles/icons/index.ts +2 -114
  416. package/src/types/ajax.d.ts +7 -4
  417. package/src/types/file-browser.d.ts +5 -1
  418. package/src/types/plugin.d.ts +1 -1
  419. package/src/types/types.d.ts +7 -0
  420. package/src/types/uploader.d.ts +6 -2
  421. package/tsconfig.json +8 -12
  422. package/types/config.d.ts +69 -1
  423. package/types/core/constants.d.ts +2 -0
  424. package/types/core/dom/dom.d.ts +8 -0
  425. package/types/core/helpers/utils/align.d.ts +18 -0
  426. package/types/core/helpers/utils/index.d.ts +11 -9
  427. package/types/core/helpers/utils/mark-deprecated.d.ts +1 -1
  428. package/types/{plugins/print/helpers.d.ts → core/helpers/utils/print.d.ts} +0 -0
  429. package/types/core/helpers/utils/utils.d.ts +5 -1
  430. package/types/index.d.ts +1 -0
  431. package/types/modules/file-browser/file-browser.d.ts +1 -4
  432. package/types/plugins/index.d.ts +0 -50
  433. package/types/styles/icons/index.d.ts +1 -57
  434. package/types/types/ajax.d.ts +7 -4
  435. package/types/types/file-browser.d.ts +5 -1
  436. package/types/types/plugin.d.ts +1 -1
  437. package/types/types/types.d.ts +7 -0
  438. package/types/types/uploader.d.ts +6 -2
  439. package/.github/ISSUE_TEMPLATE.md +0 -18
  440. package/.github/PULL_REQUEST_TEMPLATE.md +0 -14
  441. package/.github/workflows/docs.yml +0 -16
  442. package/.github/workflows/tests.yml +0 -22
  443. package/.idea/codeStyles/Project.xml +0 -68
  444. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  445. package/.idea/dictionaries/v_chupurnov.xml +0 -12
  446. package/.idea/encodings.xml +0 -4
  447. package/.idea/inspectionProfiles/Project_Default.xml +0 -118
  448. package/.idea/jodit.iml +0 -12
  449. package/.idea/jsLibraryMappings.xml +0 -6
  450. package/.idea/markdown-navigator-enh.xml +0 -29
  451. package/.idea/markdown-navigator.xml +0 -55
  452. package/.idea/misc.xml +0 -6
  453. package/.idea/modules.xml +0 -8
  454. package/.idea/prettier.xml +0 -6
  455. package/.idea/stylesheetLinters/stylelint.xml +0 -6
  456. package/.idea/vcs.xml +0 -6
  457. package/.idea/watcherTasks.xml +0 -4
  458. package/.idea/workspace.xml +0 -1512
  459. package/CHANGELOG.MD +0 -3259
  460. package/CONTRIBUTING.md +0 -100
  461. package/SECURITY.md +0 -10
  462. package/build/plugins/speech/speech-recognize/speech-recognize.es2018.en.js +0 -901
  463. package/build/plugins/speech/speech-recognize/speech-recognize.es2018.en.min.js +0 -1
  464. package/build/plugins/speech/speech-recognize/speech-recognize.es2018.js +0 -901
  465. package/build/plugins/speech/speech-recognize/speech-recognize.es2018.min.js +0 -1
  466. package/build/plugins/speech/speech-recognize/speech-recognize.min.js +0 -1
  467. package/src/plugins/clipboard/index.ts +0 -18
  468. package/src/plugins/clipboard/paste/CHANGELOG.md +0 -21
  469. package/src/plugins/fix/index.ts +0 -12
  470. package/src/plugins/format-block/CHANGELOG.md +0 -16
  471. package/src/plugins/image/helpers.ts +0 -44
  472. package/src/plugins/image/image-properties/templates/index.ts +0 -13
  473. package/src/plugins/image/index.ts +0 -13
  474. package/src/plugins/insert/index.ts +0 -11
  475. package/src/plugins/media/index.ts +0 -13
  476. package/src/plugins/print/index.ts +0 -12
  477. package/src/plugins/size/index.ts +0 -13
  478. package/src/plugins/source/const.ts +0 -11
  479. package/src/plugins/source/index.ts +0 -14
  480. package/src/plugins/table/index.ts +0 -15
  481. package/src/styles/icons/arrows-alt.svg +0 -4
  482. package/src/styles/icons/arrows-h.svg +0 -4
  483. package/src/styles/icons/attachment.svg +0 -4
  484. package/src/styles/icons/chain-broken.svg +0 -4
  485. package/src/styles/icons/check-square.svg +0 -1
  486. package/src/styles/icons/dedent.svg +0 -4
  487. package/src/styles/icons/menu.svg +0 -1
  488. package/src/styles/icons/resizer.svg +0 -4
  489. package/tsdoc.json +0 -30
  490. package/types/core/decorators/spy/spy.d.ts +0 -9
  491. package/types/modules/widget/color-picker/color-picker.d.ts +0 -30
  492. package/types/modules/widget/file-selector/file-selector.d.ts +0 -54
  493. package/types/modules/widget/index.d.ts +0 -13
  494. package/types/modules/widget/tabs/tabs.d.ts +0 -38
  495. package/types/plugins/about/about.d.ts +0 -11
  496. package/types/plugins/add-new-line/add-new-line.d.ts +0 -38
  497. package/types/plugins/add-new-line/config.d.ts +0 -36
  498. package/types/plugins/bold/bold.d.ts +0 -13
  499. package/types/plugins/class-span/class-span.d.ts +0 -37
  500. package/types/plugins/clipboard/clipboard.d.ts +0 -22
  501. package/types/plugins/clipboard/config.d.ts +0 -6
  502. package/types/plugins/clipboard/copy-format.d.ts +0 -10
  503. package/types/plugins/clipboard/drag-and-drop/drag-and-drop.d.ts +0 -27
  504. package/types/plugins/clipboard/drag-and-drop-element/drag-and-drop-element.d.ts +0 -49
  505. package/types/plugins/clipboard/index.d.ts +0 -16
  506. package/types/plugins/clipboard/paste/config.d.ts +0 -44
  507. package/types/plugins/clipboard/paste/helpers.d.ts +0 -27
  508. package/types/plugins/clipboard/paste/interface.d.ts +0 -20
  509. package/types/plugins/clipboard/paste/paste.d.ts +0 -52
  510. package/types/plugins/clipboard/paste-from-word/config.d.ts +0 -36
  511. package/types/plugins/clipboard/paste-from-word/paste-from-word.d.ts +0 -27
  512. package/types/plugins/clipboard/paste-storage/paste-storage.d.ts +0 -28
  513. package/types/plugins/color/color.d.ts +0 -13
  514. package/types/plugins/error-messages/error-messages.d.ts +0 -27
  515. package/types/plugins/fix/clean-html/clean-html.d.ts +0 -40
  516. package/types/plugins/fix/clean-html/config.d.ts +0 -77
  517. package/types/plugins/fix/clean-html/helpers/get-hash.d.ts +0 -13
  518. package/types/plugins/fix/clean-html/helpers/index.d.ts +0 -12
  519. package/types/plugins/fix/clean-html/helpers/remove-format/remove-format-for-collapsed-selection.d.ts +0 -18
  520. package/types/plugins/fix/clean-html/helpers/remove-format/remove-format-for-selection.d.ts +0 -14
  521. package/types/plugins/fix/clean-html/helpers/visitor/filters/allow-attributes.d.ts +0 -13
  522. package/types/plugins/fix/clean-html/helpers/visitor/filters/fill-empty-paragraph.d.ts +0 -13
  523. package/types/plugins/fix/clean-html/helpers/visitor/filters/index.d.ts +0 -17
  524. package/types/plugins/fix/clean-html/helpers/visitor/filters/remove-inv-text-nodes.d.ts +0 -13
  525. package/types/plugins/fix/clean-html/helpers/visitor/filters/replace-old-tags.d.ts +0 -13
  526. package/types/plugins/fix/clean-html/helpers/visitor/filters/sanitize-attributes.d.ts +0 -13
  527. package/types/plugins/fix/clean-html/helpers/visitor/filters/try-remove-node.d.ts +0 -10
  528. package/types/plugins/fix/clean-html/helpers/visitor/visit-node-walker.d.ts +0 -13
  529. package/types/plugins/fix/index.d.ts +0 -10
  530. package/types/plugins/fix/wrap-nodes/wrap-nodes.d.ts +0 -39
  531. package/types/plugins/focus/focus.d.ts +0 -19
  532. package/types/plugins/font/font.d.ts +0 -18
  533. package/types/plugins/format-block/format-block.d.ts +0 -15
  534. package/types/plugins/fullsize/fullsize.d.ts +0 -39
  535. package/types/plugins/iframe/config.d.ts +0 -82
  536. package/types/plugins/iframe/iframe.d.ts +0 -15
  537. package/types/plugins/image/helpers.d.ts +0 -9
  538. package/types/plugins/image/image-processor/image-processor.d.ts +0 -29
  539. package/types/plugins/image/image-properties/config.d.ts +0 -70
  540. package/types/plugins/image/image-properties/image-properties.d.ts +0 -70
  541. package/types/plugins/image/image-properties/templates/form.d.ts +0 -10
  542. package/types/plugins/image/image-properties/templates/index.d.ts +0 -11
  543. package/types/plugins/image/image-properties/templates/main-tab.d.ts +0 -10
  544. package/types/plugins/image/image-properties/templates/position-tab.d.ts +0 -10
  545. package/types/plugins/image/image.d.ts +0 -10
  546. package/types/plugins/image/index.d.ts +0 -11
  547. package/types/plugins/indent/indent.d.ts +0 -21
  548. package/types/plugins/inline-popup/config/config.d.ts +0 -18
  549. package/types/plugins/inline-popup/inline-popup.d.ts +0 -69
  550. package/types/plugins/insert/hr.d.ts +0 -10
  551. package/types/plugins/insert/index.d.ts +0 -9
  552. package/types/plugins/justify/justify.d.ts +0 -21
  553. package/types/plugins/keyboard/backspace/backspace.d.ts +0 -31
  554. package/types/plugins/keyboard/backspace/cases/check-join-neighbors.d.ts +0 -10
  555. package/types/plugins/keyboard/backspace/cases/check-join-two-lists.d.ts +0 -20
  556. package/types/plugins/keyboard/backspace/cases/check-not-collapsed.d.ts +0 -20
  557. package/types/plugins/keyboard/backspace/cases/check-remove-char.d.ts +0 -21
  558. package/types/plugins/keyboard/backspace/cases/check-remove-content-not-editable.d.ts +0 -11
  559. package/types/plugins/keyboard/backspace/cases/check-remove-empty-neighbor.d.ts +0 -20
  560. package/types/plugins/keyboard/backspace/cases/check-remove-empty-parent.d.ts +0 -21
  561. package/types/plugins/keyboard/backspace/cases/check-remove-unbreakable-element.d.ts +0 -21
  562. package/types/plugins/keyboard/backspace/cases/check-table-cell.d.ts +0 -21
  563. package/types/plugins/keyboard/backspace/cases/check-unwrap-first-list-item.d.ts +0 -21
  564. package/types/plugins/keyboard/backspace/cases/index.d.ts +0 -8
  565. package/types/plugins/keyboard/backspace/config.d.ts +0 -20
  566. package/types/plugins/keyboard/enter/enter.d.ts +0 -25
  567. package/types/plugins/keyboard/enter/helpers/check-br.d.ts +0 -14
  568. package/types/plugins/keyboard/enter/helpers/check-unsplittable-box.d.ts +0 -14
  569. package/types/plugins/keyboard/enter/helpers/get-block-wrapper.d.ts +0 -14
  570. package/types/plugins/keyboard/enter/helpers/has-previous-block.d.ts +0 -13
  571. package/types/plugins/keyboard/enter/helpers/index.d.ts +0 -16
  572. package/types/plugins/keyboard/enter/helpers/insert-paragraph.d.ts +0 -14
  573. package/types/plugins/keyboard/enter/helpers/process-empty-li-leaf.d.ts +0 -14
  574. package/types/plugins/keyboard/enter/helpers/split-fragment.d.ts +0 -15
  575. package/types/plugins/keyboard/enter/helpers/wrap-text.d.ts +0 -15
  576. package/types/plugins/keyboard/helpers.d.ts +0 -22
  577. package/types/plugins/keyboard/hotkeys.d.ts +0 -28
  578. package/types/plugins/keyboard/key-arrow-outside.d.ts +0 -18
  579. package/types/plugins/keyboard/tab/cases/index.d.ts +0 -9
  580. package/types/plugins/keyboard/tab/cases/on-tab-inside-li.d.ts +0 -14
  581. package/types/plugins/keyboard/tab/config.d.ts +0 -16
  582. package/types/plugins/keyboard/tab/tab.d.ts +0 -18
  583. package/types/plugins/limit/limit.d.ts +0 -51
  584. package/types/plugins/line-height/config.d.ts +0 -20
  585. package/types/plugins/line-height/line-height.d.ts +0 -19
  586. package/types/plugins/link/config.d.ts +0 -57
  587. package/types/plugins/link/link.d.ts +0 -25
  588. package/types/plugins/link/template.d.ts +0 -10
  589. package/types/plugins/media/file.d.ts +0 -10
  590. package/types/plugins/media/index.d.ts +0 -11
  591. package/types/plugins/media/media.d.ts +0 -29
  592. package/types/plugins/media/video/config.d.ts +0 -6
  593. package/types/plugins/media/video/index.d.ts +0 -11
  594. package/types/plugins/mobile/config.d.ts +0 -18
  595. package/types/plugins/mobile/mobile.d.ts +0 -14
  596. package/types/plugins/ordered-list/config.d.ts +0 -6
  597. package/types/plugins/ordered-list/ordered-list.d.ts +0 -20
  598. package/types/plugins/placeholder/config.d.ts +0 -44
  599. package/types/plugins/placeholder/placeholder.d.ts +0 -29
  600. package/types/plugins/powered-by-jodit/powered-by-jodit.d.ts +0 -18
  601. package/types/plugins/print/index.d.ts +0 -10
  602. package/types/plugins/print/lib/generate-critical-css.d.ts +0 -10
  603. package/types/plugins/print/preview/preview.d.ts +0 -11
  604. package/types/plugins/print/print.d.ts +0 -10
  605. package/types/plugins/redo-undo/redo-undo.d.ts +0 -19
  606. package/types/plugins/resizer/config.d.ts +0 -50
  607. package/types/plugins/resizer/resizer.d.ts +0 -67
  608. package/types/plugins/search/config.d.ts +0 -36
  609. package/types/plugins/search/helpers/index.d.ts +0 -10
  610. package/types/plugins/search/helpers/sentence-finder.d.ts +0 -21
  611. package/types/plugins/search/helpers/wrap-ranges-texts-in-tmp-span.d.ts +0 -14
  612. package/types/plugins/search/search.d.ts +0 -56
  613. package/types/plugins/search/ui/search.d.ts +0 -37
  614. package/types/plugins/select/config.d.ts +0 -21
  615. package/types/plugins/select/select.d.ts +0 -38
  616. package/types/plugins/size/config.d.ts +0 -19
  617. package/types/plugins/size/index.d.ts +0 -11
  618. package/types/plugins/size/resize-handler.d.ts +0 -42
  619. package/types/plugins/size/size.d.ts +0 -43
  620. package/types/plugins/source/config.d.ts +0 -46
  621. package/types/plugins/source/const.d.ts +0 -9
  622. package/types/plugins/source/editor/engines/ace.d.ts +0 -41
  623. package/types/plugins/source/editor/engines/area.d.ts +0 -28
  624. package/types/plugins/source/editor/engines/index.d.ts +0 -10
  625. package/types/plugins/source/editor/factory.d.ts +0 -10
  626. package/types/plugins/source/editor/sourceEditor.d.ts +0 -27
  627. package/types/plugins/source/index.d.ts +0 -12
  628. package/types/plugins/source/source.d.ts +0 -53
  629. package/types/plugins/speech/speech-recognize/config.d.ts +0 -60
  630. package/types/plugins/speech/speech-recognize/constants.d.ts +0 -10
  631. package/types/plugins/speech/speech-recognize/helpers/api.d.ts +0 -10
  632. package/types/plugins/speech/speech-recognize/helpers/exec-spell-command.d.ts +0 -10
  633. package/types/plugins/speech/speech-recognize/helpers/recognize-manager.d.ts +0 -48
  634. package/types/plugins/speech/speech-recognize/helpers/sound.d.ts +0 -11
  635. package/types/plugins/speech/speech-recognize/interface.d.ts +0 -42
  636. package/types/plugins/speech/speech-recognize/speech-recognize.d.ts +0 -24
  637. package/types/plugins/spellcheck/config.d.ts +0 -15
  638. package/types/plugins/spellcheck/spellcheck.d.ts +0 -19
  639. package/types/plugins/stat/stat.d.ts +0 -26
  640. package/types/plugins/sticky/sticky.d.ts +0 -61
  641. package/types/plugins/symbols/config.d.ts +0 -12
  642. package/types/plugins/symbols/symbols.d.ts +0 -24
  643. package/types/plugins/table/config.d.ts +0 -16
  644. package/types/plugins/table/index.d.ts +0 -13
  645. package/types/plugins/table/resize-cells.d.ts +0 -76
  646. package/types/plugins/table/select-cells.d.ts +0 -58
  647. package/types/plugins/table/table-keyboard-navigation.d.ts +0 -13
  648. package/types/plugins/table/table.d.ts +0 -10
  649. package/types/plugins/tooltip/tooltip.d.ts +0 -22
  650. package/types/plugins/xpath/xpath.d.ts +0 -33
package/README.md CHANGED
@@ -52,14 +52,29 @@ ES2018 Version (if your users use only modern browsers)
52
52
 
53
53
  ### Use a CDN
54
54
 
55
+ #### cdnjs
56
+
57
+ ```html
58
+ <link
59
+ rel="stylesheet"
60
+ href="https://cdnjs.cloudflare.com/ajax/libs/jodit/3.18.9/jodit.es2018.min.css"
61
+ />
62
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/3.18.9/jodit.es2018.min.js"></script>
63
+ ```
64
+
65
+ #### unpkg
66
+
67
+
55
68
  ```html
56
69
  <link
57
70
  rel="stylesheet"
58
- href="https://cdnjs.cloudflare.com/ajax/libs/jodit/3.18.2/jodit.es2018.min.css"
71
+ href="https://unpkg.com/jodit@3.18.9/build/jodit.es2018.min.css"
59
72
  />
60
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/3.18.2/jodit.es2018.min.js"></script>
73
+ <script src="https://unpkg.com/jodit@3.18.9/build/jodit.es2018.min.js"></script>
61
74
  ```
62
75
 
76
+
77
+
63
78
  ### USAGE
64
79
 
65
80
  And some `<textarea>` element
@@ -117,6 +132,18 @@ Build min files:
117
132
  npm run build
118
133
  ```
119
134
 
135
+ Build without some plugins:
136
+
137
+ ```bash
138
+ webpack --progress --mode production --env es=es2018 --env uglify=true --env excludePlugins="about,source,bold,image,xpath,stat,class-span,color,clean-html,file,focus,enter,backspace,media,preview,pint,redo-undo,resize-cells,search,spellcheck,table"
139
+ ```
140
+
141
+ Build without some languages:
142
+
143
+ ```bash
144
+ webpack --progress --mode production --env es=es2018 --env uglify=true --env excludeLanguages="ru,ar,cs_cz,de,es,fa,fr,he,hu,id,it,ja,ko,nl,pl,pt_br,ru,tr,zh_cn,zh_tw"
145
+ ```
146
+
120
147
  Run tests:
121
148
 
122
149
  ```bash
package/build/jodit.css CHANGED
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
4
- * Version: v3.18.7
4
+ * Version: v3.19.1
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
8
8
  /*!
9
9
  * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
10
10
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
11
- * Version: v3.18.7
11
+ * Version: v3.19.1
12
12
  * Url: https://xdsoft.net/jodit/
13
13
  * License(s): MIT
14
14
  */
@@ -4703,6 +4703,28 @@ a + .jodit-filebrowser-tree__source-title {
4703
4703
  }
4704
4704
  }
4705
4705
 
4706
+ /*!
4707
+ * Jodit Editor (https://xdsoft.net/jodit/)
4708
+ * Released under MIT see LICENSE.txt in the project root for license information.
4709
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
4710
+ */
4711
+ .jodit-about {
4712
+ padding: 20px;
4713
+ }
4714
+ .jodit-about a {
4715
+ color: #459ce7;
4716
+ text-decoration: none;
4717
+ }
4718
+ .jodit-about a:focus,
4719
+ .jodit-about a:hover {
4720
+ color: #23527c;
4721
+ outline: 0;
4722
+ text-decoration: underline;
4723
+ }
4724
+ .jodit-about div {
4725
+ margin-bottom: calc(8px / 2);
4726
+ }
4727
+
4706
4728
  /*!
4707
4729
  * Jodit Editor (https://xdsoft.net/jodit/)
4708
4730
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -4761,82 +4783,6 @@ a + .jodit-filebrowser-tree__source-title {
4761
4783
  display: none !important;
4762
4784
  }
4763
4785
 
4764
- /*!
4765
- * Jodit Editor (https://xdsoft.net/jodit/)
4766
- * Released under MIT see LICENSE.txt in the project root for license information.
4767
- * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
4768
- */
4769
- .jodit-about {
4770
- padding: 20px;
4771
- }
4772
- .jodit-about a {
4773
- color: #459ce7;
4774
- text-decoration: none;
4775
- }
4776
- .jodit-about a:focus,
4777
- .jodit-about a:hover {
4778
- color: #23527c;
4779
- outline: 0;
4780
- text-decoration: underline;
4781
- }
4782
- .jodit-about div {
4783
- margin-bottom: calc(8px / 2);
4784
- }
4785
-
4786
- /*!
4787
- * Jodit Editor (https://xdsoft.net/jodit/)
4788
- * Released under MIT see LICENSE.txt in the project root for license information.
4789
- * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
4790
- */
4791
- .jodit-paste-storage {
4792
- max-width: 600px;
4793
- padding: 8px;
4794
- }
4795
- @media (max-width: 768px) {
4796
- .jodit-paste-storage {
4797
- max-width: 100%;
4798
- }
4799
- }
4800
- .jodit-paste-storage > div {
4801
- max-width: 100%;
4802
- max-height: 300px;
4803
- border: 1px solid #dadada;
4804
- }
4805
- .jodit-paste-storage > div:first-child {
4806
- margin-bottom: 8px;
4807
- }
4808
- .jodit-paste-storage > div:first-child a {
4809
- display: block;
4810
- overflow: hidden;
4811
- max-width: 100%;
4812
- -webkit-box-sizing: border-box;
4813
- box-sizing: border-box;
4814
- padding: calc(8px / 2);
4815
- border: 1px solid transparent;
4816
- margin: 0;
4817
- color: #4c4c4c;
4818
- outline: none;
4819
- text-decoration: none;
4820
- -o-text-overflow: ellipsis;
4821
- text-overflow: ellipsis;
4822
- white-space: pre;
4823
- }
4824
- .jodit-paste-storage > div:first-child a.jodit_active {
4825
- background-color: #575757;
4826
- color: #fff;
4827
- }
4828
- .jodit-paste-storage > div:first-child a:focus {
4829
- outline: none;
4830
- }
4831
- .jodit-paste-storage > div:last-child {
4832
- overflow: auto;
4833
- padding: 8px;
4834
- }
4835
- .jodit-paste-storage > div:last-child ul,
4836
- .jodit-paste-storage > div:last-child li {
4837
- margin: 0;
4838
- }
4839
-
4840
4786
  /*!
4841
4787
  * Jodit Editor (https://xdsoft.net/jodit/)
4842
4788
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -5112,6 +5058,60 @@ html.jodit_fullsize-box_true {
5112
5058
  min-width: 700px;
5113
5059
  }
5114
5060
 
5061
+ /*!
5062
+ * Jodit Editor (https://xdsoft.net/jodit/)
5063
+ * Released under MIT see LICENSE.txt in the project root for license information.
5064
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5065
+ */
5066
+ .jodit-paste-storage {
5067
+ max-width: 600px;
5068
+ padding: 8px;
5069
+ }
5070
+ @media (max-width: 768px) {
5071
+ .jodit-paste-storage {
5072
+ max-width: 100%;
5073
+ }
5074
+ }
5075
+ .jodit-paste-storage > div {
5076
+ max-width: 100%;
5077
+ max-height: 300px;
5078
+ border: 1px solid #dadada;
5079
+ }
5080
+ .jodit-paste-storage > div:first-child {
5081
+ margin-bottom: 8px;
5082
+ }
5083
+ .jodit-paste-storage > div:first-child a {
5084
+ display: block;
5085
+ overflow: hidden;
5086
+ max-width: 100%;
5087
+ -webkit-box-sizing: border-box;
5088
+ box-sizing: border-box;
5089
+ padding: calc(8px / 2);
5090
+ border: 1px solid transparent;
5091
+ margin: 0;
5092
+ color: #4c4c4c;
5093
+ outline: none;
5094
+ text-decoration: none;
5095
+ -o-text-overflow: ellipsis;
5096
+ text-overflow: ellipsis;
5097
+ white-space: pre;
5098
+ }
5099
+ .jodit-paste-storage > div:first-child a.jodit_active {
5100
+ background-color: #575757;
5101
+ color: #fff;
5102
+ }
5103
+ .jodit-paste-storage > div:first-child a:focus {
5104
+ outline: none;
5105
+ }
5106
+ .jodit-paste-storage > div:last-child {
5107
+ overflow: auto;
5108
+ padding: 8px;
5109
+ }
5110
+ .jodit-paste-storage > div:last-child ul,
5111
+ .jodit-paste-storage > div:last-child li {
5112
+ margin: 0;
5113
+ }
5114
+
5115
5115
  /*!
5116
5116
  * Jodit Editor (https://xdsoft.net/jodit/)
5117
5117
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -5133,6 +5133,78 @@ html.jodit_fullsize-box_true {
5133
5133
  user-select: none !important;
5134
5134
  }
5135
5135
 
5136
+ .jodit__preview-box table {
5137
+ max-width: 100%;
5138
+ border: none;
5139
+ margin-top: 1em;
5140
+ margin-bottom: 1em;
5141
+ border-collapse: collapse;
5142
+ empty-cells: show;
5143
+ }
5144
+ .jodit__preview-box table tr {
5145
+ -webkit-user-select: none;
5146
+ -moz-user-select: none;
5147
+ -ms-user-select: none;
5148
+ user-select: none;
5149
+ }
5150
+ .jodit__preview-box table tr th {
5151
+ min-width: 2em;
5152
+ padding: 0.4em;
5153
+ border: 1px solid #dadada;
5154
+ -webkit-user-select: text;
5155
+ -moz-user-select: text;
5156
+ -ms-user-select: text;
5157
+ user-select: text;
5158
+ vertical-align: middle;
5159
+ /**
5160
+ // In some circumstances, because of this rule,
5161
+ // the borders of the table are not shown - you need to find out under what
5162
+ &[style*='border'] {
5163
+ border-style: double !important;
5164
+ }
5165
+ */
5166
+ }
5167
+ .jodit__preview-box table tr td {
5168
+ min-width: 2em;
5169
+ padding: 0.4em;
5170
+ border: 1px solid #dadada;
5171
+ -webkit-user-select: text;
5172
+ -moz-user-select: text;
5173
+ -ms-user-select: text;
5174
+ user-select: text;
5175
+ vertical-align: middle;
5176
+ /**
5177
+ // In some circumstances, because of this rule,
5178
+ // the borders of the table are not shown - you need to find out under what
5179
+ &[style*='border'] {
5180
+ border-style: double !important;
5181
+ }
5182
+ */
5183
+ }
5184
+
5185
+ .jodit-table-resizer {
5186
+ position: absolute;
5187
+ z-index: 3;
5188
+ padding-right: calc(8px / 2);
5189
+ padding-left: calc(8px / 2);
5190
+ margin-left: calc(8px / -2);
5191
+ cursor: col-resize;
5192
+ }
5193
+ .jodit-table-resizer::after {
5194
+ display: block;
5195
+ width: 0;
5196
+ height: 100%;
5197
+ border: 0;
5198
+ content: '';
5199
+ }
5200
+ .jodit-table-resizer_moved {
5201
+ z-index: 2;
5202
+ background-color: #b5d6fd;
5203
+ }
5204
+ .jodit-table-resizer_moved::after {
5205
+ border-right: 1px solid #dadada moved;
5206
+ }
5207
+
5136
5208
  /*!
5137
5209
  * Jodit Editor (https://xdsoft.net/jodit/)
5138
5210
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -5670,28 +5742,6 @@ html.jodit_fullsize-box_true {
5670
5742
  }
5671
5743
  */
5672
5744
  }
5673
- .jodit-table-resizer {
5674
- position: absolute;
5675
- z-index: 3;
5676
- padding-right: calc(8px / 2);
5677
- padding-left: calc(8px / 2);
5678
- margin-left: calc(8px / -2);
5679
- cursor: col-resize;
5680
- }
5681
- .jodit-table-resizer::after {
5682
- display: block;
5683
- width: 0;
5684
- height: 100%;
5685
- border: 0;
5686
- content: '';
5687
- }
5688
- .jodit-table-resizer_moved {
5689
- z-index: 2;
5690
- background-color: #b5d6fd;
5691
- }
5692
- .jodit-table-resizer_moved::after {
5693
- border-right: 1px solid #dadada moved;
5694
- }
5695
5745
  .jodit-form__inserter .jodit-form__table-creator-box {
5696
5746
  display: -webkit-box;
5697
5747
  display: -ms-flexbox;
@@ -5786,55 +5836,6 @@ html.jodit_fullsize-box_true {
5786
5836
  opacity: 1;
5787
5837
  }
5788
5838
 
5789
- .jodit__preview-box table {
5790
- max-width: 100%;
5791
- border: none;
5792
- margin-top: 1em;
5793
- margin-bottom: 1em;
5794
- border-collapse: collapse;
5795
- empty-cells: show;
5796
- }
5797
- .jodit__preview-box table tr {
5798
- -webkit-user-select: none;
5799
- -moz-user-select: none;
5800
- -ms-user-select: none;
5801
- user-select: none;
5802
- }
5803
- .jodit__preview-box table tr th {
5804
- min-width: 2em;
5805
- padding: 0.4em;
5806
- border: 1px solid #dadada;
5807
- -webkit-user-select: text;
5808
- -moz-user-select: text;
5809
- -ms-user-select: text;
5810
- user-select: text;
5811
- vertical-align: middle;
5812
- /**
5813
- // In some circumstances, because of this rule,
5814
- // the borders of the table are not shown - you need to find out under what
5815
- &[style*='border'] {
5816
- border-style: double !important;
5817
- }
5818
- */
5819
- }
5820
- .jodit__preview-box table tr td {
5821
- min-width: 2em;
5822
- padding: 0.4em;
5823
- border: 1px solid #dadada;
5824
- -webkit-user-select: text;
5825
- -moz-user-select: text;
5826
- -ms-user-select: text;
5827
- user-select: text;
5828
- vertical-align: middle;
5829
- /**
5830
- // In some circumstances, because of this rule,
5831
- // the borders of the table are not shown - you need to find out under what
5832
- &[style*='border'] {
5833
- border-style: double !important;
5834
- }
5835
- */
5836
- }
5837
-
5838
5839
  /*!
5839
5840
  * Jodit Editor (https://xdsoft.net/jodit/)
5840
5841
  * Released under MIT see LICENSE.txt in the project root for license information.