jodit 4.0.0-beta.94 → 4.0.0-beta.95
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/CHANGELOG.md +9 -5
- package/README.md +5 -5
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +18 -4
- package/es2015/jodit.min.js +2 -2
- 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 +18 -4
- package/es2018/jodit.min.js +2 -2
- 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 +18 -4
- package/es2021/jodit.min.js +2 -2
- 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 +18 -4
- package/es2021.en/jodit.min.js +2 -2
- 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/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +22 -4
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- 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/constants.js +1 -1
- package/esm/core/view/view.d.ts +1 -0
- package/esm/core/view/view.js +4 -1
- package/esm/jodit.d.ts +2 -1
- package/esm/jodit.js +6 -0
- package/esm/modules/uploader/helpers/send.js +6 -1
- package/package.json +1 -1
- package/types/core/view/view.d.ts +1 -0
- package/types/jodit.d.ts +2 -1
package/es5/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.0.0-beta.
|
|
4
|
+
* Version: v4.0.0-beta.95
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -3108,7 +3108,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3108
3108
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
3109
3109
|
*/
|
|
3110
3110
|
|
|
3111
|
-
var APP_VERSION = "4.0.0-beta.
|
|
3111
|
+
var APP_VERSION = "4.0.0-beta.95";
|
|
3112
3112
|
// prettier-ignore
|
|
3113
3113
|
var ES = "es5";
|
|
3114
3114
|
var IS_ES_MODERN = false;
|
|
@@ -17879,11 +17879,14 @@ var View = /** @class */ (function (_super) {
|
|
|
17879
17879
|
});
|
|
17880
17880
|
Object.defineProperty(View.prototype, "message", {
|
|
17881
17881
|
get: function () {
|
|
17882
|
-
return
|
|
17882
|
+
return this.getMessageModule(this.container);
|
|
17883
17883
|
},
|
|
17884
17884
|
enumerable: false,
|
|
17885
17885
|
configurable: true
|
|
17886
17886
|
});
|
|
17887
|
+
View.prototype.getMessageModule = function (container) {
|
|
17888
|
+
return new jodit_modules_messages_messages__WEBPACK_IMPORTED_MODULE_9__/* .UIMessages */ .D(this, container);
|
|
17889
|
+
};
|
|
17887
17890
|
Object.defineProperty(View.prototype, "storage", {
|
|
17888
17891
|
/**
|
|
17889
17892
|
* Container for persistent set/get value
|
|
@@ -18409,6 +18412,13 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18409
18412
|
enumerable: false,
|
|
18410
18413
|
configurable: true
|
|
18411
18414
|
});
|
|
18415
|
+
Object.defineProperty(Jodit.prototype, "message", {
|
|
18416
|
+
get: function () {
|
|
18417
|
+
return this.getMessageModule(this.workplace);
|
|
18418
|
+
},
|
|
18419
|
+
enumerable: false,
|
|
18420
|
+
configurable: true
|
|
18421
|
+
});
|
|
18412
18422
|
Object.defineProperty(Jodit.prototype, "statusbar", {
|
|
18413
18423
|
/**
|
|
18414
18424
|
* Statusbar module
|
|
@@ -19506,6 +19516,9 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19506
19516
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .gn)([
|
|
19507
19517
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.cache
|
|
19508
19518
|
], Jodit.prototype, "createInside", null);
|
|
19519
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .gn)([
|
|
19520
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.cache
|
|
19521
|
+
], Jodit.prototype, "message", null);
|
|
19509
19522
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .gn)([
|
|
19510
19523
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.cache
|
|
19511
19524
|
], Jodit.prototype, "s", null);
|
|
@@ -26439,7 +26452,12 @@ function send(uploader, data) {
|
|
|
26439
26452
|
.send()
|
|
26440
26453
|
.then(function (resp) { return resp.json(); })
|
|
26441
26454
|
.catch(function (error) {
|
|
26442
|
-
|
|
26455
|
+
return {
|
|
26456
|
+
success: false,
|
|
26457
|
+
data: {
|
|
26458
|
+
messages: [error]
|
|
26459
|
+
}
|
|
26460
|
+
};
|
|
26443
26461
|
})
|
|
26444
26462
|
.finally(function () {
|
|
26445
26463
|
ajax.destruct();
|
package/es5/jodit.min.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.0.0-beta.
|
|
4
|
+
* Version: v4.0.0-beta.95
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
8
8
|
/*!
|
|
9
9
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
10
10
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
11
|
-
* Version: v4.0.0-beta.
|
|
11
|
+
* Version: v4.0.0-beta.95
|
|
12
12
|
* Url: https://xdsoft.net/jodit/
|
|
13
13
|
* License(s): MIT
|
|
14
14
|
*/
|