jodit 4.2.7 → 4.2.9

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 (54) hide show
  1. package/CHANGELOG.md +23 -5
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +46 -37
  5. package/es2015/jodit.min.js +2 -2
  6. package/es2015/plugins/debug/debug.js +1 -1
  7. package/es2015/plugins/debug/debug.min.js +1 -1
  8. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  11. package/es2018/jodit.css +1 -1
  12. package/es2018/jodit.fat.min.js +2 -2
  13. package/es2018/jodit.js +46 -37
  14. package/es2018/jodit.min.js +2 -2
  15. package/es2018/plugins/debug/debug.js +1 -1
  16. package/es2018/plugins/debug/debug.min.js +1 -1
  17. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  18. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  20. package/es2021/jodit.css +1 -1
  21. package/es2021/jodit.fat.min.js +2 -2
  22. package/es2021/jodit.js +43 -37
  23. package/es2021/jodit.min.js +2 -2
  24. package/es2021/plugins/debug/debug.js +1 -1
  25. package/es2021/plugins/debug/debug.min.js +1 -1
  26. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  27. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  28. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  29. package/es2021.en/jodit.css +1 -1
  30. package/es2021.en/jodit.fat.min.js +2 -2
  31. package/es2021.en/jodit.js +43 -37
  32. package/es2021.en/jodit.min.js +2 -2
  33. package/es2021.en/plugins/debug/debug.js +1 -1
  34. package/es2021.en/plugins/debug/debug.min.js +1 -1
  35. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  36. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  37. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  38. package/es5/jodit.css +2 -2
  39. package/es5/jodit.fat.min.js +2 -2
  40. package/es5/jodit.js +46 -39
  41. package/es5/jodit.min.css +2 -2
  42. package/es5/jodit.min.js +2 -2
  43. package/es5/plugins/debug/debug.js +1 -1
  44. package/es5/plugins/debug/debug.min.js +1 -1
  45. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  46. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  47. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  48. package/esm/core/constants.js +1 -1
  49. package/esm/core/ui/group/list.js +2 -1
  50. package/esm/plugins/color/config.js +37 -1
  51. package/esm/plugins/inline-popup/config/items/cells.js +1 -31
  52. package/esm/types/toolbar.d.ts +1 -0
  53. package/package.json +1 -1
  54. package/types/types/toolbar.d.ts +1 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,24 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 4.2.8
13
+
14
+ ### :rocket: New Feature
15
+
16
+ - Controls have a new field `isVisible(editor: IJodit): boolean`, which allows you to completely hide the button in some situations.
17
+
18
+ ```typescript
19
+ Jodit.make('#editor', {
20
+ controls: {
21
+ undo: {
22
+ isVisible(editor: IJodit): boolean {
23
+ return editor.history.canUndo();
24
+ }
25
+ }
26
+ }
27
+ });
28
+ ```
29
+
12
30
  ## 4.2.1
13
31
 
14
32
  ### :bug: Bug Fix
@@ -2596,11 +2614,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
2596
2614
  - @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
2597
2615
  modeClassName="select")
2598
2616
  - ex: [
2599
- - { value: "", text: "" },
2600
- - { value: "val1", text: "text1" },
2601
- - { value: "val2", text: "text2" },
2602
- - { value: "val3", text: "text3" }
2603
- - ]
2617
+ - { value: "", text: "" },
2618
+ - { value: "val1", text: "text1" },
2619
+ - { value: "val2", text: "text2" },
2620
+ - { value: "val3", text: "text3" }
2621
+ - ]
2604
2622
  PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
2605
2623
 
2606
2624
  ##### New option `statusbar: boolean = true`
package/es2015/jodit.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.2.7
4
+ * Version: v4.2.9
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */