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/es2021.en/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;
|
|
@@ -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.
|
|
1746
|
+
const APP_VERSION = "4.4.2";
|
|
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__(
|
|
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__(
|
|
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__(
|
|
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
|
|
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:
|
|
34102
|
+
formTemplate: jodit_plugins_link_template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
34103
34103
|
followOnDblClick: false,
|
|
34104
34104
|
processVideoLink: true,
|
|
34105
34105
|
processPastedLink: true,
|