-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New version 3.23.3. Read more https://github.com/xdan/jodit/blob/mast…
- Loading branch information
Showing
23 changed files
with
80 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
@@ -10584,15 +10584,18 @@ let UIElement = UIElement_1 = class UIElement extends jodit_core_component__WEBP | |
createContainer(options) { | ||
const result = this.render(options); | ||
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_5__/* .isString */ .H)(result)) { | ||
const elm = this.j.c.fromHTML(result | ||
.replace(/\*([^*]+?)\*/g, (_, name) => jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon.get */ .J.get(name) || '') | ||
.replace(/&__/g, this.componentName + '__') | ||
.replace(/~([^~]+?)~/g, (_, s) => this.i18n(s))); | ||
const elm = this.parseTemplate(result); | ||
elm.classList.add(this.componentName); | ||
return elm; | ||
} | ||
return result; | ||
} | ||
parseTemplate(result) { | ||
return this.j.c.fromHTML(result | ||
.replace(/\*([^*]+?)\*/g, (_, name) => jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon.get */ .J.get(name) || '') | ||
.replace(/&__/g, this.componentName + '__') | ||
.replace(/~([^~]+?)~/g, (_, s) => this.i18n(s))); | ||
} | ||
destruct() { | ||
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom.safeRemove */ .i.safeRemove(this.container); | ||
this.parentElement = null; | ||
|
@@ -12486,7 +12489,7 @@ let View = View_1 = class View extends jodit_modules__WEBPACK_IMPORTED_MODULE_3_ | |
this.parent = null; | ||
this.mods = {}; | ||
this.components = new Set(); | ||
this.version = "3.23.2"; | ||
this.version = "3.23.3"; | ||
this.buffer = _storage__WEBPACK_IMPORTED_MODULE_0__/* .Storage.makeStorage */ .Ke.makeStorage(); | ||
this.storage = _storage__WEBPACK_IMPORTED_MODULE_0__/* .Storage.makeStorage */ .Ke.makeStorage(true, this.componentName); | ||
this.OPTIONS = View_1.defaultOptions; | ||
|
@@ -12568,10 +12571,10 @@ let View = View_1 = class View extends jodit_modules__WEBPACK_IMPORTED_MODULE_3_ | |
return this.__isFullSize; | ||
} | ||
getVersion() { | ||
return "3.23.2"; | ||
return "3.23.3"; | ||
} | ||
static getVersion() { | ||
return "3.23.2"; | ||
return "3.23.3"; | ||
} | ||
initOptions(options) { | ||
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(this.options || {}, View_1.defaultOptions)); | ||
|
@@ -17868,7 +17871,15 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM | |
name: key.toString(), | ||
template: childTemplate && | ||
((j, k, v) => childTemplate(j, k, v, this)), | ||
exec: control.exec, | ||
exec: control.childExec | ||
? (view, current, options) => { | ||
var _a; | ||
return (_a = control.childExec) === null || _a === void 0 ? void 0 : _a.call(control, view, current, { | ||
...options, | ||
parentControl: control | ||
}); | ||
} | ||
: control.exec, | ||
data: control.data, | ||
command: control.command, | ||
isActive: control.isChildActive, | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
@@ -10717,15 +10717,18 @@ let UIElement = UIElement_1 = class UIElement extends jodit_core_component__WEBP | |
createContainer(options) { | ||
const result = this.render(options); | ||
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_5__/* .isString */ .H)(result)) { | ||
const elm = this.j.c.fromHTML(result | ||
.replace(/\*([^*]+?)\*/g, (_, name) => jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon.get */ .J.get(name) || '') | ||
.replace(/&__/g, this.componentName + '__') | ||
.replace(/~([^~]+?)~/g, (_, s) => this.i18n(s))); | ||
const elm = this.parseTemplate(result); | ||
elm.classList.add(this.componentName); | ||
return elm; | ||
} | ||
return result; | ||
} | ||
parseTemplate(result) { | ||
return this.j.c.fromHTML(result | ||
.replace(/\*([^*]+?)\*/g, (_, name) => jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon.get */ .J.get(name) || '') | ||
.replace(/&__/g, this.componentName + '__') | ||
.replace(/~([^~]+?)~/g, (_, s) => this.i18n(s))); | ||
} | ||
destruct() { | ||
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom.safeRemove */ .i.safeRemove(this.container); | ||
this.parentElement = null; | ||
|
@@ -12619,7 +12622,7 @@ let View = View_1 = class View extends jodit_modules__WEBPACK_IMPORTED_MODULE_3_ | |
this.parent = null; | ||
this.mods = {}; | ||
this.components = new Set(); | ||
this.version = "3.23.2"; | ||
this.version = "3.23.3"; | ||
this.buffer = _storage__WEBPACK_IMPORTED_MODULE_0__/* .Storage.makeStorage */ .Ke.makeStorage(); | ||
this.storage = _storage__WEBPACK_IMPORTED_MODULE_0__/* .Storage.makeStorage */ .Ke.makeStorage(true, this.componentName); | ||
this.OPTIONS = View_1.defaultOptions; | ||
|
@@ -12701,10 +12704,10 @@ let View = View_1 = class View extends jodit_modules__WEBPACK_IMPORTED_MODULE_3_ | |
return this.__isFullSize; | ||
} | ||
getVersion() { | ||
return "3.23.2"; | ||
return "3.23.3"; | ||
} | ||
static getVersion() { | ||
return "3.23.2"; | ||
return "3.23.3"; | ||
} | ||
initOptions(options) { | ||
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(this.options || {}, View_1.defaultOptions)); | ||
|
@@ -18001,7 +18004,15 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM | |
name: key.toString(), | ||
template: childTemplate && | ||
((j, k, v) => childTemplate(j, k, v, this)), | ||
exec: control.exec, | ||
exec: control.childExec | ||
? (view, current, options) => { | ||
var _a; | ||
return (_a = control.childExec) === null || _a === void 0 ? void 0 : _a.call(control, view, current, { | ||
...options, | ||
parentControl: control | ||
}); | ||
} | ||
: control.exec, | ||
data: control.data, | ||
command: control.command, | ||
isActive: control.isChildActive, | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
@@ -16199,18 +16199,21 @@ var UIElement = (function (_super) { | |
return this.j.c.div(this.componentName); | ||
}; | ||
UIElement.prototype.createContainer = function (options) { | ||
var _this = this; | ||
var result = this.render(options); | ||
if ((0, is_string_1.isString)(result)) { | ||
var elm = this.j.c.fromHTML(result | ||
.replace(/\*([^*]+?)\*/g, function (_, name) { return icon_1.Icon.get(name) || ''; }) | ||
.replace(/&__/g, this.componentName + '__') | ||
.replace(/~([^~]+?)~/g, function (_, s) { return _this.i18n(s); })); | ||
var elm = this.parseTemplate(result); | ||
elm.classList.add(this.componentName); | ||
return elm; | ||
} | ||
return result; | ||
}; | ||
UIElement.prototype.parseTemplate = function (result) { | ||
var _this = this; | ||
return this.j.c.fromHTML(result | ||
.replace(/\*([^*]+?)\*/g, function (_, name) { return icon_1.Icon.get(name) || ''; }) | ||
.replace(/&__/g, this.componentName + '__') | ||
.replace(/~([^~]+?)~/g, function (_, s) { return _this.i18n(s); })); | ||
}; | ||
UIElement.prototype.destruct = function () { | ||
dom_1.Dom.safeRemove(this.container); | ||
this.parentElement = null; | ||
|
@@ -18121,7 +18124,7 @@ var View = (function (_super) { | |
_this.parent = null; | ||
_this.mods = {}; | ||
_this.components = new Set(); | ||
_this.version = "3.23.2"; | ||
_this.version = "3.23.3"; | ||
_this.buffer = storage_1.Storage.makeStorage(); | ||
_this.storage = storage_1.Storage.makeStorage(true, _this.componentName); | ||
_this.OPTIONS = View_1.defaultOptions; | ||
|
@@ -18248,10 +18251,10 @@ var View = (function (_super) { | |
configurable: true | ||
}); | ||
View.prototype.getVersion = function () { | ||
return "3.23.2"; | ||
return "3.23.3"; | ||
}; | ||
View.getVersion = function () { | ||
return "3.23.2"; | ||
return "3.23.3"; | ||
}; | ||
View.prototype.initOptions = function (options) { | ||
this.options = (0, helpers_1.ConfigProto)(options || {}, (0, helpers_1.ConfigProto)(this.options || {}, View_1.defaultOptions)); | ||
|
@@ -24267,7 +24270,12 @@ var ToolbarButton = (function (_super) { | |
name: key.toString(), | ||
template: childTemplate && | ||
(function (j, k, v) { return childTemplate(j, k, v, _this); }), | ||
exec: control.exec, | ||
exec: control.childExec | ||
? function (view, current, options) { | ||
var _a; | ||
return (_a = control.childExec) === null || _a === void 0 ? void 0 : _a.call(control, view, current, tslib_1.__assign(tslib_1.__assign({}, options), { parentControl: control })); | ||
} | ||
: control.exec, | ||
data: control.data, | ||
command: control.command, | ||
isActive: control.isChildActive, | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.23.2 | ||
* Version: v3.23.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters