jodit 4.3.2 → 4.4.2
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/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +23 -23
- package/es2015/jodit.min.js +2 -2
- 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.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +23 -23
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.css +1 -1
- 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 +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +23 -23
- package/es2021/jodit.min.js +2 -2
- 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 +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +23 -23
- package/es2021.en/jodit.min.js +2 -2
- 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/5.fat.min.js +2 -2
- package/es5/5.js +5 -5
- package/es5/5.min.js +2 -2
- package/es5/975.fat.min.js +10 -0
- package/es5/{164.js → 975.js} +2025 -1920
- package/es5/975.min.js +10 -0
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +28 -24
- package/es5/jodit.min.css +2 -2
- 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/esm/config.d.ts +1565 -633
- package/esm/core/constants.js +1 -1
- package/esm/plugins/ai-assistant/config.d.ts +1 -62
- package/esm/plugins/ai-assistant/interface.d.ts +62 -0
- package/esm/plugins/ai-assistant/interface.js +1 -0
- package/esm/plugins/image-properties/config.d.ts +3 -0
- package/esm/plugins/image-properties/config.js +0 -3
- package/esm/polyfills.js +3 -3
- package/package.json +1 -1
- package/types/plugins/ai-assistant/config.d.ts +1 -62
- package/types/plugins/ai-assistant/interface.d.ts +62 -0
- package/types/plugins/image-properties/config.d.ts +3 -0
- package/es5/164.fat.min.js +0 -10
- package/es5/164.min.js +0 -10
package/es2018/jodit.js
CHANGED
|
@@ -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.
|
|
4
|
+
* Version: v4.4.2
|
|
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
|
-
/***/
|
|
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) {
|
|
31
|
-
|
|
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
|
|
94
|
+
keys.forEach(function(key) {
|
|
92
95
|
// Ignore special case target method
|
|
93
96
|
if (key === 'constructor') {
|
|
94
97
|
return;
|
|
@@ -1739,7 +1742,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1739
1742
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
1740
1743
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1741
1744
|
*/
|
|
1742
|
-
const APP_VERSION = "4.
|
|
1745
|
+
const APP_VERSION = "4.4.2";
|
|
1743
1746
|
// prettier-ignore
|
|
1744
1747
|
const ES = "es2018";
|
|
1745
1748
|
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__(
|
|
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.
|
|
@@ -9769,7 +9772,7 @@ Plugin.requires = [];
|
|
|
9769
9772
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
9770
9773
|
/* harmony import */ var jodit_core_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64890);
|
|
9771
9774
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
9772
|
-
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
9775
|
+
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7865);
|
|
9773
9776
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
9774
9777
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50156);
|
|
9775
9778
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
@@ -15981,7 +15984,7 @@ class ProgressBar extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__/* .
|
|
|
15981
15984
|
/* harmony export */ });
|
|
15982
15985
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(31635);
|
|
15983
15986
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64567);
|
|
15984
|
-
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
15987
|
+
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(7865);
|
|
15985
15988
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66927);
|
|
15986
15989
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55186);
|
|
15987
15990
|
/* harmony import */ var jodit_core_helpers_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32709);
|
|
@@ -31589,9 +31592,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31589
31592
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31590
31593
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31591
31594
|
*/
|
|
31592
|
-
/**
|
|
31593
|
-
* @module plugins/image-properties
|
|
31594
|
-
*/
|
|
31595
31595
|
|
|
31596
31596
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31597
31597
|
dialogWidth: 600,
|
|
@@ -35075,7 +35075,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35075
35075
|
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35076
35076
|
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73533);
|
|
35077
35077
|
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35078
|
-
/* harmony import */ var
|
|
35078
|
+
/* harmony import */ var jodit_plugins_link_template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
|
|
35079
35079
|
/*!
|
|
35080
35080
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35081
35081
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35088,7 +35088,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35088
35088
|
|
|
35089
35089
|
|
|
35090
35090
|
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
35091
|
-
formTemplate:
|
|
35091
|
+
formTemplate: jodit_plugins_link_template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
35092
35092
|
followOnDblClick: false,
|
|
35093
35093
|
processVideoLink: true,
|
|
35094
35094
|
processPastedLink: true,
|