jodit 4.15.13 → 4.15.14
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.
- package/CHANGELOG.md +15 -0
- package/es2015/jodit.css +21 -3
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +5 -5
- package/es2015/jodit.js +76 -73
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +5 -5
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +5 -5
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +5 -5
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +21 -3
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +5 -5
- package/es2021/jodit.js +76 -73
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +5 -5
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +21 -3
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +5 -5
- package/es2021.en/jodit.js +76 -73
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +5 -5
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +26 -3
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +76 -73
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/config.d.ts +2 -1
- package/esm/config.js +2 -1
- package/esm/core/constants.js +1 -1
- package/esm/modules/widget/color-picker/color-picker.d.ts +1 -1
- package/esm/modules/widget/color-picker/color-picker.js +10 -3
- package/esm/plugins/clean-html/config.js +0 -3
- package/esm/styles/icons/index.d.ts +1 -1
- package/esm/styles/icons/index.js +2 -1
- package/package.json +1 -1
- package/types/config.d.ts +2 -1
- package/types/modules/widget/color-picker/color-picker.d.ts +1 -1
- package/types/styles/icons/index.d.ts +1 -1
- /package/esm/{plugins/clean-html → styles/icons}/eraser.svg.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,21 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 4.15.14
|
|
13
|
+
|
|
14
|
+
#### :rocket: New Feature
|
|
15
|
+
|
|
16
|
+
- [#1488](https://github.com/xdan/jodit/issues/1488) The color picker has a button that removes the text or background color, or a table cell's color. It calls the picker's callback with an empty string. Thanks [@brendon](https://github.com/brendon).
|
|
17
|
+
- [#1491](https://github.com/xdan/jodit/issues/1491) The number of color picker columns can be set with the `--jd-color-picker-columns` CSS variable (10 by default), alongside `--jd-color-picker-cell-size`. Thanks [@brendon](https://github.com/brendon).
|
|
18
|
+
|
|
19
|
+
#### :bug: Bug Fix
|
|
20
|
+
|
|
21
|
+
- [#1487](https://github.com/xdan/jodit/issues/1487) A flat `colors` array now wraps into rows in the color picker, like a named group, instead of putting every color on its own line. Thanks [@brendon](https://github.com/brendon).
|
|
22
|
+
|
|
23
|
+
#### :nail_care: Polish
|
|
24
|
+
|
|
25
|
+
- The hover border of the color picker swatches and of the remove-color button follows the theme text color instead of a hardcoded black, so it is visible in the dark theme too.
|
|
26
|
+
|
|
12
27
|
## 4.15.13
|
|
13
28
|
|
|
14
29
|
#### :rocket: New Feature
|
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.15.
|
|
4
|
+
* Version: v4.15.14
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -3832,6 +3832,7 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
3832
3832
|
*/
|
|
3833
3833
|
:root {
|
|
3834
3834
|
--jd-color-picker-cell-size: 24px;
|
|
3835
|
+
--jd-color-picker-columns: 10;
|
|
3835
3836
|
}
|
|
3836
3837
|
.jodit-color-picker {
|
|
3837
3838
|
margin: 0;
|
|
@@ -3840,7 +3841,7 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
3840
3841
|
}
|
|
3841
3842
|
.jodit-color-picker__group {
|
|
3842
3843
|
display: flex;
|
|
3843
|
-
max-width: calc(var(--jd-color-picker-cell-size) *
|
|
3844
|
+
max-width: calc(var(--jd-color-picker-cell-size) * var(--jd-color-picker-columns));
|
|
3844
3845
|
flex-wrap: wrap;
|
|
3845
3846
|
margin-bottom: calc(var(--jd-padding-default) / 2);
|
|
3846
3847
|
white-space: normal;
|
|
@@ -3855,7 +3856,7 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
3855
3856
|
vertical-align: middle;
|
|
3856
3857
|
}
|
|
3857
3858
|
.jodit-color-picker__color-item:hover {
|
|
3858
|
-
border-color:
|
|
3859
|
+
border-color: var(--jd-color-text);
|
|
3859
3860
|
}
|
|
3860
3861
|
.jodit-color-picker__color-item_active_true,
|
|
3861
3862
|
.jodit-color-picker__color-item:active {
|
|
@@ -3865,6 +3866,23 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
3865
3866
|
display: flex;
|
|
3866
3867
|
align-items: center;
|
|
3867
3868
|
justify-content: space-between;
|
|
3869
|
+
gap: calc(var(--jd-padding-default) / 2);
|
|
3870
|
+
}
|
|
3871
|
+
.jodit-color-picker__remove {
|
|
3872
|
+
display: flex;
|
|
3873
|
+
align-items: center;
|
|
3874
|
+
justify-content: center;
|
|
3875
|
+
padding: 2px;
|
|
3876
|
+
margin-left: auto;
|
|
3877
|
+
border: 1px solid transparent;
|
|
3878
|
+
cursor: pointer;
|
|
3879
|
+
}
|
|
3880
|
+
.jodit-color-picker__remove:hover {
|
|
3881
|
+
border-color: var(--jd-color-text);
|
|
3882
|
+
}
|
|
3883
|
+
.jodit-color-picker__remove svg {
|
|
3884
|
+
width: 16px;
|
|
3885
|
+
height: 16px;
|
|
3868
3886
|
}
|
|
3869
3887
|
.jodit-color-picker__hex input {
|
|
3870
3888
|
width: 80px;
|