jodit 4.3.2 → 4.4.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.
Files changed (71) hide show
  1. package/es2015/jodit.css +1 -1
  2. package/es2015/jodit.fat.min.js +2 -2
  3. package/es2015/jodit.js +23 -23
  4. package/es2015/jodit.min.js +2 -2
  5. package/es2015/plugins/debug/debug.css +1 -1
  6. package/es2015/plugins/debug/debug.js +1 -1
  7. package/es2015/plugins/debug/debug.min.js +1 -1
  8. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  11. package/es2018/jodit.css +1 -1
  12. package/es2018/jodit.fat.min.js +2 -2
  13. package/es2018/jodit.js +23 -23
  14. package/es2018/jodit.min.js +2 -2
  15. package/es2018/plugins/debug/debug.css +1 -1
  16. package/es2018/plugins/debug/debug.js +1 -1
  17. package/es2018/plugins/debug/debug.min.js +1 -1
  18. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  20. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  21. package/es2021/jodit.css +1 -1
  22. package/es2021/jodit.fat.min.js +2 -2
  23. package/es2021/jodit.js +23 -23
  24. package/es2021/jodit.min.js +2 -2
  25. package/es2021/plugins/debug/debug.css +1 -1
  26. package/es2021/plugins/debug/debug.js +1 -1
  27. package/es2021/plugins/debug/debug.min.js +1 -1
  28. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  31. package/es2021.en/jodit.css +1 -1
  32. package/es2021.en/jodit.fat.min.js +2 -2
  33. package/es2021.en/jodit.js +23 -23
  34. package/es2021.en/jodit.min.js +2 -2
  35. package/es2021.en/plugins/debug/debug.css +1 -1
  36. package/es2021.en/plugins/debug/debug.js +1 -1
  37. package/es2021.en/plugins/debug/debug.min.js +1 -1
  38. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  39. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  40. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  41. package/es5/5.fat.min.js +2 -2
  42. package/es5/5.js +5 -5
  43. package/es5/5.min.js +2 -2
  44. package/es5/975.fat.min.js +10 -0
  45. package/es5/{164.js → 975.js} +2025 -1920
  46. package/es5/975.min.js +10 -0
  47. package/es5/jodit.css +2 -2
  48. package/es5/jodit.fat.min.js +2 -2
  49. package/es5/jodit.js +28 -24
  50. package/es5/jodit.min.css +2 -2
  51. package/es5/jodit.min.js +2 -2
  52. package/es5/plugins/debug/debug.css +1 -1
  53. package/es5/plugins/debug/debug.js +1 -1
  54. package/es5/plugins/debug/debug.min.js +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  56. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  57. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  58. package/esm/config2.d.ts +1632 -0
  59. package/esm/core/constants.js +1 -1
  60. package/esm/plugins/ai-assistant/config.d.ts +1 -62
  61. package/esm/plugins/ai-assistant/interface.d.ts +62 -0
  62. package/esm/plugins/ai-assistant/interface.js +1 -0
  63. package/esm/plugins/image-properties/config.d.ts +3 -0
  64. package/esm/plugins/image-properties/config.js +0 -3
  65. package/esm/polyfills.js +3 -3
  66. package/package.json +1 -1
  67. package/types/plugins/ai-assistant/config.d.ts +1 -62
  68. package/types/plugins/ai-assistant/interface.d.ts +62 -0
  69. package/types/plugins/image-properties/config.d.ts +3 -0
  70. package/es5/164.fat.min.js +0 -10
  71. package/es5/164.min.js +0 -10
@@ -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.3.2
4
+ * Version: v4.4.1
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -19,7 +19,7 @@
19
19
  return /******/ (function() { // webpackBootstrap
20
20
  /******/ var __webpack_modules__ = ({
21
21
 
22
- /***/ 26318:
22
+ /***/ 7865:
23
23
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
24
24
 
25
25
  "use strict";
@@ -27,18 +27,23 @@ return /******/ (function() { // webpackBootstrap
27
27
  /* harmony export */ Ay: function() { return /* binding */ autobind; }
28
28
  /* harmony export */ });
29
29
  /* unused harmony exports boundMethod, boundClass */
30
- function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
31
- _typeof = function _typeof(obj) { return typeof obj; };
30
+ function _typeof(obj) {
31
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
32
+ _typeof = function _typeof(obj) {
33
+ return typeof obj;
34
+ };
35
+ } else {
36
+ _typeof = function _typeof(obj) {
37
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
38
+ };
39
+ }
40
+ return _typeof(obj);
32
41
  }
33
- else {
34
- _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
35
- } return _typeof(obj); }
36
42
  /**
37
43
  * Return a descriptor removing the value and returning a getter
38
44
  * The getter will return a .bind version of the function
39
45
  * and memoize the result against a symbol on the instance
40
- */
41
- function boundMethod(target, key, descriptor) {
46
+ */ function boundMethod(target, key, descriptor) {
42
47
  var fn = descriptor.value;
43
48
  if (typeof fn !== 'function') {
44
49
  throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
@@ -75,20 +80,18 @@ function boundMethod(target, key, descriptor) {
75
80
  }
76
81
  /**
77
82
  * Use boundMethod to bind all methods on the target.prototype
78
- */
79
- function boundClass(target) {
83
+ */ function boundClass(target) {
80
84
  // (Using reflect to get all keys including symbols)
81
85
  var keys; // Use Reflect if exists
82
86
  if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
83
87
  keys = Reflect.ownKeys(target.prototype);
84
- }
85
- else {
88
+ } else {
86
89
  keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
87
90
  if (typeof Object.getOwnPropertySymbols === 'function') {
88
91
  keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
89
92
  }
90
93
  }
91
- keys.forEach(function (key) {
94
+ keys.forEach(function(key) {
92
95
  // Ignore special case target method
93
96
  if (key === 'constructor') {
94
97
  return;
@@ -1740,7 +1743,7 @@ __webpack_require__.r(__webpack_exports__);
1740
1743
  * Released under MIT see LICENSE.txt in the project root for license information.
1741
1744
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1742
1745
  */
1743
- const APP_VERSION = "4.3.2";
1746
+ const APP_VERSION = "4.4.1";
1744
1747
  // prettier-ignore
1745
1748
  const ES = "es2021";
1746
1749
  const IS_ES_MODERN = true;
@@ -2130,7 +2133,7 @@ class Create {
2130
2133
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2131
2134
  /* harmony export */ d: function() { return /* reexport safe */ autobind_decorator__WEBPACK_IMPORTED_MODULE_0__.Ay; }
2132
2135
  /* harmony export */ });
2133
- /* harmony import */ var autobind_decorator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26318);
2136
+ /* harmony import */ var autobind_decorator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7865);
2134
2137
  /*!
2135
2138
  * Jodit Editor (https://xdsoft.net/jodit/)
2136
2139
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -9749,7 +9752,7 @@ Plugin.requires = [];
9749
9752
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
9750
9753
  /* harmony import */ var jodit_core_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64890);
9751
9754
  /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
9752
- /* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(26318);
9755
+ /* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7865);
9753
9756
  /* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
9754
9757
  /* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50156);
9755
9758
  /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
@@ -15930,7 +15933,7 @@ class ProgressBar extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__/* .
15930
15933
  /* harmony export */ });
15931
15934
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(31635);
15932
15935
  /* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64567);
15933
- /* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(26318);
15936
+ /* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(7865);
15934
15937
  /* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66927);
15935
15938
  /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55186);
15936
15939
  /* harmony import */ var jodit_core_helpers_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32709);
@@ -31018,9 +31021,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
31018
31021
  * Released under MIT see LICENSE.txt in the project root for license information.
31019
31022
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
31020
31023
  */
31021
- /**
31022
- * @module plugins/image-properties
31023
- */
31024
31024
 
31025
31025
  jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
31026
31026
  dialogWidth: 600,
@@ -34086,7 +34086,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
34086
34086
  /* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
34087
34087
  /* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73533);
34088
34088
  /* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
34089
- /* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
34089
+ /* harmony import */ var jodit_plugins_link_template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
34090
34090
  /*!
34091
34091
  * Jodit Editor (https://xdsoft.net/jodit/)
34092
34092
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -34099,7 +34099,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
34099
34099
 
34100
34100
 
34101
34101
  jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
34102
- formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
34102
+ formTemplate: jodit_plugins_link_template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
34103
34103
  followOnDblClick: false,
34104
34104
  processVideoLink: true,
34105
34105
  processPastedLink: true,