jodit 3.12.4 → 3.12.5

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 (460) hide show
  1. package/.idea/workspace.xml +97 -68
  2. package/CHANGELOG.MD +34 -14
  3. package/build/jodit.css +47 -45
  4. package/build/jodit.es2018.css +44 -39
  5. package/build/jodit.es2018.en.css +44 -39
  6. package/build/jodit.es2018.en.js +682 -601
  7. package/build/jodit.es2018.en.min.css +1 -1
  8. package/build/jodit.es2018.en.min.js +1 -1
  9. package/build/jodit.es2018.js +718 -637
  10. package/build/jodit.es2018.min.css +1 -1
  11. package/build/jodit.es2018.min.js +1 -1
  12. package/build/jodit.js +4511 -2056
  13. package/build/jodit.min.css +2 -2
  14. package/build/jodit.min.js +1 -1
  15. package/package.json +4 -3
  16. package/src/config.ts +18 -0
  17. package/src/core/async/async.ts +2 -2
  18. package/src/core/component/component.ts +11 -5
  19. package/src/core/component/view-component.ts +1 -1
  20. package/src/core/constants.ts +1 -1
  21. package/src/core/create/create.ts +4 -4
  22. package/src/core/decorators/cache/cache.ts +2 -2
  23. package/src/core/decorators/component/component.ts +1 -1
  24. package/src/core/decorators/debounce/debounce.ts +4 -4
  25. package/src/core/decorators/hook/hook.ts +4 -4
  26. package/src/core/decorators/idle/idle.ts +3 -3
  27. package/src/core/decorators/persistent/persistent.ts +3 -3
  28. package/src/core/decorators/wait/wait.ts +3 -3
  29. package/src/core/decorators/watch/watch.ts +10 -6
  30. package/src/core/dom/dom.ts +5 -5
  31. package/src/core/event-emitter/event-emitter.ts +5 -5
  32. package/src/core/event-emitter/observe-object.ts +3 -3
  33. package/src/core/event-emitter/store.ts +1 -1
  34. package/src/core/global.ts +1 -1
  35. package/src/core/helpers/checker/is-equal.ts +1 -1
  36. package/src/core/helpers/checker/is-imp-interface.ts +2 -2
  37. package/src/core/helpers/checker/is-jodit-object.ts +1 -1
  38. package/src/core/helpers/checker/is-plain-object.ts +1 -1
  39. package/src/core/helpers/html/apply-styles.ts +2 -2
  40. package/src/core/helpers/html/clean-from-word.ts +3 -3
  41. package/src/core/helpers/html/strip-tags.ts +5 -5
  42. package/src/core/helpers/normalize/normalize-key-aliases.ts +3 -3
  43. package/src/core/helpers/normalize/normalize-node.ts +2 -2
  44. package/src/core/helpers/size/get-scroll-parent.ts +3 -3
  45. package/src/core/helpers/size/object-size.ts +1 -1
  46. package/src/core/helpers/size/offset.ts +1 -1
  47. package/src/core/helpers/size/position.ts +1 -1
  48. package/src/core/helpers/string/i18n.ts +9 -5
  49. package/src/core/helpers/string/stringify.ts +1 -1
  50. package/src/core/helpers/string/trim.ts +1 -1
  51. package/src/core/helpers/utils/append-script.ts +1 -1
  52. package/src/core/helpers/utils/assert.ts +25 -0
  53. package/src/core/helpers/utils/build-query.ts +1 -1
  54. package/src/core/helpers/utils/config-proto.ts +2 -2
  55. package/src/core/helpers/utils/css.ts +1 -1
  56. package/src/core/helpers/utils/data-bind.ts +2 -2
  57. package/src/core/helpers/utils/get-class-name.ts +1 -1
  58. package/src/core/helpers/utils/get.ts +1 -1
  59. package/src/core/helpers/utils/index.ts +1 -0
  60. package/src/core/helpers/utils/parse-query.ts +1 -1
  61. package/src/core/helpers/utils/selector.ts +8 -9
  62. package/src/core/helpers/utils/set.ts +1 -1
  63. package/src/core/helpers/utils/stack.ts +1 -1
  64. package/src/core/helpers/utils/utils.ts +1 -1
  65. package/src/core/plugin/README.md +13 -0
  66. package/src/core/plugin/plugin-system.ts +58 -17
  67. package/src/core/plugin/plugin.ts +3 -3
  68. package/src/core/request/ajax.ts +3 -3
  69. package/src/core/request/config.ts +3 -3
  70. package/src/core/request/response.ts +1 -1
  71. package/src/core/selection/select.ts +6 -6
  72. package/src/core/selection/style/api/element-has-same-style.ts +3 -3
  73. package/src/core/selection/style/api/extract.ts +3 -3
  74. package/src/core/selection/style/api/finite-state-machine.ts +1 -1
  75. package/src/core/selection/style/api/get-suit-child.ts +2 -2
  76. package/src/core/selection/style/api/get-suit-parent.ts +2 -2
  77. package/src/core/selection/style/api/is-inside-invisible-element.ts +1 -1
  78. package/src/core/selection/style/api/is-normal-node.ts +2 -2
  79. package/src/core/selection/style/api/is-suit-element.ts +2 -2
  80. package/src/core/selection/style/api/toggle/toggle-css.ts +6 -6
  81. package/src/core/selection/style/api/toggle/toggle-ordered-list.ts +2 -2
  82. package/src/core/selection/style/api/toggle-commit-styles.ts +1 -1
  83. package/src/core/selection/style/api/unwrap-children.ts +3 -3
  84. package/src/core/selection/style/api/wrap-and-commit-style.ts +3 -3
  85. package/src/core/selection/style/api/wrap-ordered-list.ts +2 -2
  86. package/src/core/selection/style/api/wrap-unwrapped-text.ts +2 -2
  87. package/src/core/selection/style/apply-style.ts +3 -3
  88. package/src/core/selection/style/commit-style.ts +2 -2
  89. package/src/core/storage/engines/local-storage-provider.ts +1 -5
  90. package/src/core/storage/engines/memory-storage-provider.ts +1 -1
  91. package/src/core/storage/storage.ts +1 -1
  92. package/src/core/traits/elms.ts +1 -1
  93. package/src/core/traits/mods.ts +1 -1
  94. package/src/core/ui/button/button/button.ts +8 -8
  95. package/src/core/ui/button/group/group.ts +2 -2
  96. package/src/core/ui/element.ts +3 -3
  97. package/src/core/ui/form/block/block.ts +4 -4
  98. package/src/core/ui/form/form.ts +4 -5
  99. package/src/core/ui/form/inputs/area/area.ts +3 -3
  100. package/src/core/ui/form/inputs/checkbox/checkbox.ts +4 -4
  101. package/src/core/ui/form/inputs/file/file.ts +4 -4
  102. package/src/core/ui/form/inputs/input/input.ts +7 -7
  103. package/src/core/ui/form/inputs/select/select.ts +8 -5
  104. package/src/core/ui/form/validators/input.ts +2 -2
  105. package/src/core/ui/form/validators/select.ts +2 -2
  106. package/src/core/ui/group/group.ts +5 -5
  107. package/src/core/ui/group/list.ts +15 -11
  108. package/src/core/ui/group/separator.ts +1 -1
  109. package/src/core/ui/group/spacer.ts +2 -2
  110. package/src/core/ui/helpers/buttons.ts +2 -2
  111. package/src/core/ui/helpers/get-control-type.ts +3 -3
  112. package/src/core/ui/helpers/get-strong-control-types.ts +4 -4
  113. package/src/core/ui/icon.ts +2 -2
  114. package/src/core/ui/popup/popup.ts +7 -7
  115. package/src/core/ui/progress-bar/progress-bar.ts +2 -2
  116. package/src/core/view/view-with-toolbar.ts +5 -5
  117. package/src/core/view/view.ts +4 -4
  118. package/src/index.ts +8 -8
  119. package/src/langs/index.ts +1 -1
  120. package/src/modules/context-menu/context-menu.less +1 -1
  121. package/src/modules/context-menu/context-menu.ts +4 -4
  122. package/src/modules/dialog/alert.ts +3 -3
  123. package/src/modules/dialog/confirm.ts +2 -2
  124. package/src/modules/dialog/dialog.ts +13 -13
  125. package/src/modules/dialog/prompt.ts +2 -2
  126. package/src/modules/file-browser/builders/context-menu.ts +4 -4
  127. package/src/modules/file-browser/builders/elements-map.ts +1 -1
  128. package/src/modules/file-browser/builders/item.ts +2 -2
  129. package/src/modules/file-browser/config.ts +5 -5
  130. package/src/modules/file-browser/data-provider.ts +4 -4
  131. package/src/modules/file-browser/factories.ts +1 -1
  132. package/src/modules/file-browser/fetch/delete-file.ts +1 -1
  133. package/src/modules/file-browser/fetch/load-items.ts +1 -1
  134. package/src/modules/file-browser/fetch/load-tree.ts +3 -3
  135. package/src/modules/file-browser/file-browser.ts +10 -10
  136. package/src/modules/file-browser/listeners/native-listeners.ts +3 -3
  137. package/src/modules/file-browser/listeners/self-listeners.ts +3 -3
  138. package/src/modules/file-browser/listeners/state-listeners.ts +4 -4
  139. package/src/modules/file-browser/ui/tree/tree.less +11 -6
  140. package/src/modules/image-editor/image-editor.ts +8 -51
  141. package/src/modules/image-editor/templates/form.ts +2 -2
  142. package/src/modules/observer/command.ts +1 -1
  143. package/src/modules/observer/observer.ts +5 -5
  144. package/src/modules/observer/snapshot.ts +3 -3
  145. package/src/modules/observer/stack.ts +1 -1
  146. package/src/modules/status-bar/status-bar.ts +4 -4
  147. package/src/modules/table/table.ts +8 -8
  148. package/src/modules/toolbar/button/button.less +1 -1
  149. package/src/modules/toolbar/button/button.ts +11 -11
  150. package/src/modules/toolbar/button/content.less +1 -1
  151. package/src/modules/toolbar/button/content.ts +5 -5
  152. package/src/modules/toolbar/collection/collection.less +1 -1
  153. package/src/modules/toolbar/collection/collection.ts +3 -3
  154. package/src/modules/toolbar/collection/editor-collection.ts +5 -5
  155. package/src/modules/toolbar/factory.ts +2 -2
  156. package/src/modules/uploader/uploader.ts +9 -9
  157. package/src/modules/widget/color-picker/color-picker.ts +4 -4
  158. package/src/modules/widget/file-selector/file-selector.ts +4 -4
  159. package/src/modules/widget/tabs/tabs.ts +3 -3
  160. package/src/plugins/about/about.ts +5 -5
  161. package/src/plugins/add-new-line/add-new-line.ts +5 -5
  162. package/src/plugins/bold/bold.ts +3 -3
  163. package/src/plugins/class-span/class-span.ts +5 -5
  164. package/src/plugins/clipboard/clipboard.ts +4 -4
  165. package/src/plugins/clipboard/config.ts +5 -5
  166. package/src/plugins/clipboard/copy-format.ts +4 -4
  167. package/src/plugins/clipboard/drag-and-drop-element.ts +6 -6
  168. package/src/plugins/clipboard/drag-and-drop.ts +7 -7
  169. package/src/plugins/clipboard/paste/helpers.ts +5 -5
  170. package/src/plugins/clipboard/paste/paste.ts +9 -9
  171. package/src/plugins/clipboard/paste-storage/paste-storage.ts +6 -6
  172. package/src/plugins/color/color.ts +5 -5
  173. package/src/plugins/error-messages/error-messages.ts +5 -5
  174. package/src/plugins/fix/clean-html.ts +10 -10
  175. package/src/plugins/fix/wrap-text-nodes.ts +5 -5
  176. package/src/plugins/focus/focus.ts +4 -4
  177. package/src/plugins/font/font.ts +5 -5
  178. package/src/plugins/format-block/format-block.ts +4 -4
  179. package/src/plugins/fullsize/fullsize.ts +5 -5
  180. package/src/plugins/iframe/iframe.ts +6 -6
  181. package/src/plugins/image/helpers.ts +1 -1
  182. package/src/plugins/image/image-processor.ts +2 -2
  183. package/src/plugins/image/image-properties/image-properties.ts +9 -9
  184. package/src/plugins/image/image-properties/templates/form.ts +1 -1
  185. package/src/plugins/image/image-properties/templates/main-tab.ts +1 -1
  186. package/src/plugins/image/image-properties/templates/position-tab.ts +1 -1
  187. package/src/plugins/image/image.ts +5 -5
  188. package/src/plugins/indent/indent.ts +6 -6
  189. package/src/plugins/inline-popup/config/config.ts +3 -3
  190. package/src/plugins/inline-popup/config/items/a.ts +1 -1
  191. package/src/plugins/inline-popup/config/items/cells.ts +1 -1
  192. package/src/plugins/inline-popup/config/items/iframe.ts +1 -1
  193. package/src/plugins/inline-popup/config/items/img.ts +1 -1
  194. package/src/plugins/inline-popup/inline-popup.ts +6 -6
  195. package/src/plugins/insert/hr.ts +3 -3
  196. package/src/plugins/justify/justify.ts +4 -4
  197. package/src/plugins/keyboard/backspace/backspace.ts +6 -6
  198. package/src/plugins/keyboard/backspace/cases/check-join-neighbors.ts +3 -3
  199. package/src/plugins/keyboard/backspace/cases/check-join-two-lists.ts +1 -1
  200. package/src/plugins/keyboard/backspace/cases/check-not-collapsed.ts +1 -1
  201. package/src/plugins/keyboard/backspace/cases/check-remove-char.ts +9 -6
  202. package/src/plugins/keyboard/backspace/cases/check-remove-content-not-editable.ts +4 -4
  203. package/src/plugins/keyboard/backspace/cases/check-remove-empty-neighbor.ts +3 -3
  204. package/src/plugins/keyboard/backspace/cases/check-remove-empty-parent.ts +5 -5
  205. package/src/plugins/keyboard/backspace/cases/check-remove-unbreakable-element.ts +1 -1
  206. package/src/plugins/keyboard/backspace/cases/check-table-cell.ts +1 -1
  207. package/src/plugins/keyboard/backspace/cases/check-unwrap-first-list-item.ts +3 -3
  208. package/src/plugins/keyboard/backspace/config.ts +2 -2
  209. package/src/plugins/keyboard/enter.ts +6 -6
  210. package/src/plugins/keyboard/helpers.ts +5 -5
  211. package/src/plugins/keyboard/hotkeys.ts +6 -6
  212. package/src/plugins/keyboard/key-arrow-outside.ts +5 -5
  213. package/src/plugins/limit/limit.ts +7 -7
  214. package/src/plugins/link/link.ts +7 -7
  215. package/src/plugins/link/template.ts +3 -3
  216. package/src/plugins/media/file.ts +4 -4
  217. package/src/plugins/media/media.ts +5 -5
  218. package/src/plugins/media/video/config.ts +6 -6
  219. package/src/plugins/media/video/index.ts +1 -1
  220. package/src/plugins/mobile/mobile.ts +9 -9
  221. package/src/plugins/ordered-list/ordered-list.ts +6 -6
  222. package/src/plugins/placeholder/placeholder.ts +9 -9
  223. package/src/plugins/powered-by-jodit/powered-by-jodit.ts +2 -2
  224. package/src/plugins/print/preview.ts +4 -4
  225. package/src/plugins/print/print.ts +6 -6
  226. package/src/plugins/redo-undo/redo-undo.ts +4 -4
  227. package/src/plugins/resizer/resizer.ts +11 -11
  228. package/src/plugins/search/search.ts +11 -11
  229. package/src/plugins/select/select.ts +6 -6
  230. package/src/plugins/size/config.ts +2 -2
  231. package/src/plugins/size/resize-handler.ts +5 -5
  232. package/src/plugins/size/size.ts +4 -4
  233. package/src/plugins/source/config.ts +5 -5
  234. package/src/plugins/source/editor/engines/ace.ts +1 -1
  235. package/src/plugins/source/editor/engines/area.ts +1 -1
  236. package/src/plugins/source/editor/engines/custom.ts +1 -1
  237. package/src/plugins/source/editor/factory.ts +2 -2
  238. package/src/plugins/source/editor/sourceEditor.ts +1 -1
  239. package/src/plugins/source/source.ts +8 -8
  240. package/src/plugins/stat/stat.ts +6 -6
  241. package/src/plugins/sticky/sticky.ts +6 -6
  242. package/src/plugins/symbols/config.ts +4 -4
  243. package/src/plugins/symbols/symbols.ts +3 -3
  244. package/src/plugins/table/config.ts +5 -5
  245. package/src/plugins/table/resize-cells.ts +4 -4
  246. package/src/plugins/table/select-cells.ts +5 -5
  247. package/src/plugins/table/table-keyboard-navigation.ts +3 -3
  248. package/src/plugins/table/table.ts +1 -1
  249. package/src/plugins/tooltip/tooltip.ts +6 -6
  250. package/src/plugins/xpath/xpath.ts +10 -10
  251. package/src/polyfills.ts +9 -1
  252. package/src/types/jodit.d.ts +1 -1
  253. package/src/types/types.d.ts +39 -0
  254. package/tsconfig.json +7 -2
  255. package/types/config.d.ts +16 -0
  256. package/types/core/async/async.d.ts +1 -1
  257. package/types/core/component/component.d.ts +1 -1
  258. package/types/core/component/view-component.d.ts +1 -1
  259. package/types/core/constants.d.ts +1 -1
  260. package/types/core/create/create.d.ts +1 -1
  261. package/types/core/decorators/debounce/debounce.d.ts +1 -1
  262. package/types/core/decorators/hook/hook.d.ts +2 -2
  263. package/types/core/decorators/idle/idle.d.ts +1 -1
  264. package/types/core/decorators/persistent/persistent.d.ts +1 -1
  265. package/types/core/decorators/wait/wait.d.ts +1 -1
  266. package/types/core/decorators/watch/watch.d.ts +1 -1
  267. package/types/core/dom/dom.d.ts +1 -1
  268. package/types/core/event-emitter/event-emitter.d.ts +1 -1
  269. package/types/core/event-emitter/observe-object.d.ts +1 -1
  270. package/types/core/event-emitter/store.d.ts +1 -1
  271. package/types/core/global.d.ts +1 -1
  272. package/types/core/helpers/checker/is-imp-interface.d.ts +1 -1
  273. package/types/core/helpers/checker/is-jodit-object.d.ts +1 -1
  274. package/types/core/helpers/checker/is-plain-object.d.ts +1 -1
  275. package/types/core/helpers/size/get-scroll-parent.d.ts +1 -1
  276. package/types/core/helpers/size/object-size.d.ts +1 -1
  277. package/types/core/helpers/size/offset.d.ts +1 -1
  278. package/types/core/helpers/size/position.d.ts +1 -1
  279. package/types/core/helpers/string/i18n.d.ts +1 -1
  280. package/types/core/helpers/utils/append-script.d.ts +1 -1
  281. package/types/core/helpers/utils/assert.d.ts +8 -0
  282. package/types/core/helpers/utils/build-query.d.ts +1 -1
  283. package/types/core/helpers/utils/config-proto.d.ts +1 -1
  284. package/types/core/helpers/utils/css.d.ts +1 -1
  285. package/types/core/helpers/utils/data-bind.d.ts +1 -1
  286. package/types/core/helpers/utils/get-class-name.d.ts +1 -1
  287. package/types/core/helpers/utils/get.d.ts +1 -1
  288. package/types/core/helpers/utils/index.d.ts +1 -0
  289. package/types/core/helpers/utils/parse-query.d.ts +1 -1
  290. package/types/core/helpers/utils/selector.d.ts +1 -1
  291. package/types/core/helpers/utils/set.d.ts +1 -1
  292. package/types/core/helpers/utils/stack.d.ts +1 -1
  293. package/types/core/helpers/utils/utils.d.ts +2 -2
  294. package/types/core/plugin/plugin-system.d.ts +3 -2
  295. package/types/core/plugin/plugin.d.ts +1 -1
  296. package/types/core/request/ajax.d.ts +1 -1
  297. package/types/core/request/config.d.ts +2 -2
  298. package/types/core/request/response.d.ts +1 -1
  299. package/types/core/selection/select.d.ts +1 -1
  300. package/types/core/selection/style/api/element-has-same-style.d.ts +1 -1
  301. package/types/core/selection/style/api/extract.d.ts +1 -1
  302. package/types/core/selection/style/api/finite-state-machine.d.ts +1 -1
  303. package/types/core/selection/style/api/get-suit-child.d.ts +1 -1
  304. package/types/core/selection/style/api/get-suit-parent.d.ts +1 -1
  305. package/types/core/selection/style/api/is-normal-node.d.ts +1 -1
  306. package/types/core/selection/style/api/is-suit-element.d.ts +1 -1
  307. package/types/core/selection/style/api/toggle/toggle-css.d.ts +2 -2
  308. package/types/core/selection/style/api/toggle/toggle-ordered-list.d.ts +1 -1
  309. package/types/core/selection/style/api/wrap-and-commit-style.d.ts +1 -1
  310. package/types/core/selection/style/api/wrap-ordered-list.d.ts +1 -1
  311. package/types/core/selection/style/api/wrap-unwrapped-text.d.ts +1 -1
  312. package/types/core/selection/style/apply-style.d.ts +1 -1
  313. package/types/core/selection/style/commit-style.d.ts +1 -1
  314. package/types/core/storage/engines/local-storage-provider.d.ts +1 -1
  315. package/types/core/storage/engines/memory-storage-provider.d.ts +1 -1
  316. package/types/core/storage/storage.d.ts +1 -1
  317. package/types/core/traits/elms.d.ts +1 -1
  318. package/types/core/traits/mods.d.ts +1 -1
  319. package/types/core/ui/button/button/button.d.ts +2 -2
  320. package/types/core/ui/button/group/group.d.ts +1 -1
  321. package/types/core/ui/element.d.ts +1 -1
  322. package/types/core/ui/form/block/block.d.ts +2 -2
  323. package/types/core/ui/form/form.d.ts +2 -2
  324. package/types/core/ui/form/inputs/area/area.d.ts +2 -2
  325. package/types/core/ui/form/inputs/checkbox/checkbox.d.ts +2 -2
  326. package/types/core/ui/form/inputs/file/file.d.ts +2 -2
  327. package/types/core/ui/form/inputs/input/input.d.ts +2 -2
  328. package/types/core/ui/form/inputs/select/select.d.ts +2 -2
  329. package/types/core/ui/form/validators/input.d.ts +1 -1
  330. package/types/core/ui/form/validators/select.d.ts +2 -2
  331. package/types/core/ui/group/group.d.ts +2 -2
  332. package/types/core/ui/group/list.d.ts +2 -2
  333. package/types/core/ui/group/spacer.d.ts +1 -1
  334. package/types/core/ui/helpers/buttons.d.ts +1 -1
  335. package/types/core/ui/helpers/get-control-type.d.ts +1 -1
  336. package/types/core/ui/helpers/get-strong-control-types.d.ts +1 -1
  337. package/types/core/ui/icon.d.ts +1 -1
  338. package/types/core/ui/popup/popup.d.ts +2 -2
  339. package/types/core/ui/progress-bar/progress-bar.d.ts +1 -1
  340. package/types/core/view/view-with-toolbar.d.ts +1 -1
  341. package/types/core/view/view.d.ts +2 -2
  342. package/types/index.d.ts +1 -1
  343. package/types/langs/index.d.ts +1 -1
  344. package/types/modules/context-menu/context-menu.d.ts +2 -2
  345. package/types/modules/dialog/dialog.d.ts +3 -3
  346. package/types/modules/file-browser/builders/context-menu.d.ts +1 -1
  347. package/types/modules/file-browser/builders/elements-map.d.ts +1 -1
  348. package/types/modules/file-browser/builders/item.d.ts +1 -1
  349. package/types/modules/file-browser/config.d.ts +2 -2
  350. package/types/modules/file-browser/data-provider.d.ts +1 -1
  351. package/types/modules/file-browser/factories.d.ts +1 -1
  352. package/types/modules/file-browser/fetch/delete-file.d.ts +1 -1
  353. package/types/modules/file-browser/fetch/load-items.d.ts +1 -1
  354. package/types/modules/file-browser/fetch/load-tree.d.ts +1 -1
  355. package/types/modules/file-browser/file-browser.d.ts +2 -2
  356. package/types/modules/file-browser/listeners/native-listeners.d.ts +1 -1
  357. package/types/modules/file-browser/listeners/self-listeners.d.ts +1 -1
  358. package/types/modules/file-browser/listeners/state-listeners.d.ts +1 -1
  359. package/types/modules/image-editor/image-editor.d.ts +3 -5
  360. package/types/modules/image-editor/templates/form.d.ts +1 -1
  361. package/types/modules/observer/command.d.ts +1 -1
  362. package/types/modules/observer/observer.d.ts +3 -3
  363. package/types/modules/observer/snapshot.d.ts +2 -2
  364. package/types/modules/observer/stack.d.ts +1 -1
  365. package/types/modules/status-bar/status-bar.d.ts +2 -2
  366. package/types/modules/table/table.d.ts +3 -3
  367. package/types/modules/toolbar/button/button.d.ts +5 -5
  368. package/types/modules/toolbar/button/content.d.ts +2 -2
  369. package/types/modules/toolbar/collection/collection.d.ts +1 -1
  370. package/types/modules/toolbar/collection/editor-collection.d.ts +1 -1
  371. package/types/modules/toolbar/factory.d.ts +1 -1
  372. package/types/modules/uploader/uploader.d.ts +3 -3
  373. package/types/modules/widget/color-picker/color-picker.d.ts +1 -1
  374. package/types/modules/widget/file-selector/file-selector.d.ts +1 -1
  375. package/types/modules/widget/tabs/tabs.d.ts +2 -2
  376. package/types/plugins/about/about.d.ts +1 -1
  377. package/types/plugins/add-new-line/add-new-line.d.ts +3 -3
  378. package/types/plugins/bold/bold.d.ts +1 -1
  379. package/types/plugins/class-span/class-span.d.ts +2 -2
  380. package/types/plugins/clipboard/clipboard.d.ts +2 -2
  381. package/types/plugins/clipboard/config.d.ts +2 -2
  382. package/types/plugins/clipboard/copy-format.d.ts +1 -1
  383. package/types/plugins/clipboard/drag-and-drop-element.d.ts +1 -1
  384. package/types/plugins/clipboard/drag-and-drop.d.ts +1 -1
  385. package/types/plugins/clipboard/paste/helpers.d.ts +2 -2
  386. package/types/plugins/clipboard/paste/paste.d.ts +3 -3
  387. package/types/plugins/clipboard/paste-storage/paste-storage.d.ts +1 -1
  388. package/types/plugins/color/color.d.ts +1 -1
  389. package/types/plugins/error-messages/error-messages.d.ts +2 -2
  390. package/types/plugins/fix/clean-html.d.ts +3 -3
  391. package/types/plugins/fix/wrap-text-nodes.d.ts +2 -2
  392. package/types/plugins/focus/focus.d.ts +2 -2
  393. package/types/plugins/font/font.d.ts +2 -2
  394. package/types/plugins/format-block/format-block.d.ts +1 -1
  395. package/types/plugins/fullsize/fullsize.d.ts +2 -2
  396. package/types/plugins/iframe/iframe.d.ts +2 -2
  397. package/types/plugins/image/image-processor.d.ts +1 -1
  398. package/types/plugins/image/image-properties/image-properties.d.ts +2 -2
  399. package/types/plugins/image/image-properties/templates/form.d.ts +1 -1
  400. package/types/plugins/image/image-properties/templates/main-tab.d.ts +1 -1
  401. package/types/plugins/image/image-properties/templates/position-tab.d.ts +1 -1
  402. package/types/plugins/image/image.d.ts +1 -1
  403. package/types/plugins/indent/indent.d.ts +2 -2
  404. package/types/plugins/inline-popup/config/config.d.ts +2 -2
  405. package/types/plugins/inline-popup/inline-popup.d.ts +2 -2
  406. package/types/plugins/insert/hr.d.ts +1 -1
  407. package/types/plugins/justify/justify.d.ts +1 -1
  408. package/types/plugins/keyboard/backspace/backspace.d.ts +2 -2
  409. package/types/plugins/keyboard/backspace/cases/check-join-neighbors.d.ts +1 -1
  410. package/types/plugins/keyboard/backspace/cases/check-join-two-lists.d.ts +1 -1
  411. package/types/plugins/keyboard/backspace/cases/check-not-collapsed.d.ts +1 -1
  412. package/types/plugins/keyboard/backspace/cases/check-remove-char.d.ts +2 -2
  413. package/types/plugins/keyboard/backspace/cases/check-remove-content-not-editable.d.ts +1 -1
  414. package/types/plugins/keyboard/backspace/cases/check-remove-empty-neighbor.d.ts +1 -1
  415. package/types/plugins/keyboard/backspace/cases/check-remove-empty-parent.d.ts +1 -1
  416. package/types/plugins/keyboard/backspace/cases/check-remove-unbreakable-element.d.ts +1 -1
  417. package/types/plugins/keyboard/backspace/cases/check-table-cell.d.ts +1 -1
  418. package/types/plugins/keyboard/backspace/cases/check-unwrap-first-list-item.d.ts +1 -1
  419. package/types/plugins/keyboard/backspace/config.d.ts +1 -1
  420. package/types/plugins/keyboard/enter.d.ts +2 -2
  421. package/types/plugins/keyboard/helpers.d.ts +1 -1
  422. package/types/plugins/keyboard/hotkeys.d.ts +3 -3
  423. package/types/plugins/keyboard/key-arrow-outside.d.ts +2 -2
  424. package/types/plugins/limit/limit.d.ts +3 -3
  425. package/types/plugins/link/link.d.ts +3 -3
  426. package/types/plugins/link/template.d.ts +1 -1
  427. package/types/plugins/media/file.d.ts +1 -1
  428. package/types/plugins/media/media.d.ts +2 -2
  429. package/types/plugins/media/video/index.d.ts +1 -1
  430. package/types/plugins/mobile/mobile.d.ts +2 -2
  431. package/types/plugins/ordered-list/ordered-list.d.ts +2 -2
  432. package/types/plugins/placeholder/placeholder.d.ts +3 -3
  433. package/types/plugins/powered-by-jodit/powered-by-jodit.d.ts +2 -2
  434. package/types/plugins/print/preview.d.ts +1 -1
  435. package/types/plugins/print/print.d.ts +1 -1
  436. package/types/plugins/redo-undo/redo-undo.d.ts +2 -2
  437. package/types/plugins/resizer/resizer.d.ts +4 -4
  438. package/types/plugins/search/search.d.ts +3 -3
  439. package/types/plugins/select/select.d.ts +2 -2
  440. package/types/plugins/size/config.d.ts +1 -1
  441. package/types/plugins/size/resize-handler.d.ts +2 -2
  442. package/types/plugins/size/size.d.ts +2 -2
  443. package/types/plugins/source/config.d.ts +2 -2
  444. package/types/plugins/source/editor/engines/ace.d.ts +1 -1
  445. package/types/plugins/source/editor/engines/area.d.ts +1 -1
  446. package/types/plugins/source/editor/factory.d.ts +1 -1
  447. package/types/plugins/source/editor/sourceEditor.d.ts +1 -1
  448. package/types/plugins/source/source.d.ts +2 -2
  449. package/types/plugins/stat/stat.d.ts +2 -2
  450. package/types/plugins/sticky/sticky.d.ts +2 -2
  451. package/types/plugins/symbols/config.d.ts +1 -1
  452. package/types/plugins/symbols/symbols.d.ts +1 -1
  453. package/types/plugins/table/resize-cells.d.ts +1 -1
  454. package/types/plugins/table/select-cells.d.ts +2 -2
  455. package/types/plugins/table/table-keyboard-navigation.d.ts +1 -1
  456. package/types/plugins/table/table.d.ts +1 -1
  457. package/types/plugins/tooltip/tooltip.d.ts +2 -2
  458. package/types/plugins/xpath/xpath.d.ts +3 -3
  459. package/types/types/types/jodit.d.ts +1 -1
  460. package/types/types/types/types.d.ts +39 -0
@@ -11,8 +11,24 @@
11
11
  <select />
12
12
  </component>
13
13
  <component name="ChangeListManager">
14
- <list default="true" id="5da7ff7f-03a8-49de-9fbb-8f8640d83b83" name="Default Changelist" comment="">
15
- <change beforePath="$PROJECT_DIR$/test/tests/acceptance/clipboardTest.js" beforeDir="false" afterPath="$PROJECT_DIR$/test/tests/acceptance/clipboardTest.js" afterDir="false" />
14
+ <list default="true" id="5da7ff7f-03a8-49de-9fbb-8f8640d83b83" name="Default Changelist" comment="Removed relative paths">
15
+ <change beforePath="$PROJECT_DIR$/CHANGELOG.MD" beforeDir="false" afterPath="$PROJECT_DIR$/CHANGELOG.MD" afterDir="false" />
16
+ <change beforePath="$PROJECT_DIR$/build/jodit.css" beforeDir="false" />
17
+ <change beforePath="$PROJECT_DIR$/build/jodit.es2018.css" beforeDir="false" />
18
+ <change beforePath="$PROJECT_DIR$/build/jodit.es2018.en.css" beforeDir="false" />
19
+ <change beforePath="$PROJECT_DIR$/build/jodit.es2018.en.js" beforeDir="false" />
20
+ <change beforePath="$PROJECT_DIR$/build/jodit.es2018.en.min.css" beforeDir="false" />
21
+ <change beforePath="$PROJECT_DIR$/build/jodit.es2018.en.min.js" beforeDir="false" />
22
+ <change beforePath="$PROJECT_DIR$/build/jodit.es2018.js" beforeDir="false" />
23
+ <change beforePath="$PROJECT_DIR$/build/jodit.es2018.min.css" beforeDir="false" />
24
+ <change beforePath="$PROJECT_DIR$/build/jodit.es2018.min.js" beforeDir="false" />
25
+ <change beforePath="$PROJECT_DIR$/build/jodit.js" beforeDir="false" />
26
+ <change beforePath="$PROJECT_DIR$/build/jodit.min.css" beforeDir="false" />
27
+ <change beforePath="$PROJECT_DIR$/build/jodit.min.js" beforeDir="false" />
28
+ <change beforePath="$PROJECT_DIR$/src/core/component/component.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/core/component/component.ts" afterDir="false" />
29
+ <change beforePath="$PROJECT_DIR$/src/core/storage/engines/local-storage-provider.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/core/storage/engines/local-storage-provider.ts" afterDir="false" />
30
+ <change beforePath="$PROJECT_DIR$/src/modules/image-editor/image-editor.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/modules/image-editor/image-editor.ts" afterDir="false" />
31
+ <change beforePath="$PROJECT_DIR$/src/types/types.d.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/types/types.d.ts" afterDir="false" />
16
32
  </list>
17
33
  <list id="5049e1d4-15bc-4e3a-b46b-d2ce7537fc13" name="Revert &quot;Some small fixes&quot;" comment="Revert &quot;Some small fixes&quot;&#10;&#10;This reverts commit bc391ec6" />
18
34
  <option name="SHOW_DIALOG" value="false" />
@@ -767,63 +783,20 @@
767
783
  <workItem from="1640638481739" duration="2174000" />
768
784
  <workItem from="1640699751808" duration="46000" />
769
785
  <workItem from="1640699886093" duration="20891000" />
770
- <workItem from="1641385651473" duration="23833000" />
771
- </task>
772
- <task id="LOCAL-00907" summary="Backspace refactoring">
773
- <created>1638815569175</created>
774
- <option name="number" value="00907" />
775
- <option name="presentableId" value="LOCAL-00907" />
776
- <option name="project" value="LOCAL" />
777
- <updated>1638815569175</updated>
778
- </task>
779
- <task id="LOCAL-00908" summary="Backspace refactoring">
780
- <created>1638818024843</created>
781
- <option name="number" value="00908" />
782
- <option name="presentableId" value="LOCAL-00908" />
783
- <option name="project" value="LOCAL" />
784
- <updated>1638818024843</updated>
785
- </task>
786
- <task id="LOCAL-00909" summary="Fixed es2018 build don't works properly starting from jodit 3.9.4 #758&#10;Issue: https://github.com/xdan/jodit/issues/758">
787
- <created>1638818065422</created>
788
- <option name="number" value="00909" />
789
- <option name="presentableId" value="LOCAL-00909" />
790
- <option name="project" value="LOCAL" />
791
- <updated>1638818065423</updated>
792
- </task>
793
- <task id="LOCAL-00910" summary="Fixed shadow dom support only partly fixed #746&#10;Issue: https://github.com/xdan/jodit/issues/746">
794
- <created>1638823963689</created>
795
- <option name="number" value="00910" />
796
- <option name="presentableId" value="LOCAL-00910" />
797
- <option name="project" value="LOCAL" />
798
- <updated>1638823963689</updated>
799
- </task>
800
- <task id="LOCAL-00911" summary="Open localhost on `npm start`">
801
- <created>1638824353578</created>
802
- <option name="number" value="00911" />
803
- <option name="presentableId" value="LOCAL-00911" />
804
- <option name="project" value="LOCAL" />
805
- <updated>1638824353578</updated>
806
- </task>
807
- <task id="LOCAL-00912" summary="Open localhost on `npm start`">
808
- <created>1638824426725</created>
809
- <option name="number" value="00912" />
810
- <option name="presentableId" value="LOCAL-00912" />
811
- <option name="project" value="LOCAL" />
812
- <updated>1638824426725</updated>
813
- </task>
814
- <task id="LOCAL-00913" summary="- Added `Async.prototype.delay` method&#10;- Added `Ajax.options.responseType` option `XMLHttpRequestResponseType`&#10;- Added `Response.prototype.blob()` method">
815
- <created>1638824726203</created>
816
- <option name="number" value="00913" />
817
- <option name="presentableId" value="LOCAL-00913" />
818
- <option name="project" value="LOCAL" />
819
- <updated>1638824726203</updated>
820
- </task>
821
- <task id="LOCAL-00914" summary="Added documentation for Async module">
822
- <created>1639082248454</created>
823
- <option name="number" value="00914" />
824
- <option name="presentableId" value="LOCAL-00914" />
825
- <option name="project" value="LOCAL" />
826
- <updated>1639082248454</updated>
786
+ <workItem from="1641385651473" duration="25485000" />
787
+ <workItem from="1641724987742" duration="70000" />
788
+ <workItem from="1641758643536" duration="1492000" />
789
+ <workItem from="1641805616750" duration="29000" />
790
+ <workItem from="1641892486038" duration="29000" />
791
+ <workItem from="1641893337323" duration="592000" />
792
+ <workItem from="1641909356505" duration="54000" />
793
+ <workItem from="1641909456356" duration="76000" />
794
+ <workItem from="1642065236669" duration="921000" />
795
+ <workItem from="1642089999398" duration="2000" />
796
+ <workItem from="1642154032457" duration="1625000" />
797
+ <workItem from="1642176414741" duration="33000" />
798
+ <workItem from="1642178478382" duration="24000" />
799
+ <workItem from="1642548143089" duration="11006000" />
827
800
  </task>
828
801
  <task id="LOCAL-00915" summary="Added docs for several modules">
829
802
  <created>1639410047085</created>
@@ -1112,7 +1085,63 @@
1112
1085
  <option name="project" value="LOCAL" />
1113
1086
  <updated>1641424436169</updated>
1114
1087
  </task>
1115
- <option name="localTasksCounter" value="956" />
1088
+ <task id="LOCAL-00956" summary="Added test for memorizeChoiceWhenPasteFragment">
1089
+ <created>1641424922890</created>
1090
+ <option name="number" value="00956" />
1091
+ <option name="presentableId" value="LOCAL-00956" />
1092
+ <option name="project" value="LOCAL" />
1093
+ <updated>1641424922890</updated>
1094
+ </task>
1095
+ <task id="LOCAL-00957" summary="Removed relative paths">
1096
+ <created>1642613293435</created>
1097
+ <option name="number" value="00957" />
1098
+ <option name="presentableId" value="LOCAL-00957" />
1099
+ <option name="project" value="LOCAL" />
1100
+ <updated>1642613293435</updated>
1101
+ </task>
1102
+ <task id="LOCAL-00958" summary="Fixed work in ie11">
1103
+ <created>1642622772111</created>
1104
+ <option name="number" value="00958" />
1105
+ <option name="presentableId" value="LOCAL-00958" />
1106
+ <option name="project" value="LOCAL" />
1107
+ <updated>1642622772112</updated>
1108
+ </task>
1109
+ <task id="LOCAL-00959" summary="Added new option `safeMode`">
1110
+ <created>1642622827092</created>
1111
+ <option name="number" value="00959" />
1112
+ <option name="presentableId" value="LOCAL-00959" />
1113
+ <option name="project" value="LOCAL" />
1114
+ <updated>1642622827092</updated>
1115
+ </task>
1116
+ <task id="LOCAL-00960" summary="Replace relative paths to absolute">
1117
+ <created>1642622860722</created>
1118
+ <option name="number" value="00960" />
1119
+ <option name="presentableId" value="LOCAL-00960" />
1120
+ <option name="project" value="LOCAL" />
1121
+ <updated>1642622860722</updated>
1122
+ </task>
1123
+ <task id="LOCAL-00961" summary="Replace relative paths to absolute">
1124
+ <created>1642623434481</created>
1125
+ <option name="number" value="00961" />
1126
+ <option name="presentableId" value="LOCAL-00961" />
1127
+ <option name="project" value="LOCAL" />
1128
+ <updated>1642623434481</updated>
1129
+ </task>
1130
+ <task id="LOCAL-00962" summary="Fixed docs">
1131
+ <created>1642623552327</created>
1132
+ <option name="number" value="00962" />
1133
+ <option name="presentableId" value="LOCAL-00962" />
1134
+ <option name="project" value="LOCAL" />
1135
+ <updated>1642623552327</updated>
1136
+ </task>
1137
+ <task id="LOCAL-00963" summary="Fixed docs">
1138
+ <created>1642623652340</created>
1139
+ <option name="number" value="00963" />
1140
+ <option name="presentableId" value="LOCAL-00963" />
1141
+ <option name="project" value="LOCAL" />
1142
+ <updated>1642623652340</updated>
1143
+ </task>
1144
+ <option name="localTasksCounter" value="964" />
1116
1145
  <servers />
1117
1146
  </component>
1118
1147
  <component name="TypeScriptGeneratedFilesManager">
@@ -1252,11 +1281,6 @@
1252
1281
  </component>
1253
1282
  <component name="VcsManagerConfiguration">
1254
1283
  <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
1255
- <MESSAGE value="Fix docs" />
1256
- <MESSAGE value="Small focus refactoring" />
1257
- <MESSAGE value="Fixed tests" />
1258
- <MESSAGE value="Added documentation for `plugin/source` module" />
1259
- <MESSAGE value="Fixed documentation" />
1260
1284
  <MESSAGE value="Added build documentation action" />
1261
1285
  <MESSAGE value="Fixed doc hook" />
1262
1286
  <MESSAGE value="Fixed docs link" />
@@ -1273,11 +1297,16 @@
1273
1297
  <MESSAGE value="Fixed test for https://github.com/xdan/jodit/pull/772" />
1274
1298
  <MESSAGE value="Added `monospace` button in format list" />
1275
1299
  <MESSAGE value="Added `monospace` button in format list&#10;Issue: https://github.com/xdan/jodit/issues/767" />
1276
- <MESSAGE value="Fixed docs" />
1277
1300
  <MESSAGE value="Remove link to CHANGELOG" />
1278
1301
  <MESSAGE value="Added `memorizeChoiceWhenPasteFragment` option" />
1279
1302
  <MESSAGE value="Added TODO" />
1280
- <option name="LAST_COMMIT_MESSAGE" value="Added TODO" />
1303
+ <MESSAGE value="Added test for memorizeChoiceWhenPasteFragment" />
1304
+ <MESSAGE value="Fixed work in ie11" />
1305
+ <MESSAGE value="Added new option `safeMode`" />
1306
+ <MESSAGE value="Removed relative paths" />
1307
+ <MESSAGE value="Replace relative paths to absolute" />
1308
+ <MESSAGE value="Fixed docs" />
1309
+ <option name="LAST_COMMIT_MESSAGE" value="Fixed docs" />
1281
1310
  </component>
1282
1311
  <component name="XDebuggerManager">
1283
1312
  <breakpoint-manager>
@@ -1349,7 +1378,7 @@
1349
1378
  </line-breakpoint>
1350
1379
  <line-breakpoint enabled="true" type="javascript">
1351
1380
  <url>file://$PROJECT_DIR$/src/plugins/keyboard/backspace/cases/check-remove-char.ts</url>
1352
- <line>183</line>
1381
+ <line>186</line>
1353
1382
  <option name="timeStamp" value="53" />
1354
1383
  </line-breakpoint>
1355
1384
  </breakpoints>
package/CHANGELOG.MD CHANGED
@@ -9,24 +9,43 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 3.12.5
13
+
14
+ #### :rocket: New Feature
15
+
16
+ - Added options `safeMode:boolean` and `safePluginsList:string[]` for debugging
17
+
18
+ ```js
19
+ Jodit.make('#editor', {
20
+ safeMode: true,
21
+ safePluginsList: ['about']
22
+ });
23
+ ```
24
+
25
+ Only one plugin will be activated. Convenient for debugging and your plugins, you can turn off all the others.
26
+
27
+ #### :bug: Bug Fix
28
+
29
+ - Fixed a bug due to which Jodit did not work in ie11, + added a polyfill for the iterator
30
+
12
31
  ## 3.12.3
13
32
 
14
- * [Fixed Full Screen showing elements not part of editable content #763](Issue: https://github.com/xdan/jodit/issues/763)
33
+ - [Fixed Full Screen showing elements not part of editable content #763](Issue: https://github.com/xdan/jodit/issues/763)
15
34
 
16
35
  #### :rocket: New Feature
17
36
 
18
- * Added `monospace` button in format list https://github.com/xdan/jodit/issues/767
19
- * In plugin `paste` added `memorizeChoiceWhenPasteFragment` option: when the user inserts a piece of HTML, the plugin will ask - How to insert it.
20
- If after that user insert the same fragment again, the previous option will be used without extra question.
37
+ - Added `monospace` button in format list https://github.com/xdan/jodit/issues/767
38
+ - In plugin `paste` added `memorizeChoiceWhenPasteFragment` option: when the user inserts a piece of HTML, the plugin will ask - How to insert it.
39
+ If after that user insert the same fragment again, the previous option will be used without extra question.
21
40
 
22
41
  > memorizeChoiceWhenPasteFragment = false, by default, it is Breaking change
23
42
 
24
-
25
43
  ## 3.12.1
26
44
 
27
45
  #### :boom: Breaking Change
28
46
 
29
- * `ObserveObject` renamed to `ObservableObject`
47
+ - `ObserveObject` renamed to `ObservableObject`
48
+
30
49
  ```js
31
50
  const obj = { a: 1, b: 2 };
32
51
  const observed = Jodit.modules.ObservableObject.create(obj);
@@ -34,15 +53,16 @@ const observed = Jodit.modules.ObservableObject.create(obj);
34
53
  observed.on('change', (oldV, newV) => console.log(oldV, newV));
35
54
  observed.a = 5;
36
55
  ```
37
- * [Replace additional newlines by HTML line breaks. #770](https://github.com/xdan/jodit/pull/770)
56
+
57
+ - [Replace additional newlines by HTML line breaks. #770](https://github.com/xdan/jodit/pull/770)
38
58
 
39
59
  #### :bug: Bug Fix
40
60
 
41
- * [New lines are removed when pasting plain text in the jodit editor #755](https://github.com/xdan/jodit/issues/755)
61
+ - [New lines are removed when pasting plain text in the jodit editor #755](https://github.com/xdan/jodit/issues/755)
42
62
 
43
63
  #### :rocket: New Feature
44
64
 
45
- * In addition to the preinstalled editors, the source plugin adds the ability to use its own implementation. You can read more in the [documentation](https://xdsoft.net/jodit/docs/modules/plugins_source.html)
65
+ - In addition to the preinstalled editors, the source plugin adds the ability to use its own implementation. You can read more in the [documentation](https://xdsoft.net/jodit/docs/modules/plugins_source.html)
46
66
 
47
67
  ## 3.11.2
48
68
 
@@ -973,11 +993,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
973
993
  - @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
974
994
  modeClassName="select")
975
995
  - ex: [
976
- - { value: "", text: "" },
977
- - { value: "val1", text: "text1" },
978
- - { value: "val2", text: "text2" },
979
- - { value: "val3", text: "text3" }
980
- - ]
996
+ - { value: "", text: "" },
997
+ - { value: "val1", text: "text1" },
998
+ - { value: "val2", text: "text2" },
999
+ - { value: "val3", text: "text3" }
1000
+ - ]
981
1001
  PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
982
1002
 
983
1003
  ##### New option `statusbar: boolean = true`
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.12.4
4
+ * Version: v3.12.5
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.12.4
11
+ * Version: v3.12.5
12
12
  * Url: https://xdsoft.net/jodit/
13
13
  * License(s): MIT
14
14
  */
@@ -1741,6 +1741,44 @@ svg.jodit-icon {
1741
1741
  outline: 1px dashed #bd2130;
1742
1742
  }
1743
1743
 
1744
+ .jodit-ui-button-group {
1745
+ margin-bottom: 8px;
1746
+ }
1747
+ .jodit-ui-button-group__label {
1748
+ display: block;
1749
+ margin-bottom: calc(8px / 4);
1750
+ color: #a5a5a5;
1751
+ font-size: 0.8em;
1752
+ }
1753
+ .jodit-ui-button-group__options {
1754
+ display: -webkit-box;
1755
+ display: -ms-flexbox;
1756
+ display: flex;
1757
+ -webkit-box-pack: start;
1758
+ -ms-flex-pack: start;
1759
+ justify-content: flex-start;
1760
+ }
1761
+ .jodit-ui-button-group .jodit-ui-button:not(:last-child) {
1762
+ border-bottom-right-radius: 0;
1763
+ border-top-right-radius: 0;
1764
+ }
1765
+ .jodit-ui-button-group .jodit-ui-button + .jodit-ui-button {
1766
+ border-left: 1px solid rgba(220, 220, 220, 0.4);
1767
+ border-bottom-left-radius: 0;
1768
+ border-top-left-radius: 0;
1769
+ }
1770
+ .jodit-ui-button-group .jodit-ui-button[aria-pressed='true']:not([disabled]) {
1771
+ border-left: 0;
1772
+ background-color: #dcdcdc;
1773
+ -webkit-box-shadow: inset 0 0 3px 0 #4c4c4c;
1774
+ box-shadow: inset 0 0 3px 0 #4c4c4c;
1775
+ color: #4c4c4c;
1776
+ outline: 0;
1777
+ }
1778
+ .jodit-ui-button-group .jodit-ui-button[aria-pressed='true']:not([disabled]) + .jodit-ui-button {
1779
+ border: 0;
1780
+ }
1781
+
1744
1782
  /*!
1745
1783
  * Jodit Editor (https://xdsoft.net/jodit/)
1746
1784
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -1836,44 +1874,6 @@ svg.jodit-icon {
1836
1874
  flex: 1;
1837
1875
  }
1838
1876
 
1839
- .jodit-ui-button-group {
1840
- margin-bottom: 8px;
1841
- }
1842
- .jodit-ui-button-group__label {
1843
- display: block;
1844
- margin-bottom: calc(8px / 4);
1845
- color: #a5a5a5;
1846
- font-size: 0.8em;
1847
- }
1848
- .jodit-ui-button-group__options {
1849
- display: -webkit-box;
1850
- display: -ms-flexbox;
1851
- display: flex;
1852
- -webkit-box-pack: start;
1853
- -ms-flex-pack: start;
1854
- justify-content: flex-start;
1855
- }
1856
- .jodit-ui-button-group .jodit-ui-button:not(:last-child) {
1857
- border-bottom-right-radius: 0;
1858
- border-top-right-radius: 0;
1859
- }
1860
- .jodit-ui-button-group .jodit-ui-button + .jodit-ui-button {
1861
- border-left: 1px solid rgba(220, 220, 220, 0.4);
1862
- border-bottom-left-radius: 0;
1863
- border-top-left-radius: 0;
1864
- }
1865
- .jodit-ui-button-group .jodit-ui-button[aria-pressed='true']:not([disabled]) {
1866
- border-left: 0;
1867
- background-color: #dcdcdc;
1868
- -webkit-box-shadow: inset 0 0 3px 0 #4c4c4c;
1869
- box-shadow: inset 0 0 3px 0 #4c4c4c;
1870
- color: #4c4c4c;
1871
- outline: 0;
1872
- }
1873
- .jodit-ui-button-group .jodit-ui-button[aria-pressed='true']:not([disabled]) + .jodit-ui-button {
1874
- border: 0;
1875
- }
1876
-
1877
1877
  /*!
1878
1878
  * Jodit Editor (https://xdsoft.net/jodit/)
1879
1879
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -4365,7 +4365,6 @@ svg.jodit-icon {
4365
4365
  content: '';
4366
4366
  vertical-align: middle;
4367
4367
  }
4368
-
4369
4368
  .jodit-filebrowser-tree {
4370
4369
  position: relative;
4371
4370
  display: none;
@@ -4460,7 +4459,7 @@ svg.jodit-icon {
4460
4459
  justify-content: space-between;
4461
4460
  padding: calc(8px / 2) 8px;
4462
4461
  border-bottom: 1px solid #474747;
4463
- color: undefined;
4462
+ color: #b1b1b1;
4464
4463
  text-decoration: none;
4465
4464
  -webkit-transition: background-color 0.2s ease 0s;
4466
4465
  -o-transition: background-color 0.2s ease 0s;
@@ -4471,6 +4470,7 @@ svg.jodit-icon {
4471
4470
  -webkit-box-flex: 1;
4472
4471
  -ms-flex: 1;
4473
4472
  flex: 1;
4473
+ color: #b1b1b1;
4474
4474
  }
4475
4475
  .jodit-filebrowser-tree__item .jodit-icon_folder {
4476
4476
  display: -webkit-box;
@@ -4490,15 +4490,17 @@ svg.jodit-icon {
4490
4490
  .jodit-filebrowser-tree__item .jodit-icon_folder svg {
4491
4491
  width: 12px;
4492
4492
  height: 12px;
4493
- fill: undefined !important;
4494
- stroke: undefined !important;
4493
+ fill: #b1b1b1 !important;
4494
+ stroke: #b1b1b1 !important;
4495
4495
  }
4496
4496
  .jodit-filebrowser-tree__item .jodit-icon_folder:hover {
4497
4497
  background: #696969;
4498
4498
  }
4499
4499
  .jodit-filebrowser-tree__item:hover {
4500
4500
  background-color: #ecebe9;
4501
- color: #222;
4501
+ }
4502
+ .jodit-filebrowser-tree__item:hover-title {
4503
+ color: #222222;
4502
4504
  }
4503
4505
  .jodit-filebrowser-tree__item:hover i.jodit-icon_folder {
4504
4506
  opacity: 0.6;
@@ -1,7 +1,7 @@
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.12.4
4
+ * Version: v3.12.5
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1447,6 +1447,39 @@ svg.jodit-icon {
1447
1447
  outline: 1px dashed #bd2130;
1448
1448
  }
1449
1449
 
1450
+ .jodit-ui-button-group {
1451
+ margin-bottom: var(--jd-padding-default);
1452
+ }
1453
+ .jodit-ui-button-group__label {
1454
+ display: block;
1455
+ margin-bottom: calc(var(--jd-padding-default) / 4);
1456
+ color: var(--jd-color-label);
1457
+ font-size: 0.8em;
1458
+ }
1459
+ .jodit-ui-button-group__options {
1460
+ display: flex;
1461
+ justify-content: flex-start;
1462
+ }
1463
+ .jodit-ui-button-group .jodit-ui-button:not(:last-child) {
1464
+ border-bottom-right-radius: 0;
1465
+ border-top-right-radius: 0;
1466
+ }
1467
+ .jodit-ui-button-group .jodit-ui-button + .jodit-ui-button {
1468
+ border-left: 1px solid var(--jd-color-button-background-hover_opacity40);
1469
+ border-bottom-left-radius: 0;
1470
+ border-top-left-radius: 0;
1471
+ }
1472
+ .jodit-ui-button-group .jodit-ui-button[aria-pressed='true']:not([disabled]) {
1473
+ border-left: 0;
1474
+ background-color: var(--jd-color-button-background-hover);
1475
+ box-shadow: inset 0 0 3px 0 var(--jd-color-dark);
1476
+ color: var(--jd-color-dark);
1477
+ outline: 0;
1478
+ }
1479
+ .jodit-ui-button-group .jodit-ui-button[aria-pressed='true']:not([disabled]) + .jodit-ui-button {
1480
+ border: 0;
1481
+ }
1482
+
1450
1483
  /*!
1451
1484
  * Jodit Editor (https://xdsoft.net/jodit/)
1452
1485
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -1519,39 +1552,6 @@ svg.jodit-icon {
1519
1552
  flex: 1;
1520
1553
  }
1521
1554
 
1522
- .jodit-ui-button-group {
1523
- margin-bottom: var(--jd-padding-default);
1524
- }
1525
- .jodit-ui-button-group__label {
1526
- display: block;
1527
- margin-bottom: calc(var(--jd-padding-default) / 4);
1528
- color: var(--jd-color-label);
1529
- font-size: 0.8em;
1530
- }
1531
- .jodit-ui-button-group__options {
1532
- display: flex;
1533
- justify-content: flex-start;
1534
- }
1535
- .jodit-ui-button-group .jodit-ui-button:not(:last-child) {
1536
- border-bottom-right-radius: 0;
1537
- border-top-right-radius: 0;
1538
- }
1539
- .jodit-ui-button-group .jodit-ui-button + .jodit-ui-button {
1540
- border-left: 1px solid var(--jd-color-button-background-hover_opacity40);
1541
- border-bottom-left-radius: 0;
1542
- border-top-left-radius: 0;
1543
- }
1544
- .jodit-ui-button-group .jodit-ui-button[aria-pressed='true']:not([disabled]) {
1545
- border-left: 0;
1546
- background-color: var(--jd-color-button-background-hover);
1547
- box-shadow: inset 0 0 3px 0 var(--jd-color-dark);
1548
- color: var(--jd-color-dark);
1549
- outline: 0;
1550
- }
1551
- .jodit-ui-button-group .jodit-ui-button[aria-pressed='true']:not([disabled]) + .jodit-ui-button {
1552
- border: 0;
1553
- }
1554
-
1555
1555
  /*!
1556
1556
  * Jodit Editor (https://xdsoft.net/jodit/)
1557
1557
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -3576,6 +3576,9 @@ svg.jodit-icon {
3576
3576
  vertical-align: middle;
3577
3577
  }
3578
3578
 
3579
+ :root {
3580
+ --jd-color-folder-title: #b1b1b1;
3581
+ }
3579
3582
  .jodit-filebrowser-tree {
3580
3583
  position: relative;
3581
3584
  display: none;
@@ -3632,7 +3635,6 @@ svg.jodit-icon {
3632
3635
  flex-direction: column;
3633
3636
  background-color: var(--jd-color-background-filebrowser-folders);
3634
3637
  overflow-y: auto;
3635
- --jd-text-color: #b1b1b1;
3636
3638
  }
3637
3639
  @media (max-width: 480px) {
3638
3640
  .jodit-filebrowser-tree_active_true {
@@ -3659,13 +3661,14 @@ svg.jodit-icon {
3659
3661
  justify-content: space-between;
3660
3662
  padding: calc(var(--jd-padding-default) / 2) var(--jd-padding-default);
3661
3663
  border-bottom: 1px solid #474747;
3662
- color: var(--jd-text-color);
3664
+ color: var(--jd-color-folder-title);
3663
3665
  text-decoration: none;
3664
3666
  transition: background-color 0.2s ease 0s;
3665
3667
  word-break: break-all;
3666
3668
  }
3667
3669
  .jodit-filebrowser-tree__item-title {
3668
3670
  flex: 1;
3671
+ color: var(--jd-color-folder-title);
3669
3672
  }
3670
3673
  .jodit-filebrowser-tree__item .jodit-icon_folder {
3671
3674
  display: flex;
@@ -3679,15 +3682,17 @@ svg.jodit-icon {
3679
3682
  .jodit-filebrowser-tree__item .jodit-icon_folder svg {
3680
3683
  width: var(--jd-icon-size);
3681
3684
  height: var(--jd-icon-size);
3682
- fill: var(--jd-text-color) !important;
3683
- stroke: var(--jd-text-color) !important;
3685
+ fill: var(--jd-color-folder-title) !important;
3686
+ stroke: var(--jd-color-folder-title) !important;
3684
3687
  }
3685
3688
  .jodit-filebrowser-tree__item .jodit-icon_folder:hover {
3686
3689
  background: #696969;
3687
3690
  }
3688
3691
  .jodit-filebrowser-tree__item:hover {
3689
3692
  background-color: var(--jd-color-background-button-hover);
3690
- color: #222;
3693
+ }
3694
+ .jodit-filebrowser-tree__item:hover-title {
3695
+ color: var(--jd-color-text);
3691
3696
  }
3692
3697
  .jodit-filebrowser-tree__item:hover i.jodit-icon_folder {
3693
3698
  opacity: 0.6;