jodit 4.2.27 → 4.2.32

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.
Files changed (156) hide show
  1. package/.nvmrc +1 -1
  2. package/CHANGELOG.md +104 -5
  3. package/es2015/jodit.css +11 -1
  4. package/es2015/jodit.fat.min.css +1 -1
  5. package/es2015/jodit.fat.min.js +2 -2
  6. package/es2015/jodit.js +330 -230
  7. package/es2015/jodit.min.css +1 -1
  8. package/es2015/jodit.min.js +2 -2
  9. package/es2015/plugins/debug/debug.js +1 -1
  10. package/es2015/plugins/debug/debug.min.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  12. package/es2015/plugins/speech-recognize/speech-recognize.js +25 -18
  13. package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
  14. package/es2018/jodit.css +11 -1
  15. package/es2018/jodit.fat.min.css +1 -1
  16. package/es2018/jodit.fat.min.js +2 -2
  17. package/es2018/jodit.js +324 -224
  18. package/es2018/jodit.min.css +1 -1
  19. package/es2018/jodit.min.js +2 -2
  20. package/es2018/plugins/debug/debug.js +1 -1
  21. package/es2018/plugins/debug/debug.min.js +1 -1
  22. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  23. package/es2018/plugins/speech-recognize/speech-recognize.js +25 -18
  24. package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
  25. package/es2021/jodit.css +11 -1
  26. package/es2021/jodit.fat.min.css +1 -1
  27. package/es2021/jodit.fat.min.js +2 -2
  28. package/es2021/jodit.js +324 -224
  29. package/es2021/jodit.min.css +1 -1
  30. package/es2021/jodit.min.js +2 -2
  31. package/es2021/plugins/debug/debug.js +1 -1
  32. package/es2021/plugins/debug/debug.min.js +1 -1
  33. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  34. package/es2021/plugins/speech-recognize/speech-recognize.js +25 -18
  35. package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
  36. package/es2021.en/jodit.css +11 -1
  37. package/es2021.en/jodit.fat.min.css +1 -1
  38. package/es2021.en/jodit.fat.min.js +2 -2
  39. package/es2021.en/jodit.js +299 -218
  40. package/es2021.en/jodit.min.css +1 -1
  41. package/es2021.en/jodit.min.js +2 -2
  42. package/es2021.en/plugins/debug/debug.js +1 -1
  43. package/es2021.en/plugins/debug/debug.min.js +1 -1
  44. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  45. package/es2021.en/plugins/speech-recognize/speech-recognize.js +25 -18
  46. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
  47. package/es5/164.fat.min.js +10 -0
  48. package/es5/164.js +4939 -0
  49. package/es5/164.min.js +10 -0
  50. package/es5/5.fat.min.js +10 -0
  51. package/es5/5.js +76 -0
  52. package/es5/5.min.js +10 -0
  53. package/es5/jodit.css +12 -2
  54. package/es5/jodit.fat.min.css +1 -1
  55. package/es5/jodit.fat.min.js +2 -2
  56. package/es5/jodit.js +753 -5684
  57. package/es5/jodit.min.css +3 -3
  58. package/es5/jodit.min.js +2 -2
  59. package/es5/plugins/debug/debug.js +1 -1
  60. package/es5/plugins/debug/debug.min.js +1 -1
  61. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  62. package/es5/plugins/speech-recognize/speech-recognize.js +26 -19
  63. package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
  64. package/esm/config.js +3 -7
  65. package/esm/core/async/async.js +2 -1
  66. package/esm/core/constants.d.ts +2 -0
  67. package/esm/core/constants.js +10 -6
  68. package/esm/core/decorators/watch/watch.js +0 -1
  69. package/esm/core/dom/dom.js +2 -2
  70. package/esm/core/event-emitter/event-emitter.js +3 -3
  71. package/esm/core/global.js +13 -3
  72. package/esm/core/helpers/array/to-array.d.ts +1 -6
  73. package/esm/core/helpers/array/to-array.js +1 -1
  74. package/esm/core/helpers/async/set-timeout.d.ts +0 -3
  75. package/esm/core/helpers/async/set-timeout.js +3 -2
  76. package/esm/core/helpers/checker/has-browser-color-picker.d.ts +0 -3
  77. package/esm/core/helpers/checker/has-browser-color-picker.js +2 -1
  78. package/esm/core/helpers/checker/is-url.d.ts +0 -3
  79. package/esm/core/helpers/checker/is-url.js +2 -1
  80. package/esm/core/helpers/html/apply-styles.js +3 -3
  81. package/esm/core/helpers/html/clean-from-word.js +2 -1
  82. package/esm/core/helpers/html/htmlspecialchars.d.ts +0 -3
  83. package/esm/core/helpers/html/htmlspecialchars.js +2 -1
  84. package/esm/core/helpers/normalize/normalize-size.d.ts +1 -1
  85. package/esm/core/helpers/size/get-scroll-parent.js +3 -2
  86. package/esm/core/helpers/utils/complete-url.js +2 -1
  87. package/esm/core/helpers/utils/convert-media-url-to-video-embed.js +2 -1
  88. package/esm/core/helpers/utils/default-language.js +3 -2
  89. package/esm/core/helpers/utils/reset.js +3 -3
  90. package/esm/core/request/ajax.js +2 -1
  91. package/esm/core/selection/selection.js +1 -0
  92. package/esm/core/selection/style/api/has-same-style.js +15 -10
  93. package/esm/core/selection/style/api/toggle-attributes.js +2 -1
  94. package/esm/core/selection/style/commit-style.d.ts +1 -1
  95. package/esm/core/ui/form/inputs/file/file.d.ts +1 -0
  96. package/esm/core/ui/form/inputs/file/file.js +1 -0
  97. package/esm/core/ui/form/validators/input.d.ts +3 -3
  98. package/esm/core/ui/form/validators/select.d.ts +1 -1
  99. package/esm/jodit.js +3 -0
  100. package/esm/modules/file-browser/config.js +9 -1
  101. package/esm/modules/file-browser/data-provider.js +0 -1
  102. package/esm/modules/file-browser/file-browser.js +0 -1
  103. package/esm/modules/table/table.js +0 -1
  104. package/esm/modules/toolbar/button/button.d.ts +1 -1
  105. package/esm/plugins/backspace/cases/check-remove-char.js +1 -0
  106. package/esm/plugins/clean-html/config.d.ts +3 -3
  107. package/esm/plugins/iframe/config.d.ts +15 -3
  108. package/esm/plugins/iframe/config.js +1 -0
  109. package/esm/plugins/iframe/iframe.js +3 -0
  110. package/esm/plugins/indent/helpers.d.ts +1 -1
  111. package/esm/plugins/inline-popup/config/items/a.d.ts +2 -2
  112. package/esm/plugins/inline-popup/config/items/cells.d.ts +1 -1
  113. package/esm/plugins/inline-popup/config/items/img.d.ts +1 -1
  114. package/esm/plugins/search/config.js +2 -2
  115. package/esm/plugins/search/helpers/highlight-text-ranges.js +3 -1
  116. package/esm/plugins/source/editor/engines/ace.d.ts +0 -1
  117. package/esm/plugins/speech-recognize/config.js +1 -1
  118. package/esm/plugins/speech-recognize/helpers/api.d.ts +1 -1
  119. package/esm/plugins/speech-recognize/helpers/api.js +5 -2
  120. package/esm/plugins/speech-recognize/helpers/sound.js +6 -4
  121. package/esm/plugins/stat/config.d.ts +1 -0
  122. package/esm/plugins/stat/config.js +1 -0
  123. package/esm/plugins/stat/stat.js +14 -3
  124. package/esm/plugins/symbols/langs/index.d.ts +2 -1
  125. package/esm/plugins/symbols/langs/index.js +2 -1
  126. package/esm/plugins/symbols/langs/ua.d.ts +1 -0
  127. package/esm/plugins/symbols/langs/ua.js +9 -0
  128. package/esm/polyfills.d.ts +10 -0
  129. package/esm/polyfills.js +54 -0
  130. package/esm/tsconfig.json +1 -1
  131. package/package.json +1 -1
  132. package/types/core/constants.d.ts +2 -0
  133. package/types/core/helpers/array/to-array.d.ts +1 -6
  134. package/types/core/helpers/async/set-timeout.d.ts +0 -3
  135. package/types/core/helpers/checker/has-browser-color-picker.d.ts +0 -3
  136. package/types/core/helpers/checker/is-url.d.ts +0 -3
  137. package/types/core/helpers/html/htmlspecialchars.d.ts +0 -3
  138. package/types/core/helpers/normalize/normalize-size.d.ts +1 -1
  139. package/types/core/selection/style/commit-style.d.ts +1 -1
  140. package/types/core/ui/form/inputs/file/file.d.ts +1 -0
  141. package/types/core/ui/form/validators/input.d.ts +3 -3
  142. package/types/core/ui/form/validators/select.d.ts +1 -1
  143. package/types/modules/toolbar/button/button.d.ts +1 -1
  144. package/types/plugins/clean-html/config.d.ts +3 -3
  145. package/types/plugins/iframe/config.d.ts +15 -3
  146. package/types/plugins/indent/helpers.d.ts +1 -1
  147. package/types/plugins/inline-popup/config/items/a.d.ts +2 -2
  148. package/types/plugins/inline-popup/config/items/cells.d.ts +1 -1
  149. package/types/plugins/inline-popup/config/items/img.d.ts +1 -1
  150. package/types/plugins/source/editor/engines/ace.d.ts +0 -1
  151. package/types/plugins/speech-recognize/helpers/api.d.ts +1 -1
  152. package/types/plugins/stat/config.d.ts +1 -0
  153. package/types/plugins/symbols/langs/index.d.ts +2 -1
  154. package/types/plugins/symbols/langs/ua.d.ts +1 -0
  155. package/types/polyfills.d.ts +10 -0
  156. package/types/tsconfig.json +1 -1
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /*!
3
+ * Jodit Editor (https://xdsoft.net/jodit/)
4
+ * Released under MIT see LICENSE.txt in the project root for license information.
5
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
6
+ */
7
+ export default {
8
+ symbols: 'символ'
9
+ };
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ import "classlist-polyfill";
7
+ import "es6-promise/auto";
8
+ import "core-js/es/symbol";
9
+ import "core-js/es/array/find-index";
10
+ import "core-js/es/array/from";
@@ -0,0 +1,54 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ import "classlist-polyfill";
7
+ import "es6-promise/auto";
8
+ import "core-js/es/symbol";
9
+ import "core-js/es/array/find-index";
10
+ import "core-js/es/array/from";
11
+ // for ie11
12
+ if (!Array.prototype.includes) {
13
+ Array.prototype.includes = function (value) {
14
+ return this.indexOf(value) > -1;
15
+ };
16
+ }
17
+ // for ie11
18
+ if (typeof Object.assign !== 'function') {
19
+ // Must be writable: true, enumerable: false, configurable: true
20
+ Object.defineProperty(Object, 'assign', {
21
+ value: function assign(target, varArgs) {
22
+ // .length of function is 2
23
+ if (target == null) {
24
+ throw new TypeError('Cannot convert undefined or null to object');
25
+ }
26
+ const to = Object(target);
27
+ for (let index = 1; index < arguments.length; index++) {
28
+ // eslint-disable-next-line prefer-rest-params
29
+ const nextSource = arguments[index];
30
+ if (nextSource != null) {
31
+ for (const nextKey in nextSource) {
32
+ // Avoid bugs when hasOwnProperty is shadowed
33
+ if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
34
+ to[nextKey] = nextSource[nextKey];
35
+ }
36
+ }
37
+ }
38
+ }
39
+ return to;
40
+ },
41
+ writable: true,
42
+ configurable: true
43
+ });
44
+ }
45
+ if (!Array.prototype.find) {
46
+ Array.prototype.find = function (value) {
47
+ return this.indexOf(value) > -1 ? value : undefined;
48
+ };
49
+ }
50
+ if (!String.prototype.endsWith) {
51
+ String.prototype.endsWith = function (value) {
52
+ return this[this.length - 1] === value;
53
+ };
54
+ }
package/esm/tsconfig.json CHANGED
@@ -35,7 +35,7 @@
35
35
 
36
36
  "importHelpers": true,
37
37
 
38
- "lib": ["es5", "esnext", "DOM", "scripthost", "es2015.iterable"],
38
+ "lib": ["esnext", "DOM", "scripthost", "es2015.iterable"],
39
39
 
40
40
  "baseUrl": ".",
41
41
  "paths": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jodit",
3
- "version": "4.2.27",
3
+ "version": "4.2.32",
4
4
  "description": "Jodit is an awesome and useful wysiwyg editor with filebrowser",
5
5
  "main": "esm/index.js",
6
6
  "types": "types/index.d.ts",
@@ -32,6 +32,8 @@ export declare const INVISIBLE_SPACE_REG_EXP_START: () => RegExp;
32
32
  export declare const SPACE_REG_EXP: () => RegExp;
33
33
  export declare const SPACE_REG_EXP_START: () => RegExp;
34
34
  export declare const SPACE_REG_EXP_END: () => RegExp;
35
+ export declare const globalWindow: typeof window;
36
+ export declare const globalDocument: Document;
35
37
  export declare const IS_BLOCK: RegExp;
36
38
  export declare const IS_INLINE: RegExp;
37
39
  export declare const LIST_TAGS: Set<"ol" | "ul">;
@@ -12,9 +12,4 @@
12
12
  * Jodit.modules.Helpers.toArray(1) // []
13
13
  * ```
14
14
  */
15
- export declare const toArray: {
16
- <T>(arrayLike: ArrayLike<T>): T[];
17
- <T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
18
- <T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
19
- <T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
20
- };
15
+ export declare const toArray: typeof Array.from;
@@ -3,9 +3,6 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- /**
7
- * @module helpers/async
8
- */
9
6
  /**
10
7
  * Create async callback if set timeout value - else call function immediately
11
8
  */
@@ -3,9 +3,6 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- /**
7
- * @module helpers/checker
8
- */
9
6
  /**
10
7
  * Check if browser has a color picker (a new HTML5 attribute for input tag)
11
8
  */
@@ -3,9 +3,6 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- /**
7
- * @module helpers/checker
8
- */
9
6
  /**
10
7
  * Check if a string is an url
11
8
  */
@@ -3,9 +3,6 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- /**
7
- * @module helpers/html
8
- */
9
6
  /**
10
7
  * Convert special characters to HTML entities
11
8
  */
@@ -9,4 +9,4 @@
9
9
  /**
10
10
  * Normalize value to CSS meters
11
11
  */
12
- export declare const normalizeSize: (value: string | number, units: 'px' | 'pt') => string;
12
+ export declare const normalizeSize: (value: string | number, units: "px" | "pt") => string;
@@ -23,7 +23,7 @@ export declare class CommitStyle implements ICommitStyle {
23
23
  */
24
24
  get isElementCommit(): boolean;
25
25
  get defaultTag(): HTMLTagNames;
26
- get elementIsDefault(): Boolean;
26
+ get elementIsDefault(): boolean;
27
27
  constructor(options: IStyleOptions);
28
28
  apply(jodit: IJodit): void;
29
29
  }
@@ -13,6 +13,7 @@ export declare class UIFileInput extends UIInput {
13
13
  private button;
14
14
  state: UIInput['state'] & {
15
15
  onlyImages: boolean;
16
+ tooltip?: string;
16
17
  };
17
18
  /** @override */
18
19
  className(): string;
@@ -6,12 +6,12 @@
6
6
  /**
7
7
  * @module ui/form
8
8
  */
9
- import type { IUIInput, IUIInputValidator } from "../../../../types";
9
+ import type { IUIInputValidator } from "../../../../types";
10
10
  /**
11
11
  * Input is required
12
12
  */
13
- export declare const required: IUIInputValidator<IUIInput>;
13
+ export declare const required: IUIInputValidator;
14
14
  /**
15
15
  * Input value should be valid URL
16
16
  */
17
- export declare const url: IUIInputValidator<IUIInput>;
17
+ export declare const url: IUIInputValidator;
@@ -10,4 +10,4 @@ import type { IUIInputValidator } from "../../../../types";
10
10
  /**
11
11
  * Select is required
12
12
  */
13
- export declare const required: IUIInputValidator<import("../../../../types").IUIInput>;
13
+ export declare const required: IUIInputValidator;
@@ -20,7 +20,7 @@ export declare class ToolbarButton<T extends IViewBased = IViewBased> extends UI
20
20
  theme: string;
21
21
  currentValue: string;
22
22
  hasTrigger: boolean;
23
- size: "small" | "tiny" | "xsmall" | "middle" | "large";
23
+ size: "tiny" | "xsmall" | "small" | "middle" | "large";
24
24
  name: string;
25
25
  value: string | number | boolean;
26
26
  variant: import("../../../types").ButtonVariant;
@@ -19,9 +19,9 @@ declare module 'jodit/config' {
19
19
  removeEmptyElements: boolean;
20
20
  replaceOldTags: IDictionary<HTMLTagNames> | false;
21
21
  /**
22
- * Use iframe[sandbox] to paste HTML code into the editor to check it for safety
23
- * Allows you not to run scripts and handlers, but it works much slower
24
- * @example
22
+ * You can use an iframe with the sandbox attribute to safely paste and test HTML code.
23
+ * It prevents scripts and handlers from running, but it does slow things down.
24
+ *
25
25
  * ```javascript
26
26
  * Jodit.make('#editor', {
27
27
  * cleanHTML: {
@@ -22,7 +22,7 @@ declare module 'jodit/config' {
22
22
  *
23
23
  * @example
24
24
  * ```javascript
25
- * new Jodit('#editor', {
25
+ * Jodit.make('#editor', {
26
26
  * iframe: true,
27
27
  * iframeBaseUrl: 'https://xdsoft.net/jodit/docs/',
28
28
  * });
@@ -41,7 +41,7 @@ declare module 'jodit/config' {
41
41
  * Custom style to be used inside the iframe to display content.
42
42
  * @example
43
43
  * ```javascript
44
- * new Jodit('#editor', {
44
+ * Jodit.make('#editor', {
45
45
  * iframe: true,
46
46
  * iframeStyle: 'html{margin: 0px;}',
47
47
  * })
@@ -53,13 +53,25 @@ declare module 'jodit/config' {
53
53
  *
54
54
  * @example
55
55
  * ```javascript
56
- * new Jodit('#editor', {
56
+ * Jodit.make('#editor', {
57
57
  * iframe: true,
58
58
  * iframeCSSLinks: ['styles/default.css'],
59
59
  * })
60
60
  * ```
61
61
  */
62
62
  iframeCSSLinks: string[];
63
+ /**
64
+ * Custom sandbox attribute for the iframe.
65
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox
66
+ * ```javascript
67
+ * Jodit.make('#editor', {
68
+ * iframe: true,
69
+ * iframeSandbox: 'allow-same-origin allow-scripts'
70
+ * });
71
+ * ```
72
+ * Empty string value means that all restrictions are enabled.
73
+ */
74
+ iframeSandbox: string | null;
63
75
  }
64
76
  }
65
77
  export {};
@@ -7,4 +7,4 @@
7
7
  * Get style rule key for current direction
8
8
  * @internal
9
9
  */
10
- export declare const getKey: (direction: string, box: HTMLElement) => 'marginLeft' | 'marginRight' | 'paddingLeft' | 'paddingRight';
10
+ export declare const getKey: (direction: string, box: HTMLElement) => "marginLeft" | "marginRight" | "paddingLeft" | "paddingRight";
@@ -6,6 +6,6 @@
6
6
  /**
7
7
  * @module plugins/inline-popup
8
8
  */
9
- import type { IControlType, IJodit } from "../../../../types";
10
- declare const _default: (string | IControlType<IJodit | import("../../../../types").IViewBased<import("../../../../types").IViewOptions> | import("../../../../types").IFileBrowser<import("../../../../types").IFileBrowserOptions>, import("../../../../types").IToolbarButton>)[];
9
+ import type { IControlType } from "../../../../types";
10
+ declare const _default: Array<IControlType | string>;
11
11
  export default _default;
@@ -7,5 +7,5 @@
7
7
  * @module plugins/inline-popup
8
8
  */
9
9
  import type { IControlType } from "../../../../types";
10
- declare const _default: (string | IControlType<import("../../../../types").IJodit | import("../../../../types").IViewBased<import("../../../../types").IViewOptions> | import("../../../../types").IFileBrowser<import("../../../../types").IFileBrowserOptions>, import("../../../../types").IToolbarButton>)[];
10
+ declare const _default: Array<IControlType | string>;
11
11
  export default _default;
@@ -8,5 +8,5 @@
8
8
  */
9
9
  import type { IControlType, IJodit } from "../../../../types";
10
10
  export declare const align: IControlType<IJodit>;
11
- declare const _default: (string | IControlType<IJodit | import("../../../../types").IViewBased<import("../../../../types").IViewOptions> | import("../../../../types").IFileBrowser<import("../../../../types").IFileBrowserOptions>, import("../../../../types").IToolbarButton>)[];
11
+ declare const _default: Array<IControlType | string>;
12
12
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="ace" />
2
1
  /*!
3
2
  * Jodit Editor (https://xdsoft.net/jodit/)
4
3
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -7,4 +7,4 @@
7
7
  * @module plugins/speech-recognize
8
8
  */
9
9
  import type { ISpeechRecognizeConstructor } from "../interface";
10
- export declare const SpeechRecognition: ISpeechRecognizeConstructor;
10
+ export declare const SpeechRecognition: ISpeechRecognizeConstructor | undefined;
@@ -7,6 +7,7 @@ declare module 'jodit/config' {
7
7
  interface Config {
8
8
  showCharsCounter: boolean;
9
9
  countHTMLChars: boolean;
10
+ countTextSpaces: boolean;
10
11
  showWordsCounter: boolean;
11
12
  }
12
13
  }
@@ -22,6 +22,7 @@ import * as pl from "./pl.js";
22
22
  import * as pt_br from "./pt_br.js";
23
23
  import * as ru from "./ru.js";
24
24
  import * as tr from "./tr.js";
25
+ import * as ua from "./ua.js";
25
26
  import * as zh_cn from "./zh_cn.js";
26
27
  import * as zh_tw from "./zh_tw.js";
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 };
28
+ export { ar, cs_cz, de, es, fa, fi, fr, he, hu, id, it, ja, ko, mn, nl, pl, pt_br, ru, tr, ua, zh_cn, zh_tw };
@@ -0,0 +1 @@
1
+ export let symbols: string;
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+ import "classlist-polyfill";
7
+ import "es6-promise/auto";
8
+ import "core-js/es/symbol";
9
+ import "core-js/es/array/find-index";
10
+ import "core-js/es/array/from";
@@ -35,7 +35,7 @@
35
35
 
36
36
  "importHelpers": true,
37
37
 
38
- "lib": ["es5", "esnext", "DOM", "scripthost", "es2015.iterable"],
38
+ "lib": ["esnext", "DOM", "scripthost", "es2015.iterable"],
39
39
 
40
40
  "baseUrl": ".",
41
41
  "paths": {