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.
- 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/config2.d.ts +1632 -0
- 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/es2015/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.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
|
-
/***/
|
|
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.1";
|
|
1743
1746
|
// prettier-ignore
|
|
1744
1747
|
const ES = "es2015";
|
|
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.
|
|
@@ -9775,7 +9778,7 @@ Plugin.requires = [];
|
|
|
9775
9778
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
9776
9779
|
/* harmony import */ var jodit_core_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64890);
|
|
9777
9780
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
9778
|
-
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
9781
|
+
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7865);
|
|
9779
9782
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
9780
9783
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50156);
|
|
9781
9784
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
@@ -15924,7 +15927,7 @@ class ProgressBar extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__/* .
|
|
|
15924
15927
|
/* harmony export */ });
|
|
15925
15928
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(31635);
|
|
15926
15929
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64567);
|
|
15927
|
-
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
15930
|
+
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(7865);
|
|
15928
15931
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66927);
|
|
15929
15932
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55186);
|
|
15930
15933
|
/* harmony import */ var jodit_core_helpers_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32709);
|
|
@@ -31498,9 +31501,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31498
31501
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31499
31502
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31500
31503
|
*/
|
|
31501
|
-
/**
|
|
31502
|
-
* @module plugins/image-properties
|
|
31503
|
-
*/
|
|
31504
31504
|
|
|
31505
31505
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31506
31506
|
dialogWidth: 600,
|
|
@@ -35000,7 +35000,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35000
35000
|
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35001
35001
|
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73533);
|
|
35002
35002
|
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35003
|
-
/* harmony import */ var
|
|
35003
|
+
/* harmony import */ var jodit_plugins_link_template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
|
|
35004
35004
|
/*!
|
|
35005
35005
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35006
35006
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35013,7 +35013,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35013
35013
|
|
|
35014
35014
|
|
|
35015
35015
|
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
35016
|
-
formTemplate:
|
|
35016
|
+
formTemplate: jodit_plugins_link_template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
35017
35017
|
followOnDblClick: false,
|
|
35018
35018
|
processVideoLink: true,
|
|
35019
35019
|
processPastedLink: true,
|