jodit 4.8.3 → 4.8.5
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 +6 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +4 -4
- package/es2015/jodit.js +15 -14
- package/es2015/jodit.min.js +4 -4
- 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.fat.min.js +4 -4
- package/es2018/jodit.min.js +4 -4
- package/es2018/plugins/debug/debug.min.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 +4 -4
- package/es2021/jodit.js +15 -14
- package/es2021/jodit.min.js +4 -4
- 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 +4 -4
- package/es2021.en/jodit.js +15 -14
- package/es2021.en/jodit.min.js +4 -4
- 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/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +18 -14
- 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/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/modules/toolbar/collection/collection.js +3 -2
- package/esm/plugins/size/size.d.ts +1 -0
- package/esm/plugins/size/size.js +4 -1
- package/esm/plugins/source/editor/engines/ace.js +8 -10
- package/esm/plugins/source/editor/engines/area.js +1 -1
- package/package.json +1 -1
- package/types/plugins/size/size.d.ts +1 -0
- package/.nvmrc +0 -1
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.8.
|
|
4
|
+
* Version: v4.8.5
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -21292,7 +21292,7 @@ var ToolbarCollection = /*#__PURE__*/ function(UIList) {
|
|
|
21292
21292
|
var _this;
|
|
21293
21293
|
_this = (0,_swc_helpers_call_super__WEBPACK_IMPORTED_MODULE_0__._)(this, ToolbarCollection, [
|
|
21294
21294
|
jodit
|
|
21295
|
-
]), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "__listenEvents", 'updatePlugins updateToolbar changeStack mousedown mouseup keydown change
|
|
21295
|
+
]), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "__listenEvents", 'updatePlugins updateToolbar changeStack mousedown mouseup keydown change readonly afterResize ' + 'selectionchange changeSelection focus afterSetMode touchstart focus blur');
|
|
21296
21296
|
return _this;
|
|
21297
21297
|
}
|
|
21298
21298
|
(0,_swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__._)(ToolbarCollection, [
|
|
@@ -21424,6 +21424,7 @@ var ToolbarCollection = /*#__PURE__*/ function(UIList) {
|
|
|
21424
21424
|
return ToolbarCollection;
|
|
21425
21425
|
}(jodit_core_ui__WEBPACK_IMPORTED_MODULE_11__.UIList);
|
|
21426
21426
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_8__.__decorate)([
|
|
21427
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.watch)(':afterInit'),
|
|
21427
21428
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_9__.autobind
|
|
21428
21429
|
], ToolbarCollection.prototype, "__immediateUpdate", null);
|
|
21429
21430
|
(0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_8__.__decorate)([
|
|
@@ -22850,7 +22851,7 @@ function _array_with_holes(arr) {
|
|
|
22850
22851
|
editor.e.on('setHeight.size', this.__setHeight).on('setWidth.size', this.__setWidth).on('afterInit.size changePlace.size', this.__initialize, {
|
|
22851
22852
|
top: true
|
|
22852
22853
|
}).on(editor.ow, 'load.size', this.__resizeWorkspaces).on('afterInit.size resize.size afterUpdateToolbar.size ' + 'scroll.size afterResize.size', this.__resizeWorkspaces).on('toggleFullSize.size toggleToolbar.size', this.__resizeWorkspaceImd);
|
|
22853
|
-
this.
|
|
22854
|
+
this.__immediateInitialize();
|
|
22854
22855
|
}
|
|
22855
22856
|
},
|
|
22856
22857
|
{
|
|
@@ -22858,6 +22859,12 @@ function _array_with_holes(arr) {
|
|
|
22858
22859
|
value: /**
|
|
22859
22860
|
* Set editor size by options
|
|
22860
22861
|
*/ function __initialize() {
|
|
22862
|
+
this.__immediateInitialize();
|
|
22863
|
+
}
|
|
22864
|
+
},
|
|
22865
|
+
{
|
|
22866
|
+
key: "__immediateInitialize",
|
|
22867
|
+
value: function __immediateInitialize() {
|
|
22861
22868
|
var j = this.j;
|
|
22862
22869
|
if (j.o.inline) {
|
|
22863
22870
|
return;
|
|
@@ -23346,7 +23353,7 @@ var TextAreaEditor = /*#__PURE__*/ function(SourceEditor) {
|
|
|
23346
23353
|
_this = (0,_swc_helpers_call_super__WEBPACK_IMPORTED_MODULE_0__._)(this, TextAreaEditor, arguments), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(_this, "autosize", _this.j.async.debounce(function() {
|
|
23347
23354
|
_this.instance.style.height = 'auto';
|
|
23348
23355
|
_this.instance.style.height = _this.instance.scrollHeight + 'px';
|
|
23349
|
-
}, _this.j.defaultTimeout));
|
|
23356
|
+
}, _this.j.defaultTimeout, true));
|
|
23350
23357
|
return _this;
|
|
23351
23358
|
}
|
|
23352
23359
|
(0,_swc_helpers_create_class__WEBPACK_IMPORTED_MODULE_2__._)(TextAreaEditor, [
|
|
@@ -41091,7 +41098,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
41091
41098
|
* @packageDocumentation
|
|
41092
41099
|
* @module constants
|
|
41093
41100
|
*/
|
|
41094
|
-
var APP_VERSION = "4.8.
|
|
41101
|
+
var APP_VERSION = "4.8.5";
|
|
41095
41102
|
// prettier-ignore
|
|
41096
41103
|
var ES = "es5";
|
|
41097
41104
|
var IS_ES_MODERN = false;
|
|
@@ -47274,21 +47281,18 @@ var AceEditor = /*#__PURE__*/ function(SourceEditor) {
|
|
|
47274
47281
|
onResize();
|
|
47275
47282
|
_this.onReady();
|
|
47276
47283
|
};
|
|
47277
|
-
|
|
47278
|
-
if (editor.getRealMode() !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.MODE_SOURCE && editor.getMode() !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.MODE_SPLIT) {
|
|
47284
|
+
var initAceEditor = function initAceEditor() {
|
|
47285
|
+
if (editor.isInDestruct || editor.getRealMode() !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.MODE_SOURCE && editor.getMode() !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_5__.MODE_SPLIT) {
|
|
47279
47286
|
return;
|
|
47280
47287
|
}
|
|
47281
47288
|
_this.fromWYSIWYG();
|
|
47282
47289
|
tryInitAceEditor();
|
|
47283
|
-
}
|
|
47284
|
-
|
|
47290
|
+
};
|
|
47291
|
+
editor.e.on('afterSetMode', initAceEditor);
|
|
47292
|
+
initAceEditor();
|
|
47285
47293
|
// global add ace editor in browser
|
|
47286
47294
|
if (!this.aceExists()) {
|
|
47287
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.loadNext)(editor, editor.o.sourceEditorCDNUrlsJS).then(function() {
|
|
47288
|
-
if (!editor.isInDestruct) {
|
|
47289
|
-
tryInitAceEditor();
|
|
47290
|
-
}
|
|
47291
|
-
}).catch(function() {
|
|
47295
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_6__.loadNext)(editor, editor.o.sourceEditorCDNUrlsJS).then(initAceEditor).catch(function() {
|
|
47292
47296
|
return null;
|
|
47293
47297
|
});
|
|
47294
47298
|
}
|
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.8.
|
|
4
|
+
* Version: v4.8.5
|
|
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.8.
|
|
11
|
+
* Version: v4.8.5
|
|
12
12
|
* Url: https://xdsoft.net/jodit/
|
|
13
13
|
* License(s): MIT
|
|
14
14
|
*/
|