jodit 4.0.15 → 4.0.16
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 +10 -5
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +12 -6
- 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 +12 -6
- 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 +12 -6
- 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 +12 -6
- 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 +12 -6
- 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/jodit.js +10 -4
- package/esm/modules/toolbar/button/button.d.ts +1 -1
- package/esm/plugins/inline-popup/config/items/a.d.ts +1 -1
- package/esm/plugins/inline-popup/config/items/cells.d.ts +1 -1
- package/esm/plugins/inline-popup/config/items/img.d.ts +1 -1
- package/package.json +1 -1
- package/types/modules/toolbar/button/button.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/a.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/cells.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/img.d.ts +1 -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.
|
|
4
|
+
* Version: v4.0.16
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -3084,7 +3084,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3084
3084
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
3085
3085
|
*/
|
|
3086
3086
|
|
|
3087
|
-
var APP_VERSION = "4.0.
|
|
3087
|
+
var APP_VERSION = "4.0.16";
|
|
3088
3088
|
// prettier-ignore
|
|
3089
3089
|
var ES = "es5";
|
|
3090
3090
|
var IS_ES_MODERN = false;
|
|
@@ -18262,6 +18262,9 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18262
18262
|
_this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_2__.Selection(_this);
|
|
18263
18263
|
var beforeInitHookResult = _this.beforeInitHook();
|
|
18264
18264
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, function () {
|
|
18265
|
+
if (_this.isInDestruct) {
|
|
18266
|
+
return;
|
|
18267
|
+
}
|
|
18265
18268
|
_this.e.fire('beforeInit', _this);
|
|
18266
18269
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .pluginSystem */ .pw.__init(_this);
|
|
18267
18270
|
_this.e.fire('afterPluginSystemInit', _this);
|
|
@@ -18273,6 +18276,9 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18273
18276
|
var addPlaceResult = _this.addPlace(element, options);
|
|
18274
18277
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .instances */ .as[_this.id] = _this;
|
|
18275
18278
|
var init = function () {
|
|
18279
|
+
if (_this.isInDestruct) {
|
|
18280
|
+
return;
|
|
18281
|
+
}
|
|
18276
18282
|
if (_this.e) {
|
|
18277
18283
|
_this.e.fire('afterInit', _this);
|
|
18278
18284
|
}
|
|
@@ -19458,10 +19464,6 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19458
19464
|
}
|
|
19459
19465
|
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_2__.STATUSES.beforeDestruct);
|
|
19460
19466
|
this.__elementToPlace.clear();
|
|
19461
|
-
if (!this.editor) {
|
|
19462
|
-
return;
|
|
19463
|
-
}
|
|
19464
|
-
var buffer = this.getEditorValue();
|
|
19465
19467
|
this.storage.clear();
|
|
19466
19468
|
this.buffer.clear();
|
|
19467
19469
|
this.commands.clear();
|
|
@@ -19470,8 +19472,12 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19470
19472
|
this.e.off(this.ow);
|
|
19471
19473
|
this.e.off(this.od);
|
|
19472
19474
|
this.e.off(this.od.body);
|
|
19475
|
+
var buffer = this.editor ? this.getEditorValue() : '';
|
|
19473
19476
|
this.places.forEach(function (_a) {
|
|
19474
19477
|
var container = _a.container, workplace = _a.workplace, statusbar = _a.statusbar, element = _a.element, iframe = _a.iframe, editor = _a.editor, history = _a.history;
|
|
19478
|
+
if (!element) {
|
|
19479
|
+
return;
|
|
19480
|
+
}
|
|
19475
19481
|
if (element !== container) {
|
|
19476
19482
|
if (element.hasAttribute(__defaultStyleDisplayKey)) {
|
|
19477
19483
|
var display = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(element, __defaultStyleDisplayKey);
|
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.
|
|
4
|
+
* Version: v4.0.16
|
|
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.
|
|
11
|
+
* Version: v4.0.16
|
|
12
12
|
* Url: https://xdsoft.net/jodit/
|
|
13
13
|
* License(s): MIT
|
|
14
14
|
*/
|