jodit 4.17.6 → 4.18.0
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 +10 -0
- package/es2015/jodit.css +87 -3
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +8 -8
- package/es2015/jodit.js +789 -130
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +16 -16
- 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 +8 -8
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +8 -8
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +87 -3
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +14 -14
- package/es2021/jodit.js +769 -130
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +14 -14
- 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 +87 -3
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +12 -12
- package/es2021.en/jodit.js +769 -130
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +12 -12
- 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 +92 -6
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +1054 -190
- 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 +65 -2
- package/esm/config.js +29 -2
- package/esm/core/constants.js +1 -1
- package/esm/core/helpers/utils/align.d.ts +11 -5
- package/esm/core/helpers/utils/align.js +28 -8
- package/esm/core/helpers/utils/index.d.ts +1 -0
- package/esm/core/helpers/utils/index.js +1 -0
- package/esm/core/helpers/utils/media-wrapper.d.ts +29 -0
- package/esm/core/helpers/utils/media-wrapper.js +63 -0
- package/esm/core/selection/selection.js +3 -3
- package/esm/modules/toolbar/button/button.d.ts +18 -0
- package/esm/modules/toolbar/button/button.js +75 -5
- package/esm/plugins/font/config.d.ts +12 -0
- package/esm/plugins/font/config.js +25 -10
- package/esm/plugins/font/font-picker.d.ts +51 -0
- package/esm/plugins/font/font-picker.js +238 -0
- package/esm/plugins/font/font.js +12 -0
- package/esm/plugins/font/google-fonts.d.ts +65 -0
- package/esm/plugins/font/google-fonts.js +143 -0
- package/esm/plugins/image-properties/readers/index.js +2 -1
- package/esm/plugins/image-properties/writers/index.js +2 -2
- package/esm/plugins/inline-popup/config/items/img.js +10 -8
- package/esm/plugins/inline-popup/inline-popup.js +13 -6
- package/esm/plugins/media/config.d.ts +26 -1
- package/esm/plugins/media/config.js +1 -3
- package/esm/plugins/media/media.js +12 -4
- package/esm/plugins/video/config.js +24 -4
- package/esm/types/toolbar.d.ts +2 -0
- package/esm/types/types.d.ts +13 -1
- package/package.json +1 -1
- package/types/config.d.ts +65 -2
- package/types/core/helpers/utils/align.d.ts +11 -5
- package/types/core/helpers/utils/index.d.ts +1 -0
- package/types/core/helpers/utils/media-wrapper.d.ts +29 -0
- package/types/modules/toolbar/button/button.d.ts +18 -0
- package/types/plugins/font/config.d.ts +12 -0
- package/types/plugins/font/font-picker.d.ts +51 -0
- package/types/plugins/font/google-fonts.d.ts +65 -0
- package/types/plugins/media/config.d.ts +26 -1
- package/types/types/toolbar.d.ts +2 -0
- package/types/types/types.d.ts +13 -1
package/es2021.en/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.
|
|
4
|
+
* Version: v4.18.0
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -3169,6 +3169,7 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
3169
3169
|
.jodit-toolbar-select {
|
|
3170
3170
|
--jd-color-button-background-hover-opacity40: rgba(220, 220, 220, 0.2);
|
|
3171
3171
|
--jd-color-button-background-hover-opacity60: rgba(220, 220, 220, 0.1);
|
|
3172
|
+
--jd-toolbar-select-own-width: var(--jd-toolbar-select-width);
|
|
3172
3173
|
display: flex;
|
|
3173
3174
|
overflow: hidden;
|
|
3174
3175
|
align-items: center;
|
|
@@ -3179,7 +3180,8 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
3179
3180
|
height: 34px;
|
|
3180
3181
|
justify-content: space-between;
|
|
3181
3182
|
cursor: pointer;
|
|
3182
|
-
min-width: 100px;
|
|
3183
|
+
min-width: var(--jd-toolbar-select-own-width, 100px);
|
|
3184
|
+
max-width: var(--jd-toolbar-select-own-width, none);
|
|
3183
3185
|
}
|
|
3184
3186
|
.jodit-toolbar-select__icon {
|
|
3185
3187
|
display: none;
|
|
@@ -3593,11 +3595,23 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
3593
3595
|
opacity: 0.3;
|
|
3594
3596
|
pointer-events: none;
|
|
3595
3597
|
}
|
|
3598
|
+
.jodit-toolbar-select_font {
|
|
3599
|
+
--jd-toolbar-select-own-width: var(--jd-toolbar-select-font-width, var(--jd-toolbar-select-width));
|
|
3600
|
+
}
|
|
3601
|
+
.jodit-toolbar-select_fontsize {
|
|
3602
|
+
--jd-toolbar-select-own-width: var(--jd-toolbar-select-fontsize-width, var(--jd-toolbar-select-width));
|
|
3603
|
+
}
|
|
3604
|
+
.jodit-toolbar-select_paragraph {
|
|
3605
|
+
--jd-toolbar-select-own-width: var(--jd-toolbar-select-paragraph-width, var(--jd-toolbar-select-width));
|
|
3606
|
+
}
|
|
3596
3607
|
.jodit-toolbar-select__text:not(:empty) {
|
|
3597
|
-
|
|
3608
|
+
display: block;
|
|
3609
|
+
text-align: start;
|
|
3610
|
+
white-space: nowrap;
|
|
3598
3611
|
}
|
|
3599
3612
|
.jodit-toolbar-select__button {
|
|
3600
3613
|
flex: 1;
|
|
3614
|
+
min-width: 0;
|
|
3601
3615
|
}
|
|
3602
3616
|
|
|
3603
3617
|
/*!
|
|
@@ -4026,6 +4040,76 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
4026
4040
|
fill: var(--jd-color-text-icons);
|
|
4027
4041
|
}
|
|
4028
4042
|
|
|
4043
|
+
/*!
|
|
4044
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
4045
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4046
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
4047
|
+
*/
|
|
4048
|
+
.jodit-ui-font-picker {
|
|
4049
|
+
width: 240px;
|
|
4050
|
+
}
|
|
4051
|
+
.jodit-ui-font-picker__group + .jodit-ui-font-picker__group {
|
|
4052
|
+
margin-top: var(--jd-padding-default);
|
|
4053
|
+
}
|
|
4054
|
+
.jodit-ui-font-picker__heading {
|
|
4055
|
+
padding: var(--jd-padding-default) var(--jd-padding-default) calc(var(--jd-padding-default) / 4);
|
|
4056
|
+
color: var(--jd-color-label);
|
|
4057
|
+
font-size: var(--jd-font-size-small);
|
|
4058
|
+
line-height: 1;
|
|
4059
|
+
text-transform: uppercase;
|
|
4060
|
+
}
|
|
4061
|
+
.jodit-ui-font-picker__item {
|
|
4062
|
+
position: relative;
|
|
4063
|
+
box-sizing: border-box;
|
|
4064
|
+
padding: 0;
|
|
4065
|
+
border: 0;
|
|
4066
|
+
appearance: none;
|
|
4067
|
+
background: 0 0;
|
|
4068
|
+
box-shadow: none;
|
|
4069
|
+
font-style: normal;
|
|
4070
|
+
outline: 0;
|
|
4071
|
+
text-align: center;
|
|
4072
|
+
text-decoration: none;
|
|
4073
|
+
text-transform: none;
|
|
4074
|
+
user-select: none;
|
|
4075
|
+
cursor: pointer;
|
|
4076
|
+
font-family: var(--jd-font-default);
|
|
4077
|
+
font-size: var(--jd-font-size-default);
|
|
4078
|
+
display: block;
|
|
4079
|
+
overflow: hidden;
|
|
4080
|
+
width: 100%;
|
|
4081
|
+
min-height: var(--jd-button-size);
|
|
4082
|
+
padding: 0 var(--jd-padding-default);
|
|
4083
|
+
margin: var(--jd-margin-v) 0;
|
|
4084
|
+
border-radius: var(--jd-border-radius-default);
|
|
4085
|
+
color: var(--jd-color-text);
|
|
4086
|
+
text-align: start;
|
|
4087
|
+
text-overflow: ellipsis;
|
|
4088
|
+
white-space: nowrap;
|
|
4089
|
+
}
|
|
4090
|
+
.jodit-ui-font-picker__item:hover:not([disabled]),
|
|
4091
|
+
.jodit-ui-font-picker__item:focus-visible:not([disabled]) {
|
|
4092
|
+
background-color: var(--jd-color-button-background-hover);
|
|
4093
|
+
opacity: 1;
|
|
4094
|
+
outline: 0;
|
|
4095
|
+
}
|
|
4096
|
+
.jodit-ui-font-picker__item:active:not([disabled]),
|
|
4097
|
+
.jodit-ui-font-picker__item[aria-pressed='true']:not([disabled]) {
|
|
4098
|
+
background-color: var(--jd-color-button-background-hover-opacity40);
|
|
4099
|
+
outline: 0;
|
|
4100
|
+
}
|
|
4101
|
+
.jodit-ui-font-picker__item[aria-pressed='true']:hover:not([disabled]) {
|
|
4102
|
+
background-color: var(--jd-color-button-background-hover-opacity60);
|
|
4103
|
+
}
|
|
4104
|
+
.jodit-ui-font-picker__item[disabled] {
|
|
4105
|
+
opacity: 0.3;
|
|
4106
|
+
pointer-events: none;
|
|
4107
|
+
}
|
|
4108
|
+
.jodit-ui-font-picker__item:focus:not([disabled]) {
|
|
4109
|
+
background-color: var(--jd-color-button-background-hover);
|
|
4110
|
+
outline: 0;
|
|
4111
|
+
}
|
|
4112
|
+
|
|
4029
4113
|
/*!
|
|
4030
4114
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
4031
4115
|
* Released under MIT see LICENSE.txt in the project root for license information.
|