jodit 4.5.5 → 4.5.9
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 +19 -16
- 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 +15 -10
- 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 +15 -10
- 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 +15 -10
- 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/415.fat.min.js +10 -0
- package/es5/{975.js → 415.js} +604 -604
- package/es5/415.min.js +10 -0
- package/es5/5.fat.min.js +2 -2
- package/es5/5.js +5 -5
- package/es5/5.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +26 -25
- 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/core/async/async.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/helpers/utils/append-script.d.ts +1 -4
- package/esm/core/helpers/utils/append-script.js +2 -2
- package/esm/jodit.d.ts +3 -0
- package/esm/jodit.js +4 -1
- package/package.json +1 -1
- package/types/core/helpers/utils/append-script.d.ts +1 -4
- package/types/jodit.d.ts +3 -0
- package/es5/975.fat.min.js +0 -10
- package/es5/975.min.js +0 -10
package/es5/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.5.
|
|
4
|
+
* Version: v4.5.9
|
|
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
|
+
/***/ 52201:
|
|
23
23
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
24
24
|
|
|
25
25
|
"use strict";
|
|
@@ -1344,6 +1344,7 @@ var Async = /** @class */ (function () {
|
|
|
1344
1344
|
return Promise.race([p, t]).then(function (v) { return (v === t ? 'pending' : 'fulfilled'); }, function () { return 'rejected'; });
|
|
1345
1345
|
};
|
|
1346
1346
|
Async.prototype.requestIdleCallback = function (callback, options) {
|
|
1347
|
+
if (options === void 0) { options = { timeout: 100 }; }
|
|
1347
1348
|
var request = this.requestIdleCallbackNative(callback, options);
|
|
1348
1349
|
this.requestsIdle.add(request);
|
|
1349
1350
|
return request;
|
|
@@ -1849,7 +1850,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1849
1850
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1850
1851
|
*/
|
|
1851
1852
|
|
|
1852
|
-
var APP_VERSION = "4.5.
|
|
1853
|
+
var APP_VERSION = "4.5.9";
|
|
1853
1854
|
// prettier-ignore
|
|
1854
1855
|
var ES = "es5";
|
|
1855
1856
|
var IS_ES_MODERN = false;
|
|
@@ -2248,7 +2249,7 @@ var Create = /** @class */ (function () {
|
|
|
2248
2249
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2249
2250
|
/* harmony export */ d: function() { return /* reexport safe */ autobind_decorator__WEBPACK_IMPORTED_MODULE_0__.Ay; }
|
|
2250
2251
|
/* harmony export */ });
|
|
2251
|
-
/* harmony import */ var autobind_decorator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2252
|
+
/* harmony import */ var autobind_decorator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52201);
|
|
2252
2253
|
/*!
|
|
2253
2254
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
2254
2255
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7768,13 +7769,13 @@ function alignElement(command, box) {
|
|
|
7768
7769
|
|
|
7769
7770
|
"use strict";
|
|
7770
7771
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7772
|
+
/* harmony export */ EW: function() { return /* binding */ alreadyLoadedList; },
|
|
7771
7773
|
/* harmony export */ Qt: function() { return /* binding */ loadNext; },
|
|
7772
7774
|
/* harmony export */ S5: function() { return /* binding */ appendStyleAsync; },
|
|
7773
7775
|
/* harmony export */ w4: function() { return /* binding */ appendScriptAsync; },
|
|
7774
7776
|
/* harmony export */ x_: function() { return /* binding */ loadNextStyle; }
|
|
7775
7777
|
/* harmony export */ });
|
|
7776
|
-
/* harmony import */ var
|
|
7777
|
-
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
7778
|
+
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(98253);
|
|
7778
7779
|
/* harmony import */ var _complete_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(60346);
|
|
7779
7780
|
/*!
|
|
7780
7781
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -7783,20 +7784,16 @@ function alignElement(command, box) {
|
|
|
7783
7784
|
*/
|
|
7784
7785
|
|
|
7785
7786
|
|
|
7786
|
-
|
|
7787
7787
|
var alreadyLoadedList = new Map();
|
|
7788
7788
|
var cacheLoaders = function (loader) {
|
|
7789
|
-
return function (jodit, url) {
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
return [2 /*return*/, promise];
|
|
7798
|
-
});
|
|
7799
|
-
}); };
|
|
7789
|
+
return function (jodit, url) {
|
|
7790
|
+
if (alreadyLoadedList.has(url)) {
|
|
7791
|
+
return alreadyLoadedList.get(url);
|
|
7792
|
+
}
|
|
7793
|
+
var promise = loader(jodit, url);
|
|
7794
|
+
alreadyLoadedList.set(url, promise);
|
|
7795
|
+
return promise;
|
|
7796
|
+
};
|
|
7800
7797
|
};
|
|
7801
7798
|
/**
|
|
7802
7799
|
* Load script and return promise
|
|
@@ -7843,7 +7840,7 @@ var appendStyleAsync = cacheLoaders(function (jodit, url) {
|
|
|
7843
7840
|
});
|
|
7844
7841
|
function loadNext(jodit, urls, i) {
|
|
7845
7842
|
if (i === void 0) { i = 0; }
|
|
7846
|
-
if (!(0,
|
|
7843
|
+
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .K)(urls[i])) {
|
|
7847
7844
|
return Promise.resolve();
|
|
7848
7845
|
}
|
|
7849
7846
|
return appendScriptAsync(jodit, urls[i]).then(function () {
|
|
@@ -7852,7 +7849,7 @@ function loadNext(jodit, urls, i) {
|
|
|
7852
7849
|
}
|
|
7853
7850
|
function loadNextStyle(jodit, urls, i) {
|
|
7854
7851
|
if (i === void 0) { i = 0; }
|
|
7855
|
-
if (!(0,
|
|
7852
|
+
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .K)(urls[i])) {
|
|
7856
7853
|
return Promise.resolve();
|
|
7857
7854
|
}
|
|
7858
7855
|
return appendStyleAsync(jodit, urls[i]).then(function () {
|
|
@@ -8840,6 +8837,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8840
8837
|
/* harmony export */ OptionsError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.ZW; },
|
|
8841
8838
|
/* harmony export */ abort: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.h2; },
|
|
8842
8839
|
/* harmony export */ alignElement: function() { return /* reexport safe */ _align__WEBPACK_IMPORTED_MODULE_0__.Op; },
|
|
8840
|
+
/* harmony export */ alreadyLoadedList: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_1__.EW; },
|
|
8843
8841
|
/* harmony export */ appendScriptAsync: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_1__.w4; },
|
|
8844
8842
|
/* harmony export */ appendStyleAsync: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_1__.S5; },
|
|
8845
8843
|
/* harmony export */ attr: function() { return /* reexport safe */ _attr__WEBPACK_IMPORTED_MODULE_3__.C; },
|
|
@@ -8892,7 +8890,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8892
8890
|
/* harmony import */ var _assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28712);
|
|
8893
8891
|
/* harmony import */ var _assert__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_assert__WEBPACK_IMPORTED_MODULE_2__);
|
|
8894
8892
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
8895
|
-
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _assert__WEBPACK_IMPORTED_MODULE_2__) if(["default","alignElement","clearAlign","hAlignElement","appendScriptAsync","appendStyleAsync","loadNext","loadNextStyle"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = function(key) { return _assert__WEBPACK_IMPORTED_MODULE_2__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
|
|
8893
|
+
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _assert__WEBPACK_IMPORTED_MODULE_2__) if(["default","alignElement","clearAlign","hAlignElement","alreadyLoadedList","appendScriptAsync","appendStyleAsync","loadNext","loadNextStyle"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = function(key) { return _assert__WEBPACK_IMPORTED_MODULE_2__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
|
|
8896
8894
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
8897
8895
|
/* harmony import */ var _attr__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26150);
|
|
8898
8896
|
/* harmony import */ var _browser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65717);
|
|
@@ -10219,7 +10217,7 @@ var Plugin = /** @class */ (function (_super) {
|
|
|
10219
10217
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
10220
10218
|
/* harmony import */ var jodit_core_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64890);
|
|
10221
10219
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
10222
|
-
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
10220
|
+
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(52201);
|
|
10223
10221
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
10224
10222
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50156);
|
|
10225
10223
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
@@ -16734,7 +16732,7 @@ var ProgressBar = /** @class */ (function (_super) {
|
|
|
16734
16732
|
/* harmony export */ });
|
|
16735
16733
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(31635);
|
|
16736
16734
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64567);
|
|
16737
|
-
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
16735
|
+
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(52201);
|
|
16738
16736
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66927);
|
|
16739
16737
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55186);
|
|
16740
16738
|
/* harmony import */ var jodit_core_helpers_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32709);
|
|
@@ -17433,9 +17431,12 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
17433
17431
|
});
|
|
17434
17432
|
};
|
|
17435
17433
|
Object.defineProperty(Jodit, "ready", {
|
|
17434
|
+
/**
|
|
17435
|
+
* @deprecated I don't know why I wrote itp
|
|
17436
|
+
*/
|
|
17436
17437
|
get: function () {
|
|
17437
17438
|
return new Promise(function (resolve) {
|
|
17438
|
-
jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .eventEmitter */ .RR.on('
|
|
17439
|
+
jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .eventEmitter */ .RR.on('joditready', resolve);
|
|
17439
17440
|
});
|
|
17440
17441
|
},
|
|
17441
17442
|
enumerable: false,
|
|
@@ -46866,7 +46867,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
46866
46867
|
if (typeof process !== 'undefined' &&
|
|
46867
46868
|
_core_constants__WEBPACK_IMPORTED_MODULE_2__.ES === 'es5' &&
|
|
46868
46869
|
typeof window !== 'undefined') {
|
|
46869
|
-
Promise.all(/* import() */[__webpack_require__.e(
|
|
46870
|
+
Promise.all(/* import() */[__webpack_require__.e(415), __webpack_require__.e(5)]).then(__webpack_require__.bind(__webpack_require__, 19005));
|
|
46870
46871
|
}
|
|
46871
46872
|
// JODIT-SECTION-END:POLYFILLS
|
|
46872
46873
|
// copy constants in Jodit
|
package/es5/jodit.min.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.5.
|
|
4
|
+
* Version: v4.5.9
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
8
8
|
/*!
|
|
9
9
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
10
10
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
11
|
-
* Version: v4.5.
|
|
11
|
+
* Version: v4.5.9
|
|
12
12
|
* Url: https://xdsoft.net/jodit/
|
|
13
13
|
* License(s): MIT
|
|
14
14
|
*/
|