jodit 4.0.6 → 4.0.13
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
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* @module plugins/search
|
|
8
8
|
*/
|
|
9
|
-
import type { ICreate, ISelectionRange } from "jodit/esm/types";
|
|
9
|
+
import type { ICreate, IJodit, ISelectionRange } from "jodit/esm/types";
|
|
10
10
|
/**
|
|
11
11
|
* @private
|
|
12
12
|
*/
|
|
13
|
-
export declare function
|
|
13
|
+
export declare function highlightTextRanges(jodit: IJodit, rng: ISelectionRange, restRanges: ISelectionRange[], ci: ICreate, root: HTMLElement): void;
|
|
14
14
|
/**
|
|
15
15
|
* @private
|
|
16
16
|
*/
|
|
@@ -8,6 +8,7 @@ import * as cs_cz from "./cs_cz.js";
|
|
|
8
8
|
import * as de from "./de.js";
|
|
9
9
|
import * as es from "./es.js";
|
|
10
10
|
import * as fa from "./fa.js";
|
|
11
|
+
import * as fi from "./fi.js";
|
|
11
12
|
import * as fr from "./fr.js";
|
|
12
13
|
import * as he from "./he.js";
|
|
13
14
|
import * as hu from "./hu.js";
|
|
@@ -23,4 +24,4 @@ import * as ru from "./ru.js";
|
|
|
23
24
|
import * as tr from "./tr.js";
|
|
24
25
|
import * as zh_cn from "./zh_cn.js";
|
|
25
26
|
import * as zh_tw from "./zh_tw.js";
|
|
26
|
-
export { ar, cs_cz, de, es, fa, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, zh_cn, zh_tw };
|
|
27
|
+
export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, zh_cn, zh_tw };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export let Spellcheck: string;
|
|
@@ -8,6 +8,7 @@ import * as cs_cz from "./cs_cz.js";
|
|
|
8
8
|
import * as de from "./de.js";
|
|
9
9
|
import * as es from "./es.js";
|
|
10
10
|
import * as fa from "./fa.js";
|
|
11
|
+
import * as fi from "./fi.js";
|
|
11
12
|
import * as fr from "./fr.js";
|
|
12
13
|
import * as he from "./he.js";
|
|
13
14
|
import * as hu from "./hu.js";
|
|
@@ -23,4 +24,4 @@ import * as ru from "./ru.js";
|
|
|
23
24
|
import * as tr from "./tr.js";
|
|
24
25
|
import * as zh_cn from "./zh_cn.js";
|
|
25
26
|
import * as zh_tw from "./zh_tw.js";
|
|
26
|
-
export { ar, cs_cz, de, es, fa, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, zh_cn, zh_tw };
|
|
27
|
+
export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, zh_cn, zh_tw };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export let symbols: string;
|
|
@@ -8,6 +8,7 @@ import * as cs_cz from "./cs_cz.js";
|
|
|
8
8
|
import * as de from "./de.js";
|
|
9
9
|
import * as es from "./es.js";
|
|
10
10
|
import * as fa from "./fa.js";
|
|
11
|
+
import * as fi from "./fi.js";
|
|
11
12
|
import * as fr from "./fr.js";
|
|
12
13
|
import * as he from "./he.js";
|
|
13
14
|
import * as hu from "./hu.js";
|
|
@@ -23,4 +24,4 @@ import * as ru from "./ru.js";
|
|
|
23
24
|
import * as tr from "./tr.js";
|
|
24
25
|
import * as zh_cn from "./zh_cn.js";
|
|
25
26
|
import * as zh_tw from "./zh_tw.js";
|
|
26
|
-
export { ar, cs_cz, de, es, fa, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, zh_cn, zh_tw };
|
|
27
|
+
export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, zh_cn, zh_tw };
|
package/types/tsconfig.json
CHANGED
package/types/types/create.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ interface ICreate {
|
|
|
41
41
|
/**
|
|
42
42
|
* Create DOM element from HTML text
|
|
43
43
|
*/
|
|
44
|
-
fromHTML(html: string, refs?: IDictionary<boolean>):
|
|
44
|
+
fromHTML<T extends HTMLElement>(html: string, refs?: IDictionary<boolean>): T;
|
|
45
45
|
/**
|
|
46
46
|
* Apply to element `createAttributes` options
|
|
47
47
|
*/
|