jodit 4.20.0 → 4.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/es2015/jodit.css +68 -9
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +11 -11
  5. package/es2015/jodit.js +238 -54
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +8 -8
  8. package/es2015/plugins/debug/debug.css +1 -1
  9. package/es2015/plugins/debug/debug.js +1 -1
  10. package/es2015/plugins/debug/debug.min.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  12. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  13. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  14. package/es2018/jodit.fat.min.css +1 -1
  15. package/es2018/jodit.fat.min.js +11 -11
  16. package/es2018/jodit.min.css +1 -1
  17. package/es2018/jodit.min.js +8 -8
  18. package/es2018/plugins/debug/debug.min.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  20. package/es2021/jodit.css +68 -9
  21. package/es2021/jodit.fat.min.css +1 -1
  22. package/es2021/jodit.fat.min.js +12 -12
  23. package/es2021/jodit.js +234 -54
  24. package/es2021/jodit.min.css +1 -1
  25. package/es2021/jodit.min.js +8 -8
  26. package/es2021/plugins/debug/debug.css +1 -1
  27. package/es2021/plugins/debug/debug.js +1 -1
  28. package/es2021/plugins/debug/debug.min.js +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  31. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  32. package/es2021.en/jodit.css +68 -9
  33. package/es2021.en/jodit.fat.min.css +1 -1
  34. package/es2021.en/jodit.fat.min.js +19 -19
  35. package/es2021.en/jodit.js +234 -54
  36. package/es2021.en/jodit.min.css +1 -1
  37. package/es2021.en/jodit.min.js +19 -19
  38. package/es2021.en/plugins/debug/debug.css +1 -1
  39. package/es2021.en/plugins/debug/debug.js +1 -1
  40. package/es2021.en/plugins/debug/debug.min.js +1 -1
  41. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  42. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  43. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  44. package/es5/jodit.css +45 -2
  45. package/es5/jodit.fat.min.css +1 -1
  46. package/es5/jodit.fat.min.js +2 -2
  47. package/es5/jodit.js +285 -56
  48. package/es5/jodit.min.css +3 -3
  49. package/es5/jodit.min.js +2 -2
  50. package/es5/plugins/debug/debug.css +1 -1
  51. package/es5/plugins/debug/debug.js +1 -1
  52. package/es5/plugins/debug/debug.min.js +1 -1
  53. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  56. package/es5/polyfills.fat.min.js +1 -1
  57. package/es5/polyfills.js +1 -1
  58. package/es5/polyfills.min.js +1 -1
  59. package/esm/core/constants.js +1 -1
  60. package/esm/core/ui/form/inputs/input/input.js +2 -0
  61. package/esm/modules/toolbar/button/button.d.ts +10 -0
  62. package/esm/modules/toolbar/button/button.js +19 -2
  63. package/esm/modules/toolbar/button/select/select.d.ts +6 -0
  64. package/esm/modules/toolbar/button/select/select.js +18 -0
  65. package/esm/modules/widget/color-picker/color-picker.js +76 -18
  66. package/esm/plugins/anchor/anchor.d.ts +11 -0
  67. package/esm/plugins/anchor/anchor.js +84 -8
  68. package/esm/plugins/fullsize/config.js +2 -0
  69. package/esm/plugins/hr/hr.js +0 -1
  70. package/esm/plugins/line-height/config.js +0 -1
  71. package/esm/plugins/link/template.js +3 -1
  72. package/esm/plugins/resizer/resizer.d.ts +6 -0
  73. package/esm/plugins/resizer/resizer.js +11 -0
  74. package/esm/types/toolbar.d.ts +2 -0
  75. package/package.json +1 -1
  76. package/types/modules/toolbar/button/button.d.ts +10 -0
  77. package/types/modules/toolbar/button/select/select.d.ts +6 -0
  78. package/types/plugins/anchor/anchor.d.ts +11 -0
  79. package/types/plugins/resizer/resizer.d.ts +6 -0
  80. package/types/types/toolbar.d.ts +2 -0
@@ -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.20.0
4
+ * Version: v4.20.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.20.0
4
+ * Version: v4.20.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.20.0
4
+ * Version: v4.20.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.20.0
4
+ * Version: v4.20.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.20.0
4
+ * Version: v4.20.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.20.0
4
+ * Version: v4.20.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
package/es5/jodit.css CHANGED
@@ -1,14 +1,14 @@
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.20.0
4
+ * Version: v4.20.2
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
8
8
  /*!
9
9
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
10
10
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
11
- * Version: v4.20.0
11
+ * Version: v4.20.2
12
12
  * Url: https://xdsoft.net/jodit/
13
13
  * License(s): MIT
14
14
  */
@@ -3208,6 +3208,13 @@ a + .jodit-file-browser-tree__source-title {
3208
3208
  .jodit-toolbar-button_variant_danger:focus:not([disabled]) {
3209
3209
  outline: 1px dashed #bd2130;
3210
3210
  }
3211
+ .jodit-toolbar-button_activated_true .jodit-toolbar-button__button:not([disabled]) {
3212
+ background-color: rgba(220, 220, 220, 0.4);
3213
+ outline: 0;
3214
+ }
3215
+ .jodit-toolbar-button_activated_true .jodit-toolbar-button__button:hover:not([disabled]) {
3216
+ background-color: rgba(220, 220, 220, 0.6);
3217
+ }
3211
3218
  .jodit-toolbar-button__button {
3212
3219
  cursor: pointer;
3213
3220
  position: relative;
@@ -4043,6 +4050,13 @@ a + .jodit-file-browser-tree__source-title {
4043
4050
  .jodit-toolbar-select_variant_danger:focus:not([disabled]) {
4044
4051
  outline: 1px dashed #bd2130;
4045
4052
  }
4053
+ .jodit-toolbar-select_activated_true .jodit-toolbar-select__button:not([disabled]) {
4054
+ background-color: rgba(220, 220, 220, 0.4);
4055
+ outline: 0;
4056
+ }
4057
+ .jodit-toolbar-select_activated_true .jodit-toolbar-select__button:hover:not([disabled]) {
4058
+ background-color: rgba(220, 220, 220, 0.6);
4059
+ }
4046
4060
  .jodit-toolbar-select__button {
4047
4061
  cursor: pointer;
4048
4062
  position: relative;
@@ -4216,6 +4230,13 @@ a + .jodit-file-browser-tree__source-title {
4216
4230
  opacity: 0.3;
4217
4231
  pointer-events: none;
4218
4232
  }
4233
+ .jodit-toolbar-select_activated_true:not([disabled]) {
4234
+ background-color: rgba(220, 220, 220, 0.4);
4235
+ outline: 0;
4236
+ }
4237
+ .jodit-toolbar-select_activated_true:hover:not([disabled]) {
4238
+ background-color: rgba(220, 220, 220, 0.6);
4239
+ }
4219
4240
  .jodit-toolbar-select__text:not(:empty) {
4220
4241
  display: block;
4221
4242
  text-align: start;
@@ -4550,7 +4571,11 @@ a + .jodit-file-browser-tree__source-title {
4550
4571
  display: block;
4551
4572
  width: 24px;
4552
4573
  height: 24px;
4574
+ padding: 0;
4553
4575
  border: 1px solid transparent;
4576
+ -webkit-appearance: none;
4577
+ -moz-appearance: none;
4578
+ appearance: none;
4554
4579
  text-align: center;
4555
4580
  text-decoration: none;
4556
4581
  vertical-align: middle;
@@ -4589,7 +4614,13 @@ a + .jodit-file-browser-tree__source-title {
4589
4614
  padding: 2px;
4590
4615
  margin-left: auto;
4591
4616
  border: 1px solid transparent;
4617
+ -webkit-appearance: none;
4618
+ -moz-appearance: none;
4619
+ appearance: none;
4620
+ background: none;
4621
+ color: inherit;
4592
4622
  cursor: pointer;
4623
+ font: inherit;
4593
4624
  }
4594
4625
  .jodit-color-picker__remove:hover {
4595
4626
  border-color: #222;
@@ -4598,6 +4629,18 @@ a + .jodit-file-browser-tree__source-title {
4598
4629
  width: 16px;
4599
4630
  height: 16px;
4600
4631
  }
4632
+ .jodit-color-picker__color-item:focus-visible {
4633
+ position: relative;
4634
+ z-index: 1;
4635
+ outline: 2px solid #222;
4636
+ outline-offset: 1px;
4637
+ }
4638
+ .jodit-color-picker__remove:focus-visible {
4639
+ position: relative;
4640
+ z-index: 1;
4641
+ outline: 2px solid #222;
4642
+ outline-offset: 1px;
4643
+ }
4601
4644
  .jodit-color-picker__hex input {
4602
4645
  width: 80px;
4603
4646
  padding: 2px 4px;