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/es2018/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
|
*/
|
|
@@ -1715,7 +1715,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1715
1715
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
1716
1716
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1717
1717
|
*/
|
|
1718
|
-
const APP_VERSION = "4.0.0-beta.
|
|
1718
|
+
const APP_VERSION = "4.0.0-beta.95";
|
|
1719
1719
|
// prettier-ignore
|
|
1720
1720
|
const ES = "es2018";
|
|
1721
1721
|
const IS_ES_MODERN = true;
|
|
@@ -15824,7 +15824,10 @@ let View = View_1 = class View extends jodit_modules__WEBPACK_IMPORTED_MODULE_3_
|
|
|
15824
15824
|
return jodit_core_storage__WEBPACK_IMPORTED_MODULE_0__/* .Storage */ .Ke.makeStorage();
|
|
15825
15825
|
}
|
|
15826
15826
|
get message() {
|
|
15827
|
-
return
|
|
15827
|
+
return this.getMessageModule(this.container);
|
|
15828
|
+
}
|
|
15829
|
+
getMessageModule(container) {
|
|
15830
|
+
return new jodit_modules_messages_messages__WEBPACK_IMPORTED_MODULE_8__/* .UIMessages */ .D(this, container);
|
|
15828
15831
|
}
|
|
15829
15832
|
/**
|
|
15830
15833
|
* Container for persistent set/get value
|
|
@@ -16216,6 +16219,9 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16216
16219
|
get workplace() {
|
|
16217
16220
|
return this.currentPlace.workplace;
|
|
16218
16221
|
}
|
|
16222
|
+
get message() {
|
|
16223
|
+
return this.getMessageModule(this.workplace);
|
|
16224
|
+
}
|
|
16219
16225
|
/**
|
|
16220
16226
|
* Statusbar module
|
|
16221
16227
|
*/
|
|
@@ -17303,6 +17309,9 @@ Jodit.core = {
|
|
|
17303
17309
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .gn)([
|
|
17304
17310
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.cache
|
|
17305
17311
|
], Jodit.prototype, "createInside", null);
|
|
17312
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .gn)([
|
|
17313
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.cache
|
|
17314
|
+
], Jodit.prototype, "message", null);
|
|
17306
17315
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .gn)([
|
|
17307
17316
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.cache
|
|
17308
17317
|
], Jodit.prototype, "s", null);
|
|
@@ -24061,7 +24070,12 @@ function send(uploader, data) {
|
|
|
24061
24070
|
.send()
|
|
24062
24071
|
.then(resp => resp.json())
|
|
24063
24072
|
.catch(error => {
|
|
24064
|
-
|
|
24073
|
+
return {
|
|
24074
|
+
success: false,
|
|
24075
|
+
data: {
|
|
24076
|
+
messages: [error]
|
|
24077
|
+
}
|
|
24078
|
+
};
|
|
24065
24079
|
})
|
|
24066
24080
|
.finally(() => {
|
|
24067
24081
|
ajax.destruct();
|