jodit 4.17.6 → 4.18.1
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 +17 -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 +808 -132
- 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 +788 -132
- 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 +26 -26
- package/es2021.en/jodit.js +788 -132
- 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 +1073 -192
- 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/dtd/after-insert/remove-extra-br.js +6 -1
- package/esm/plugins/dtd/before-insert/check-block-nesting.js +16 -1
- package/esm/plugins/dtd/config.js +3 -0
- 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/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.
|
|
4
|
+
* Version: v4.18.1
|
|
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.
|
|
11
|
+
* Version: v4.18.1
|
|
12
12
|
* Url: https://xdsoft.net/jodit/
|
|
13
13
|
* License(s): MIT
|
|
14
14
|
*/
|
|
@@ -3728,7 +3728,8 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
3728
3728
|
-ms-flex-pack: justify;
|
|
3729
3729
|
justify-content: space-between;
|
|
3730
3730
|
cursor: pointer;
|
|
3731
|
-
min-width:
|
|
3731
|
+
min-width: undefined;
|
|
3732
|
+
max-width: undefined;
|
|
3732
3733
|
}
|
|
3733
3734
|
.jodit-toolbar-select__icon {
|
|
3734
3735
|
display: none;
|
|
@@ -4198,14 +4199,15 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
4198
4199
|
pointer-events: none;
|
|
4199
4200
|
}
|
|
4200
4201
|
.jodit-toolbar-select__text:not(:empty) {
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4202
|
+
display: block;
|
|
4203
|
+
text-align: start;
|
|
4204
|
+
white-space: nowrap;
|
|
4204
4205
|
}
|
|
4205
4206
|
.jodit-toolbar-select__button {
|
|
4206
4207
|
-webkit-box-flex: 1;
|
|
4207
4208
|
-ms-flex: 1;
|
|
4208
4209
|
flex: 1;
|
|
4210
|
+
min-width: 0;
|
|
4209
4211
|
}
|
|
4210
4212
|
|
|
4211
4213
|
/*!
|
|
@@ -4760,6 +4762,90 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
4760
4762
|
fill: rgba(0, 0, 0, 0.75);
|
|
4761
4763
|
}
|
|
4762
4764
|
|
|
4765
|
+
/*!
|
|
4766
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
4767
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4768
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
4769
|
+
*/
|
|
4770
|
+
.jodit-ui-font-picker {
|
|
4771
|
+
width: 240px;
|
|
4772
|
+
}
|
|
4773
|
+
.jodit-ui-font-picker__group + .jodit-ui-font-picker__group {
|
|
4774
|
+
margin-top: 8px;
|
|
4775
|
+
}
|
|
4776
|
+
.jodit-ui-font-picker__heading {
|
|
4777
|
+
padding: 8px 8px calc(8px / 4);
|
|
4778
|
+
color: #a5a5a5;
|
|
4779
|
+
font-size: 11px;
|
|
4780
|
+
line-height: 1;
|
|
4781
|
+
text-transform: uppercase;
|
|
4782
|
+
}
|
|
4783
|
+
.jodit-ui-font-picker__item {
|
|
4784
|
+
position: relative;
|
|
4785
|
+
-webkit-box-sizing: border-box;
|
|
4786
|
+
box-sizing: border-box;
|
|
4787
|
+
padding: 0;
|
|
4788
|
+
border: 0;
|
|
4789
|
+
-webkit-appearance: none;
|
|
4790
|
+
-moz-appearance: none;
|
|
4791
|
+
appearance: none;
|
|
4792
|
+
background: 0 0;
|
|
4793
|
+
-webkit-box-shadow: none;
|
|
4794
|
+
box-shadow: none;
|
|
4795
|
+
font-style: normal;
|
|
4796
|
+
outline: 0;
|
|
4797
|
+
text-align: center;
|
|
4798
|
+
text-decoration: none;
|
|
4799
|
+
text-transform: none;
|
|
4800
|
+
-webkit-user-select: none;
|
|
4801
|
+
-moz-user-select: none;
|
|
4802
|
+
-ms-user-select: none;
|
|
4803
|
+
user-select: none;
|
|
4804
|
+
cursor: pointer;
|
|
4805
|
+
font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, oxygen-sans, ubuntu, cantarell, 'Helvetica Neue', sans-serif;
|
|
4806
|
+
font-size: 14px;
|
|
4807
|
+
display: block;
|
|
4808
|
+
overflow: hidden;
|
|
4809
|
+
width: 100%;
|
|
4810
|
+
min-height: calc(14px + calc((14px - 4px) * 2) + 2px * 2);
|
|
4811
|
+
padding: 0 8px;
|
|
4812
|
+
margin: 2px 0;
|
|
4813
|
+
border-radius: 3px;
|
|
4814
|
+
color: #222;
|
|
4815
|
+
text-align: start;
|
|
4816
|
+
text-overflow: ellipsis;
|
|
4817
|
+
white-space: nowrap;
|
|
4818
|
+
}
|
|
4819
|
+
.jodit-ui-font-picker__item:hover:not([disabled]) {
|
|
4820
|
+
background-color: #dcdcdc;
|
|
4821
|
+
opacity: 1;
|
|
4822
|
+
outline: 0;
|
|
4823
|
+
}
|
|
4824
|
+
.jodit-ui-font-picker__item:focus-visible:not([disabled]) {
|
|
4825
|
+
background-color: #dcdcdc;
|
|
4826
|
+
opacity: 1;
|
|
4827
|
+
outline: 0;
|
|
4828
|
+
}
|
|
4829
|
+
.jodit-ui-font-picker__item:active:not([disabled]) {
|
|
4830
|
+
background-color: rgba(220, 220, 220, 0.4);
|
|
4831
|
+
outline: 0;
|
|
4832
|
+
}
|
|
4833
|
+
.jodit-ui-font-picker__item[aria-pressed='true']:not([disabled]) {
|
|
4834
|
+
background-color: rgba(220, 220, 220, 0.4);
|
|
4835
|
+
outline: 0;
|
|
4836
|
+
}
|
|
4837
|
+
.jodit-ui-font-picker__item[aria-pressed='true']:hover:not([disabled]) {
|
|
4838
|
+
background-color: rgba(220, 220, 220, 0.6);
|
|
4839
|
+
}
|
|
4840
|
+
.jodit-ui-font-picker__item[disabled] {
|
|
4841
|
+
opacity: 0.3;
|
|
4842
|
+
pointer-events: none;
|
|
4843
|
+
}
|
|
4844
|
+
.jodit-ui-font-picker__item:focus:not([disabled]) {
|
|
4845
|
+
background-color: #dcdcdc;
|
|
4846
|
+
outline: 0;
|
|
4847
|
+
}
|
|
4848
|
+
|
|
4763
4849
|
/*!
|
|
4764
4850
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
4765
4851
|
* Released under MIT see LICENSE.txt in the project root for license information.
|