jodit 4.0.6 → 4.0.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 -5
- package/es2015/jodit.css +19 -19
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +633 -529
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- 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 +72 -46
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.css +19 -19
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +633 -529
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +72 -46
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +19 -19
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +632 -528
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- 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 +72 -46
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +19 -19
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +333 -313
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- 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 +3 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/jodit.css +25 -19
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +646 -542
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- 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 +72 -46
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/esm/core/async/async.d.ts +1 -1
- package/esm/core/async/async.js +2 -2
- package/esm/core/constants.js +1 -1
- package/esm/core/create/create.d.ts +1 -1
- package/esm/core/helpers/utils/append-script.d.ts +1 -5
- package/esm/core/helpers/utils/append-script.js +13 -28
- package/esm/core/plugin/helpers/load.d.ts +1 -1
- package/esm/core/plugin/helpers/load.js +2 -2
- package/esm/core/plugin/plugin-system.js +5 -5
- package/esm/core/plugin/plugin.js +5 -1
- package/esm/core/ui/popup/popup.js +1 -0
- package/esm/core/view/view-with-toolbar.js +4 -1
- package/esm/langs/fi.d.ts +218 -0
- package/esm/langs/fi.js +231 -0
- package/esm/languages.js +2 -0
- package/esm/plugins/add-new-line/add-new-line.d.ts +14 -14
- package/esm/plugins/add-new-line/add-new-line.js +76 -73
- package/esm/plugins/copy-format/langs/fi.d.ts +4 -0
- package/esm/plugins/copy-format/langs/fi.js +9 -0
- package/esm/plugins/copy-format/langs/index.d.ts +2 -1
- package/esm/plugins/copy-format/langs/index.js +2 -1
- package/esm/plugins/line-height/langs/fi.d.ts +4 -0
- package/esm/plugins/line-height/langs/fi.js +9 -0
- package/esm/plugins/line-height/langs/index.d.ts +2 -1
- package/esm/plugins/line-height/langs/index.js +2 -1
- package/esm/plugins/resizer/resizer.d.ts +2 -2
- package/esm/plugins/resizer/resizer.js +12 -13
- package/esm/plugins/search/config.d.ts +5 -0
- package/esm/plugins/search/config.js +3 -1
- package/esm/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.d.ts → highlight-text-ranges.d.ts} +2 -2
- package/esm/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.js → highlight-text-ranges.js} +19 -1
- package/esm/plugins/search/helpers/index.d.ts +1 -1
- package/esm/plugins/search/helpers/index.js +1 -1
- package/esm/plugins/search/search.d.ts +1 -1
- package/esm/plugins/search/search.js +4 -4
- package/esm/plugins/source/source.js +1 -1
- package/esm/plugins/speech-recognize/langs/fi.d.ts +9 -0
- package/esm/plugins/speech-recognize/langs/fi.js +14 -0
- package/esm/plugins/speech-recognize/langs/index.d.ts +2 -1
- package/esm/plugins/speech-recognize/langs/index.js +2 -1
- package/esm/plugins/spellcheck/langs/fi.d.ts +1 -0
- package/esm/plugins/spellcheck/langs/fi.js +9 -0
- package/esm/plugins/spellcheck/langs/index.d.ts +2 -1
- package/esm/plugins/spellcheck/langs/index.js +2 -1
- package/esm/plugins/symbols/langs/fi.d.ts +1 -0
- package/esm/plugins/symbols/langs/fi.js +9 -0
- package/esm/plugins/symbols/langs/index.d.ts +2 -1
- package/esm/plugins/symbols/langs/index.js +2 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +70 -73
- package/esm/tsconfig.json +1 -1
- package/esm/types/create.d.ts +1 -1
- package/package.json +1 -1
- package/types/core/async/async.d.ts +1 -1
- package/types/core/create/create.d.ts +1 -1
- package/types/core/helpers/utils/append-script.d.ts +1 -5
- package/types/core/plugin/helpers/load.d.ts +1 -1
- package/types/langs/fi.d.ts +218 -0
- package/types/plugins/add-new-line/add-new-line.d.ts +14 -14
- package/types/plugins/copy-format/langs/fi.d.ts +4 -0
- package/types/plugins/copy-format/langs/index.d.ts +2 -1
- package/types/plugins/line-height/langs/fi.d.ts +4 -0
- package/types/plugins/line-height/langs/index.d.ts +2 -1
- package/types/plugins/resizer/resizer.d.ts +2 -2
- package/types/plugins/search/config.d.ts +5 -0
- package/types/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.d.ts → highlight-text-ranges.d.ts} +2 -2
- package/types/plugins/search/helpers/index.d.ts +1 -1
- package/types/plugins/search/search.d.ts +1 -1
- package/types/plugins/speech-recognize/langs/fi.d.ts +9 -0
- package/types/plugins/speech-recognize/langs/index.d.ts +2 -1
- package/types/plugins/spellcheck/langs/fi.d.ts +1 -0
- package/types/plugins/spellcheck/langs/index.d.ts +2 -1
- package/types/plugins/symbols/langs/fi.d.ts +1 -0
- package/types/plugins/symbols/langs/index.d.ts +2 -1
- package/types/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/types/tsconfig.json +1 -1
- package/types/types/create.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,16 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 4.0.8
|
|
13
|
+
|
|
14
|
+
- Fixed a bug in the plugins module when extra plugins did not cause the editor to be redrawn after initialization
|
|
15
|
+
|
|
16
|
+
## 4.0.7
|
|
17
|
+
|
|
18
|
+
- Added `search.useCustomHighlightAPI` option to the "Search" plugin to use the built-in text highlighting API https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API
|
|
19
|
+
If the browser does not support this API, then standard text highlighting will be used by wrapping it in the `<span jd-tmp-selection>` tag.
|
|
20
|
+
- Added Finnish (Suomi) translation https://github.com/xdan/jodit/pull/1081
|
|
21
|
+
|
|
12
22
|
## 4.0.2
|
|
13
23
|
|
|
14
24
|
- [BUG: FileBrowser Context Menu Grows Infinitely](https://github.com/xdan/jodit/issues/1059)
|
|
@@ -2455,11 +2465,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
|
|
|
2455
2465
|
- @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
|
|
2456
2466
|
modeClassName="select")
|
|
2457
2467
|
- ex: [
|
|
2458
|
-
-
|
|
2459
|
-
-
|
|
2460
|
-
-
|
|
2461
|
-
-
|
|
2462
|
-
-
|
|
2468
|
+
- { value: "", text: "" },
|
|
2469
|
+
- { value: "val1", text: "text1" },
|
|
2470
|
+
- { value: "val2", text: "text2" },
|
|
2471
|
+
- { value: "val3", text: "text3" }
|
|
2472
|
+
- ]
|
|
2463
2473
|
PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
|
|
2464
2474
|
|
|
2465
2475
|
##### New option `statusbar: boolean = true`
|
package/es2015/jodit.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.0.
|
|
4
|
+
* Version: v4.0.14
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
--jd-color-background-progress: #b91f1f;
|
|
49
49
|
--jd-color-background-active: #2196f3;
|
|
50
50
|
--jd-color-background-selection: #b5d6fd;
|
|
51
|
+
--jd-color-text-selection: var(--jd-color-white);
|
|
51
52
|
--jd-color-background-selection-opacity50: rgba(181, 214, 253, 0.995);
|
|
52
53
|
--jd-color-source-area: #323232;
|
|
53
54
|
--jd-color-button-background-hover: #dcdcdc;
|
|
@@ -4052,10 +4053,9 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
4052
4053
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
4053
4054
|
*/
|
|
4054
4055
|
:root {
|
|
4055
|
-
--jd-color-new-line: var(--jd-color-border);
|
|
4056
|
-
--jd-
|
|
4057
|
-
--jd-
|
|
4058
|
-
--jd-offset-handle: calc(100% - var(--jd-width-icon));
|
|
4056
|
+
--jd-anl-color-new-line: var(--jd-color-border);
|
|
4057
|
+
--jd-anl-handle-size: 20px;
|
|
4058
|
+
--jd-anl-handle-offset: calc(100% - var(--jd-anl-handle-size));
|
|
4059
4059
|
}
|
|
4060
4060
|
.jodit-add-new-line {
|
|
4061
4061
|
position: fixed;
|
|
@@ -4073,30 +4073,29 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
4073
4073
|
display: block;
|
|
4074
4074
|
width: 100%;
|
|
4075
4075
|
height: 1px;
|
|
4076
|
-
background-color: var(--jd-color-new-line);
|
|
4076
|
+
background-color: var(--jd-anl-color-new-line);
|
|
4077
4077
|
content: '';
|
|
4078
4078
|
}
|
|
4079
4079
|
.jodit-add-new-line span {
|
|
4080
4080
|
position: absolute;
|
|
4081
|
-
left: var(--jd-
|
|
4081
|
+
left: var(--jd-anl-handle-offset);
|
|
4082
|
+
top: 0;
|
|
4083
|
+
transform: translateY(-50%);
|
|
4082
4084
|
display: flex;
|
|
4083
|
-
width: var(--jd-
|
|
4084
|
-
height: var(--jd-
|
|
4085
|
+
width: var(--jd-anl-handle-size);
|
|
4086
|
+
height: var(--jd-anl-handle-size);
|
|
4085
4087
|
align-items: center;
|
|
4086
4088
|
justify-content: center;
|
|
4087
|
-
border: 1px solid var(--jd-color-new-line);
|
|
4089
|
+
border: 1px solid var(--jd-anl-color-new-line);
|
|
4088
4090
|
background: var(--jd-color-background-button-hover-opacity30);
|
|
4089
4091
|
cursor: pointer;
|
|
4090
4092
|
}
|
|
4091
4093
|
.jodit-add-new-line span:hover {
|
|
4092
4094
|
background: var(--jd-color-background-button-hover);
|
|
4093
4095
|
}
|
|
4094
|
-
.jodit-add-new-line_after span {
|
|
4095
|
-
bottom: 0;
|
|
4096
|
-
}
|
|
4097
4096
|
.jodit-add-new-line svg {
|
|
4098
|
-
width:
|
|
4099
|
-
fill: var(--jd-color-new-line);
|
|
4097
|
+
width: calc(var(--jd-anl-handle-size) / 2);
|
|
4098
|
+
fill: var(--jd-anl-color-new-line);
|
|
4100
4099
|
}
|
|
4101
4100
|
.jodit-source__mode .jodit-add-new-line {
|
|
4102
4101
|
display: none !important;
|
|
@@ -4654,8 +4653,10 @@ html.jodit_fullsize-box_true {
|
|
|
4654
4653
|
.jodit-ui-search_replace_true .jodit-ui-search__buttons button[data-ref='replace-btn'] {
|
|
4655
4654
|
display: block;
|
|
4656
4655
|
}
|
|
4656
|
+
::highlight(jodit-search-result),
|
|
4657
4657
|
[jd-tmp-selection] {
|
|
4658
|
-
background-color:
|
|
4658
|
+
background-color: var(--jd-color-background-selection);
|
|
4659
|
+
color: var(--jd-color-text-selection);
|
|
4659
4660
|
}
|
|
4660
4661
|
|
|
4661
4662
|
/*!
|
|
@@ -4806,7 +4807,7 @@ html.jodit_fullsize-box_true {
|
|
|
4806
4807
|
height: calc(var(--jd-height-element-default) * 1.2);
|
|
4807
4808
|
box-sizing: border-box;
|
|
4808
4809
|
border: 1px solid transparent;
|
|
4809
|
-
color: var(--jd-color-
|
|
4810
|
+
color: var(--jd-color-text);
|
|
4810
4811
|
cursor: pointer;
|
|
4811
4812
|
font-size: 16px;
|
|
4812
4813
|
line-height: calc(var(--jd-height-element-default) * 1.2);
|
|
@@ -4936,6 +4937,7 @@ html.jodit_fullsize-box_true {
|
|
|
4936
4937
|
.jodit-dialog_theme_dark,
|
|
4937
4938
|
.jodit_theme_dark {
|
|
4938
4939
|
--jd-color-border: #6b6b6b;
|
|
4940
|
+
--jd-color-text: var(--jd-dark-text-color);
|
|
4939
4941
|
}
|
|
4940
4942
|
.jodit-dialog_theme_dark .jodit-toolbar-collection_mode_horizontal,
|
|
4941
4943
|
.jodit_theme_dark .jodit-toolbar-collection_mode_horizontal,
|
|
@@ -4969,7 +4971,6 @@ html.jodit_fullsize-box_true {
|
|
|
4969
4971
|
}
|
|
4970
4972
|
.jodit-dialog_theme_dark.jodit-container,
|
|
4971
4973
|
.jodit_theme_dark.jodit-container {
|
|
4972
|
-
--jd-color-border: #6b6b6b;
|
|
4973
4974
|
border-color: var(--jd-color-border);
|
|
4974
4975
|
background-color: var(--jd-dark-background-color);
|
|
4975
4976
|
}
|
|
@@ -4991,7 +4992,6 @@ html.jodit_fullsize-box_true {
|
|
|
4991
4992
|
.jodit_theme_dark .jodit-toolbar-select,
|
|
4992
4993
|
.jodit-dialog_theme_dark .jodit-toolbar-button,
|
|
4993
4994
|
.jodit_theme_dark .jodit-toolbar-button {
|
|
4994
|
-
--jd-color-text: var(--jd-dark-text-color);
|
|
4995
4995
|
--jd-color-icon: var(--jd-dark-icon-color);
|
|
4996
4996
|
}
|
|
4997
4997
|
.jodit-dialog_theme_dark .jodit-ui-button__text,
|