jodit 4.2.15 → 4.2.17
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 +64 -5
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +406 -382
- 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 +11 -11
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +406 -384
- 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 +11 -11
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +406 -382
- 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 +11 -11
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +406 -382
- 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 +11 -11
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +411 -387
- 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 +11 -11
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/esm/core/constants.js +1 -1
- package/esm/core/helpers/utils/config-proto.js +1 -1
- package/esm/core/request/ajax.js +1 -1
- package/esm/core/ui/helpers/get-control-type.js +15 -9
- package/esm/core/ui/helpers/get-strong-control-types.js +1 -1
- package/esm/jodit.d.ts +1 -1
- package/esm/jodit.js +1 -1
- package/esm/modules/file-browser/file-browser.js +1 -1
- package/esm/modules/history/history.js +1 -1
- package/esm/modules/image-editor/config.js +1 -1
- package/esm/modules/image-editor/image-editor.js +1 -1
- package/esm/modules/toolbar/button/button.js +2 -1
- package/esm/modules/toolbar/button/select/select.js +2 -1
- package/esm/modules/uploader/uploader.js +1 -1
- package/esm/plugins/about/about.js +1 -1
- package/esm/plugins/add-new-line/config.js +1 -1
- package/esm/plugins/ai-assistant/config.js +1 -1
- package/esm/plugins/backspace/cases/check-remove-char.js +4 -0
- package/esm/plugins/bold/bold.js +1 -1
- package/esm/plugins/class-span/class-span.js +1 -1
- package/esm/plugins/clean-html/config.js +1 -1
- package/esm/plugins/clipboard/config.js +1 -1
- package/esm/plugins/color/config.js +1 -1
- package/esm/plugins/copy-format/copy-format.js +1 -1
- package/esm/plugins/file/file.js +1 -1
- package/esm/plugins/font/config.js +1 -1
- package/esm/plugins/format-block/config.js +6 -4
- package/esm/plugins/fullsize/config.js +1 -1
- package/esm/plugins/hr/hr.js +1 -1
- package/esm/plugins/image/image.js +1 -1
- package/esm/plugins/image-properties/config.d.ts +0 -3
- package/esm/plugins/image-properties/config.js +3 -0
- package/esm/plugins/image-properties/interface.d.ts +121 -0
- package/esm/plugins/indent/config.js +1 -1
- package/esm/plugins/inline-popup/config/config.js +1 -1
- package/esm/plugins/justify/justify.js +10 -6
- package/esm/plugins/line-height/config.js +1 -1
- package/esm/plugins/link/config.js +1 -1
- package/esm/plugins/mobile/config.js +1 -1
- package/esm/plugins/ordered-list/config.js +1 -1
- package/esm/plugins/paste/config.js +1 -1
- package/esm/plugins/print/print.js +1 -1
- package/esm/plugins/redo-undo/redo-undo.js +1 -1
- package/esm/plugins/search/config.js +1 -1
- package/esm/plugins/source/config.js +1 -1
- package/esm/plugins/speech-recognize/config.js +1 -1
- package/esm/plugins/spellcheck/config.js +1 -1
- package/esm/plugins/symbols/config.js +1 -1
- package/esm/plugins/table/config.js +1 -1
- package/esm/plugins/video/config.js +1 -1
- package/esm/types/toolbar.d.ts +1 -2
- package/package.json +1 -1
- package/types/jodit.d.ts +1 -1
- package/types/plugins/image-properties/config.d.ts +0 -3
- package/types/plugins/image-properties/interface.d.ts +121 -0
- package/types/types/toolbar.d.ts +1 -2
package/es2021/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.2.
|
|
4
|
+
* Version: v4.2.17
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -1737,7 +1737,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1737
1737
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
1738
1738
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1739
1739
|
*/
|
|
1740
|
-
const APP_VERSION = "4.2.
|
|
1740
|
+
const APP_VERSION = "4.2.17";
|
|
1741
1741
|
// prettier-ignore
|
|
1742
1742
|
const ES = "es2021";
|
|
1743
1743
|
const IS_ES_MODERN = true;
|
|
@@ -7521,9 +7521,9 @@ const completeUrl = (url) => {
|
|
|
7521
7521
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
7522
7522
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
7523
7523
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35642);
|
|
7524
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36115);
|
|
7524
7525
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49429);
|
|
7525
|
-
/* harmony import */ var
|
|
7526
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
7526
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84976);
|
|
7527
7527
|
/*!
|
|
7528
7528
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7529
7529
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7571,7 +7571,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
7571
7571
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
7572
7572
|
return options;
|
|
7573
7573
|
}
|
|
7574
|
-
const def =
|
|
7574
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
7575
7575
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
7576
7576
|
if (def.presets[options.preset] !== undefined) {
|
|
7577
7577
|
const preset = def.presets[options.preset];
|
|
@@ -7601,7 +7601,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
7601
7601
|
return newOpt;
|
|
7602
7602
|
}
|
|
7603
7603
|
function ConfigFlatten(obj) {
|
|
7604
|
-
return (0,
|
|
7604
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
7605
7605
|
app[key] = obj[key];
|
|
7606
7606
|
return app;
|
|
7607
7607
|
}, {});
|
|
@@ -9560,9 +9560,9 @@ Plugin.requires = [];
|
|
|
9560
9560
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26318);
|
|
9561
9561
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
9562
9562
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50156);
|
|
9563
|
-
/* harmony import */ var
|
|
9563
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
9564
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(27337);
|
|
9564
9565
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91672);
|
|
9565
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
9566
9566
|
/*!
|
|
9567
9567
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9568
9568
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9580,7 +9580,7 @@ class Ajax {
|
|
|
9580
9580
|
className() {
|
|
9581
9581
|
return 'Ajax';
|
|
9582
9582
|
}
|
|
9583
|
-
constructor(options, defaultAjaxOptions =
|
|
9583
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
9584
9584
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
9585
9585
|
this.__isFulfilled = false;
|
|
9586
9586
|
this.__activated = false;
|
|
@@ -15027,17 +15027,23 @@ function findControlType(path, controls) {
|
|
|
15027
15027
|
else {
|
|
15028
15028
|
key = namespaceOrKey;
|
|
15029
15029
|
}
|
|
15030
|
-
const list = store[key]?.list;
|
|
15030
|
+
// const list = store[key]?.list;
|
|
15031
15031
|
return store[key]
|
|
15032
15032
|
? {
|
|
15033
15033
|
name: key,
|
|
15034
|
-
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15035
|
-
list:
|
|
15036
|
-
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
15040
|
-
|
|
15034
|
+
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15035
|
+
// list: isArray(list)
|
|
15036
|
+
// ? (<Array<string>>list).reduce(
|
|
15037
|
+
// (
|
|
15038
|
+
// acc: IDictionary<string | number>,
|
|
15039
|
+
// k: string | number
|
|
15040
|
+
// ) => {
|
|
15041
|
+
// acc[String(k)] = k;
|
|
15042
|
+
// return acc;
|
|
15043
|
+
// },
|
|
15044
|
+
// {}
|
|
15045
|
+
// )
|
|
15046
|
+
// : list
|
|
15041
15047
|
}
|
|
15042
15048
|
: undefined;
|
|
15043
15049
|
}
|
|
@@ -15054,8 +15060,8 @@ function findControlType(path, controls) {
|
|
|
15054
15060
|
/* harmony export */ });
|
|
15055
15061
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37923);
|
|
15056
15062
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97369);
|
|
15057
|
-
/* harmony import */ var
|
|
15058
|
-
/* harmony import */ var
|
|
15063
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
15064
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57023);
|
|
15059
15065
|
/*!
|
|
15060
15066
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15061
15067
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15075,7 +15081,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15075
15081
|
const value = items[key] || {};
|
|
15076
15082
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15077
15083
|
});
|
|
15078
|
-
return elements.map(item => (0,
|
|
15084
|
+
return elements.map(item => (0,_get_control_type__WEBPACK_IMPORTED_MODULE_2__/* .getControlType */ .U)(item, controls || jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.defaultOptions.controls));
|
|
15079
15085
|
}
|
|
15080
15086
|
|
|
15081
15087
|
|
|
@@ -16173,8 +16179,8 @@ View.defaultOptions = {
|
|
|
16173
16179
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
16174
16180
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(53883);
|
|
16175
16181
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(58597);
|
|
16176
|
-
/* harmony import */ var
|
|
16177
|
-
/* harmony import */ var
|
|
16182
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36115);
|
|
16183
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37435);
|
|
16178
16184
|
/*!
|
|
16179
16185
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16180
16186
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16193,7 +16199,7 @@ var Jodit_1;
|
|
|
16193
16199
|
|
|
16194
16200
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
16195
16201
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
16196
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
16202
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
16197
16203
|
/** @override */
|
|
16198
16204
|
className() {
|
|
16199
16205
|
return 'Jodit';
|
|
@@ -16240,7 +16246,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16240
16246
|
get defaultTimeout() {
|
|
16241
16247
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
16242
16248
|
? this.o.defaultTimeout
|
|
16243
|
-
:
|
|
16249
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
16244
16250
|
}
|
|
16245
16251
|
/**
|
|
16246
16252
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -16266,10 +16272,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16266
16272
|
* Default settings
|
|
16267
16273
|
*/
|
|
16268
16274
|
static get defaultOptions() {
|
|
16269
|
-
return
|
|
16275
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
16270
16276
|
}
|
|
16271
16277
|
get createInside() {
|
|
16272
|
-
return new
|
|
16278
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
16273
16279
|
}
|
|
16274
16280
|
__setPlaceField(field, value) {
|
|
16275
16281
|
if (!this.currentPlace) {
|
|
@@ -16817,8 +16823,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16817
16823
|
const active = this.od.activeElement;
|
|
16818
16824
|
if (active &&
|
|
16819
16825
|
(active === this.iframe ||
|
|
16820
|
-
|
|
16821
|
-
|
|
16826
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
16827
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
16822
16828
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
16823
16829
|
}
|
|
16824
16830
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -16970,7 +16976,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16970
16976
|
}
|
|
16971
16977
|
/** @override **/
|
|
16972
16978
|
initOptions(options) {
|
|
16973
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
16979
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
16974
16980
|
}
|
|
16975
16981
|
/** @override **/
|
|
16976
16982
|
initOwners() {
|
|
@@ -17015,7 +17021,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17015
17021
|
this.destruct();
|
|
17016
17022
|
throw e;
|
|
17017
17023
|
}
|
|
17018
|
-
this.setStatus(
|
|
17024
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17019
17025
|
this.id =
|
|
17020
17026
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.resolveElement)(element, this.o.shadowRoot || this.od), 'id') ||
|
|
17021
17027
|
new Date().getTime().toString();
|
|
@@ -17027,7 +17033,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17027
17033
|
}
|
|
17028
17034
|
});
|
|
17029
17035
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17030
|
-
this.selection = new
|
|
17036
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17031
17037
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17032
17038
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17033
17039
|
if (this.isInDestruct) {
|
|
@@ -17051,7 +17057,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17051
17057
|
this.e.fire('afterInit', this);
|
|
17052
17058
|
}
|
|
17053
17059
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17054
|
-
this.setStatus(
|
|
17060
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17055
17061
|
this.e.fire('afterConstructor', this);
|
|
17056
17062
|
};
|
|
17057
17063
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17067,7 +17073,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17067
17073
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17068
17074
|
const name = attr.name;
|
|
17069
17075
|
let value = attr.value;
|
|
17070
|
-
if (
|
|
17076
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17071
17077
|
(!options || options[name] === undefined)) {
|
|
17072
17078
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17073
17079
|
value = value === '' || value === 'true';
|
|
@@ -17135,11 +17141,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17135
17141
|
element,
|
|
17136
17142
|
container,
|
|
17137
17143
|
workplace,
|
|
17138
|
-
statusbar: new
|
|
17144
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17139
17145
|
options: this.isReady
|
|
17140
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17146
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17141
17147
|
: this.options,
|
|
17142
|
-
history: new
|
|
17148
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17143
17149
|
editorWindow: this.ow
|
|
17144
17150
|
};
|
|
17145
17151
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -17230,7 +17236,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17230
17236
|
return;
|
|
17231
17237
|
}
|
|
17232
17238
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
17233
|
-
|
|
17239
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
17234
17240
|
}
|
|
17235
17241
|
addClassNames(this.o.editorClassName, this.editor);
|
|
17236
17242
|
if (this.o.style) {
|
|
@@ -17320,7 +17326,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17320
17326
|
if (this.isInDestruct) {
|
|
17321
17327
|
return;
|
|
17322
17328
|
}
|
|
17323
|
-
this.setStatus(
|
|
17329
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
17324
17330
|
this.__elementToPlace.clear();
|
|
17325
17331
|
this.storage.clear();
|
|
17326
17332
|
this.buffer.clear();
|
|
@@ -17361,17 +17367,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17361
17367
|
this.e.off(container);
|
|
17362
17368
|
this.e.off(element);
|
|
17363
17369
|
this.e.off(editor);
|
|
17364
|
-
|
|
17365
|
-
|
|
17370
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
17371
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
17366
17372
|
if (container !== element) {
|
|
17367
|
-
|
|
17373
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
17368
17374
|
}
|
|
17369
17375
|
Object.defineProperty(element, 'component', {
|
|
17370
17376
|
enumerable: false,
|
|
17371
17377
|
configurable: true,
|
|
17372
17378
|
value: null
|
|
17373
17379
|
});
|
|
17374
|
-
|
|
17380
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
17375
17381
|
// inline mode
|
|
17376
17382
|
if (container === element) {
|
|
17377
17383
|
element.innerHTML = buffer;
|
|
@@ -17393,7 +17399,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
17393
17399
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
17394
17400
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
17395
17401
|
Jodit.core = {
|
|
17396
|
-
Plugin:
|
|
17402
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
17397
17403
|
};
|
|
17398
17404
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
17399
17405
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -19666,16 +19672,16 @@ async function loadTree(fb) {
|
|
|
19666
19672
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63915);
|
|
19667
19673
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58597);
|
|
19668
19674
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14961);
|
|
19669
|
-
/* harmony import */ var
|
|
19675
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(36115);
|
|
19676
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(70265);
|
|
19670
19677
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(9979);
|
|
19671
|
-
/* harmony import */ var
|
|
19672
|
-
/* harmony import */ var
|
|
19673
|
-
/* harmony import */ var
|
|
19674
|
-
/* harmony import */ var
|
|
19675
|
-
/* harmony import */ var
|
|
19676
|
-
/* harmony import */ var
|
|
19677
|
-
/* harmony import */ var
|
|
19678
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(36115);
|
|
19678
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(31859);
|
|
19679
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62994);
|
|
19680
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(18043);
|
|
19681
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(80004);
|
|
19682
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(75889);
|
|
19683
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(83797);
|
|
19684
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(10274);
|
|
19679
19685
|
/*!
|
|
19680
19686
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19681
19687
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19709,7 +19715,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19709
19715
|
return 'FileBrowser';
|
|
19710
19716
|
}
|
|
19711
19717
|
get dataProvider() {
|
|
19712
|
-
return (0,
|
|
19718
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
19713
19719
|
}
|
|
19714
19720
|
// eslint-disable-next-line no-unused-vars
|
|
19715
19721
|
onSelect(callback) {
|
|
@@ -19823,7 +19829,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19823
19829
|
this.__updateToolbarButtons();
|
|
19824
19830
|
this._dialog.open(this.browser, header);
|
|
19825
19831
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
19826
|
-
(0,
|
|
19832
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
19827
19833
|
.then(resolve, reject)
|
|
19828
19834
|
.finally(() => {
|
|
19829
19835
|
if (this.isInDestruct) {
|
|
@@ -19857,7 +19863,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19857
19863
|
});
|
|
19858
19864
|
}
|
|
19859
19865
|
initUploader(editor) {
|
|
19860
|
-
const self = this, options = editor?.options?.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
19866
|
+
const self = this, options = editor?.options?.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.uploader);
|
|
19861
19867
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
19862
19868
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
19863
19869
|
self.uploader
|
|
@@ -19877,11 +19883,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19877
19883
|
super(options);
|
|
19878
19884
|
this.browser = this.c.div(this.componentName);
|
|
19879
19885
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
19880
|
-
this.tree = new
|
|
19881
|
-
this.files = new
|
|
19886
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
19887
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
19882
19888
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
19883
19889
|
currentPath: '',
|
|
19884
|
-
currentSource:
|
|
19890
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
19885
19891
|
currentBaseUrl: '',
|
|
19886
19892
|
activeElements: [],
|
|
19887
19893
|
elements: [],
|
|
@@ -19911,7 +19917,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19911
19917
|
this.__prevButtons = [];
|
|
19912
19918
|
this.attachEvents(options);
|
|
19913
19919
|
const self = this;
|
|
19914
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
19920
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
19915
19921
|
self.browser.component = this;
|
|
19916
19922
|
self.container = self.browser;
|
|
19917
19923
|
if (self.o.showFoldersPanel) {
|
|
@@ -19919,9 +19925,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19919
19925
|
}
|
|
19920
19926
|
self.browser.appendChild(self.files.container);
|
|
19921
19927
|
self.browser.appendChild(self.status_line);
|
|
19922
|
-
|
|
19923
|
-
|
|
19924
|
-
|
|
19928
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
19929
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
19930
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
19925
19931
|
const keys = [
|
|
19926
19932
|
'getLocalFileByUrl',
|
|
19927
19933
|
'crop',
|
|
@@ -20592,10 +20598,10 @@ class Command {
|
|
|
20592
20598
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
20593
20599
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
20594
20600
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22664);
|
|
20601
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
20595
20602
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84345);
|
|
20596
|
-
/* harmony import */ var
|
|
20603
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58770);
|
|
20597
20604
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66180);
|
|
20598
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
20599
20605
|
/*!
|
|
20600
20606
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20601
20607
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20608,7 +20614,7 @@ class Command {
|
|
|
20608
20614
|
|
|
20609
20615
|
|
|
20610
20616
|
|
|
20611
|
-
|
|
20617
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
20612
20618
|
enable: true,
|
|
20613
20619
|
maxHistoryLength: Infinity,
|
|
20614
20620
|
timeout: 1000
|
|
@@ -20659,7 +20665,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20659
20665
|
set startValue(value) {
|
|
20660
20666
|
this.__startValue = value;
|
|
20661
20667
|
}
|
|
20662
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
20668
|
+
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new _snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F(editor)) {
|
|
20663
20669
|
super(editor);
|
|
20664
20670
|
this.updateTick = 0;
|
|
20665
20671
|
this.__stack = stack;
|
|
@@ -20722,7 +20728,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20722
20728
|
*/
|
|
20723
20729
|
updateStack(replace = false) {
|
|
20724
20730
|
const newValue = this.snapshot.make();
|
|
20725
|
-
if (!
|
|
20731
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
20726
20732
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
20727
20733
|
if (replace) {
|
|
20728
20734
|
const command = this.__stack.current();
|
|
@@ -21055,11 +21061,11 @@ class Stack {
|
|
|
21055
21061
|
|
|
21056
21062
|
"use strict";
|
|
21057
21063
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
21058
|
-
/* harmony import */ var
|
|
21059
|
-
/* harmony import */ var
|
|
21060
|
-
/* harmony import */ var
|
|
21061
|
-
/* harmony import */ var
|
|
21062
|
-
/* harmony import */ var
|
|
21064
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
21065
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(928);
|
|
21066
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21067
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31230);
|
|
21068
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21063
21069
|
/*!
|
|
21064
21070
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21065
21071
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21069,7 +21075,7 @@ class Stack {
|
|
|
21069
21075
|
|
|
21070
21076
|
|
|
21071
21077
|
|
|
21072
|
-
|
|
21078
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21073
21079
|
min_width: 20,
|
|
21074
21080
|
min_height: 20,
|
|
21075
21081
|
closeAfterSave: false,
|
|
@@ -21084,7 +21090,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21084
21090
|
cropDefaultWidth: '70%',
|
|
21085
21091
|
cropDefaultHeight: '70%'
|
|
21086
21092
|
};
|
|
21087
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21093
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default())).set('resize', (_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
21088
21094
|
|
|
21089
21095
|
|
|
21090
21096
|
/***/ }),
|
|
@@ -21103,9 +21109,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21103
21109
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71842);
|
|
21104
21110
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
21105
21111
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35265);
|
|
21106
|
-
/* harmony import */ var
|
|
21107
|
-
/* harmony import */ var
|
|
21108
|
-
/* harmony import */ var
|
|
21112
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
21113
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93027);
|
|
21114
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24863);
|
|
21109
21115
|
/*!
|
|
21110
21116
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21111
21117
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21565,7 +21571,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21565
21571
|
this.options =
|
|
21566
21572
|
editor && editor.o && editor.o.imageeditor
|
|
21567
21573
|
? editor.o.imageeditor
|
|
21568
|
-
:
|
|
21574
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
21569
21575
|
const o = this.options;
|
|
21570
21576
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
21571
21577
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -21575,7 +21581,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21575
21581
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
21576
21582
|
};
|
|
21577
21583
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
21578
|
-
this.editor = (0,
|
|
21584
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
21579
21585
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
21580
21586
|
this.resize_box = resizeBox;
|
|
21581
21587
|
this.crop_box = cropBox;
|
|
@@ -22991,7 +22997,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
22991
22997
|
}
|
|
22992
22998
|
createContainer() {
|
|
22993
22999
|
const cn = this.componentName;
|
|
22994
|
-
const container = this.j.c.span(cn)
|
|
23000
|
+
const container = this.j.c.span(cn);
|
|
23001
|
+
const button = super.createContainer();
|
|
22995
23002
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
22996
23003
|
button.classList.remove(cn);
|
|
22997
23004
|
button.classList.add(cn + '__button');
|
|
@@ -23380,8 +23387,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23380
23387
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23381
23388
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
23382
23389
|
/* harmony export */ });
|
|
23383
|
-
/* harmony import */ var
|
|
23390
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
23384
23391
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22664);
|
|
23392
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25376);
|
|
23385
23393
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
23386
23394
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3258);
|
|
23387
23395
|
/*!
|
|
@@ -23394,6 +23402,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23394
23402
|
|
|
23395
23403
|
|
|
23396
23404
|
|
|
23405
|
+
|
|
23397
23406
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
23398
23407
|
className() {
|
|
23399
23408
|
return 'ToolbarSelect';
|
|
@@ -23411,13 +23420,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
23411
23420
|
const keys = Object.keys(list);
|
|
23412
23421
|
key = keys[0];
|
|
23413
23422
|
}
|
|
23414
|
-
const text = (list[key.toString()] || key).toString();
|
|
23423
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
23415
23424
|
this.state.text =
|
|
23416
23425
|
this.control.textTemplate?.(this.jodit, text) ?? text;
|
|
23417
23426
|
}
|
|
23418
23427
|
}
|
|
23419
23428
|
};
|
|
23420
|
-
ToolbarSelect = (0,
|
|
23429
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
23421
23430
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
23422
23431
|
], ToolbarSelect);
|
|
23423
23432
|
|
|
@@ -24249,9 +24258,9 @@ function send(uploader, data) {
|
|
|
24249
24258
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
24250
24259
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
24251
24260
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24252
|
-
/* harmony import */ var
|
|
24253
|
-
/* harmony import */ var
|
|
24254
|
-
/* harmony import */ var
|
|
24261
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
24262
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74340);
|
|
24263
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(77334);
|
|
24255
24264
|
/*!
|
|
24256
24265
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24257
24266
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24323,14 +24332,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24323
24332
|
}
|
|
24324
24333
|
};
|
|
24325
24334
|
// send data on server
|
|
24326
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
24327
|
-
(0,
|
|
24335
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
24336
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24328
24337
|
return false;
|
|
24329
24338
|
}
|
|
24330
24339
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
24331
|
-
return (0,
|
|
24340
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
24332
24341
|
}
|
|
24333
|
-
if ((0,
|
|
24342
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
24334
24343
|
const { items } = cData;
|
|
24335
24344
|
for (i = 0; i < items.length; i += 1) {
|
|
24336
24345
|
if (items[i].kind === 'file' &&
|
|
@@ -24341,7 +24350,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24341
24350
|
extension = mime[1]
|
|
24342
24351
|
? mime[1].toLowerCase()
|
|
24343
24352
|
: '';
|
|
24344
|
-
(0,
|
|
24353
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
24345
24354
|
}
|
|
24346
24355
|
e.preventDefault();
|
|
24347
24356
|
break;
|
|
@@ -24364,30 +24373,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24364
24373
|
e.preventDefault();
|
|
24365
24374
|
})
|
|
24366
24375
|
.on(form, 'dragover', (event) => {
|
|
24367
|
-
if ((0,
|
|
24368
|
-
(0,
|
|
24376
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
24377
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
24369
24378
|
form.classList.add('jodit_drag_hover');
|
|
24370
24379
|
event.preventDefault();
|
|
24371
24380
|
}
|
|
24372
24381
|
})
|
|
24373
24382
|
.on(form, 'dragend dragleave', (event) => {
|
|
24374
24383
|
form.classList.remove('jodit_drag_hover');
|
|
24375
|
-
if ((0,
|
|
24384
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24376
24385
|
event.preventDefault();
|
|
24377
24386
|
}
|
|
24378
24387
|
})
|
|
24379
24388
|
.on(form, 'drop', (event) => {
|
|
24380
24389
|
form.classList.remove('jodit_drag_hover');
|
|
24381
|
-
if ((0,
|
|
24390
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24382
24391
|
event.preventDefault();
|
|
24383
24392
|
event.stopImmediatePropagation();
|
|
24384
|
-
(0,
|
|
24393
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24385
24394
|
}
|
|
24386
24395
|
});
|
|
24387
24396
|
const inputFile = form.querySelector('input[type=file]');
|
|
24388
24397
|
if (inputFile) {
|
|
24389
24398
|
self.j.e.on(inputFile, 'change', () => {
|
|
24390
|
-
(0,
|
|
24399
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
24391
24400
|
.then(() => {
|
|
24392
24401
|
inputFile.value = '';
|
|
24393
24402
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -24407,7 +24416,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24407
24416
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
24408
24417
|
? handlerError
|
|
24409
24418
|
: o.defaultHandlerError;
|
|
24410
|
-
(0,
|
|
24419
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
24411
24420
|
action: 'fileUploadRemote',
|
|
24412
24421
|
url
|
|
24413
24422
|
})
|
|
@@ -24427,11 +24436,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24427
24436
|
super(editor);
|
|
24428
24437
|
this.path = '';
|
|
24429
24438
|
this.source = 'default';
|
|
24430
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
24439
|
+
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.uploader, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isJoditObject)(editor) ? editor.o.uploader : {}));
|
|
24431
24440
|
}
|
|
24432
24441
|
destruct() {
|
|
24433
24442
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
24434
|
-
const instances =
|
|
24443
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
24435
24444
|
if (instances) {
|
|
24436
24445
|
instances.forEach(ajax => {
|
|
24437
24446
|
try {
|
|
@@ -24860,9 +24869,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24860
24869
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
24861
24870
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24862
24871
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
24863
|
-
/* harmony import */ var
|
|
24864
|
-
/* harmony import */ var
|
|
24865
|
-
/* harmony import */ var
|
|
24872
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
24873
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17995);
|
|
24874
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
24866
24875
|
/*!
|
|
24867
24876
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24868
24877
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24876,7 +24885,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24876
24885
|
|
|
24877
24886
|
|
|
24878
24887
|
|
|
24879
|
-
|
|
24888
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
24880
24889
|
exec: (editor) => {
|
|
24881
24890
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
24882
24891
|
dialog
|
|
@@ -24912,7 +24921,7 @@ function about(editor) {
|
|
|
24912
24921
|
});
|
|
24913
24922
|
}
|
|
24914
24923
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
24915
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
24924
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
24916
24925
|
|
|
24917
24926
|
|
|
24918
24927
|
/***/ }),
|
|
@@ -25155,9 +25164,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25155
25164
|
|
|
25156
25165
|
"use strict";
|
|
25157
25166
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
25158
|
-
/* harmony import */ var
|
|
25159
|
-
/* harmony import */ var
|
|
25160
|
-
/* harmony import */ var
|
|
25167
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25168
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(86634);
|
|
25169
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25161
25170
|
/*!
|
|
25162
25171
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25163
25172
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25166,9 +25175,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25166
25175
|
|
|
25167
25176
|
|
|
25168
25177
|
|
|
25169
|
-
|
|
25170
|
-
|
|
25171
|
-
|
|
25178
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25179
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25180
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25172
25181
|
'table',
|
|
25173
25182
|
'iframe',
|
|
25174
25183
|
'img',
|
|
@@ -25176,8 +25185,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25176
25185
|
'pre',
|
|
25177
25186
|
'jodit'
|
|
25178
25187
|
];
|
|
25179
|
-
|
|
25180
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
25188
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
25189
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25181
25190
|
|
|
25182
25191
|
|
|
25183
25192
|
/***/ }),
|
|
@@ -25315,11 +25324,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
25315
25324
|
|
|
25316
25325
|
"use strict";
|
|
25317
25326
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
25318
|
-
/* harmony import */ var
|
|
25319
|
-
/* harmony import */ var
|
|
25320
|
-
/* harmony import */ var
|
|
25321
|
-
/* harmony import */ var
|
|
25322
|
-
/* harmony import */ var
|
|
25327
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25328
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91115);
|
|
25329
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25330
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1916);
|
|
25331
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
25323
25332
|
/*!
|
|
25324
25333
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25325
25334
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25360,10 +25369,10 @@ const aiAssistantDefaults = {
|
|
|
25360
25369
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
25361
25370
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
25362
25371
|
};
|
|
25363
|
-
|
|
25364
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
25365
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
25366
|
-
|
|
25372
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
25373
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
25374
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25375
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
25367
25376
|
isDisabled(editor) {
|
|
25368
25377
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25369
25378
|
},
|
|
@@ -25401,7 +25410,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
25401
25410
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
25402
25411
|
}
|
|
25403
25412
|
};
|
|
25404
|
-
|
|
25413
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
25405
25414
|
isDisabled(editor) {
|
|
25406
25415
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25407
25416
|
},
|
|
@@ -26038,6 +26047,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26038
26047
|
}
|
|
26039
26048
|
if (sibling.nodeValue?.length) {
|
|
26040
26049
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26050
|
+
if (!sibling.nodeValue.length &&
|
|
26051
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26052
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26053
|
+
}
|
|
26041
26054
|
}
|
|
26042
26055
|
if (!sibling.nodeValue?.length) {
|
|
26043
26056
|
removeNeighbor = sibling;
|
|
@@ -26590,20 +26603,20 @@ function getMoveFilter(jodit) {
|
|
|
26590
26603
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56298);
|
|
26591
26604
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
26592
26605
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
26593
|
-
/* harmony import */ var
|
|
26594
|
-
/* harmony import */ var
|
|
26595
|
-
/* harmony import */ var
|
|
26596
|
-
/* harmony import */ var
|
|
26597
|
-
/* harmony import */ var
|
|
26598
|
-
/* harmony import */ var
|
|
26599
|
-
/* harmony import */ var
|
|
26600
|
-
/* harmony import */ var
|
|
26601
|
-
/* harmony import */ var
|
|
26602
|
-
/* harmony import */ var
|
|
26603
|
-
/* harmony import */ var
|
|
26604
|
-
/* harmony import */ var
|
|
26605
|
-
/* harmony import */ var
|
|
26606
|
-
/* harmony import */ var
|
|
26606
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
26607
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73124);
|
|
26608
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52450);
|
|
26609
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
26610
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41111);
|
|
26611
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26612
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49972);
|
|
26613
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
26614
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(45062);
|
|
26615
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
26616
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(18605);
|
|
26617
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
26618
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83389);
|
|
26619
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
26607
26620
|
/*!
|
|
26608
26621
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26609
26622
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26626,7 +26639,7 @@ function getMoveFilter(jodit) {
|
|
|
26626
26639
|
*/
|
|
26627
26640
|
function bold(editor) {
|
|
26628
26641
|
const callBack = (command) => {
|
|
26629
|
-
const control =
|
|
26642
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = {
|
|
26630
26643
|
...control.css
|
|
26631
26644
|
};
|
|
26632
26645
|
let cssRules;
|
|
@@ -26680,12 +26693,12 @@ function bold(editor) {
|
|
|
26680
26693
|
});
|
|
26681
26694
|
}
|
|
26682
26695
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
26683
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
26684
|
-
.set('italic', (
|
|
26685
|
-
.set('strikethrough', (
|
|
26686
|
-
.set('subscript', (
|
|
26687
|
-
.set('superscript', (
|
|
26688
|
-
.set('underline', (
|
|
26696
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
26697
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
26698
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
26699
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
26700
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
26701
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
26689
26702
|
|
|
26690
26703
|
|
|
26691
26704
|
/***/ }),
|
|
@@ -26755,9 +26768,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26755
26768
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84976);
|
|
26756
26769
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71005);
|
|
26757
26770
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
26758
|
-
/* harmony import */ var
|
|
26759
|
-
/* harmony import */ var
|
|
26760
|
-
/* harmony import */ var
|
|
26771
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
26772
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93267);
|
|
26773
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26761
26774
|
/*!
|
|
26762
26775
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26763
26776
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26770,7 +26783,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26770
26783
|
|
|
26771
26784
|
|
|
26772
26785
|
|
|
26773
|
-
|
|
26786
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
26774
26787
|
command: 'applyClassName',
|
|
26775
26788
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
26776
26789
|
list: [
|
|
@@ -26858,7 +26871,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
26858
26871
|
beforeDestruct() { }
|
|
26859
26872
|
}
|
|
26860
26873
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
26861
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
26874
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
26862
26875
|
|
|
26863
26876
|
|
|
26864
26877
|
/***/ }),
|
|
@@ -26997,9 +27010,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
26997
27010
|
|
|
26998
27011
|
"use strict";
|
|
26999
27012
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27000
|
-
/* harmony import */ var
|
|
27001
|
-
/* harmony import */ var
|
|
27002
|
-
/* harmony import */ var
|
|
27013
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27014
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71948);
|
|
27015
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27003
27016
|
/*!
|
|
27004
27017
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27005
27018
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27008,7 +27021,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27008
27021
|
|
|
27009
27022
|
|
|
27010
27023
|
|
|
27011
|
-
|
|
27024
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27012
27025
|
timeout: 300,
|
|
27013
27026
|
removeEmptyElements: true,
|
|
27014
27027
|
fillEmptyParagraph: true,
|
|
@@ -27024,11 +27037,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27024
27037
|
safeJavaScriptLink: true,
|
|
27025
27038
|
disableCleanFilter: null
|
|
27026
27039
|
};
|
|
27027
|
-
|
|
27040
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27028
27041
|
command: 'removeFormat',
|
|
27029
27042
|
tooltip: 'Clear Formatting'
|
|
27030
27043
|
};
|
|
27031
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27044
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27032
27045
|
|
|
27033
27046
|
|
|
27034
27047
|
/***/ }),
|
|
@@ -27694,15 +27707,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27694
27707
|
|
|
27695
27708
|
"use strict";
|
|
27696
27709
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27697
|
-
/* harmony import */ var
|
|
27698
|
-
/* harmony import */ var
|
|
27699
|
-
/* harmony import */ var
|
|
27700
|
-
/* harmony import */ var
|
|
27701
|
-
/* harmony import */ var
|
|
27702
|
-
/* harmony import */ var
|
|
27703
|
-
/* harmony import */ var
|
|
27704
|
-
/* harmony import */ var
|
|
27705
|
-
/* harmony import */ var
|
|
27710
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27711
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51457);
|
|
27712
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27713
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23602);
|
|
27714
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
27715
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(86899);
|
|
27716
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
27717
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95320);
|
|
27718
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27706
27719
|
/*!
|
|
27707
27720
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27708
27721
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27714,25 +27727,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27714
27727
|
|
|
27715
27728
|
|
|
27716
27729
|
|
|
27717
|
-
|
|
27730
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
27718
27731
|
command: 'cut',
|
|
27719
27732
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27720
27733
|
tooltip: 'Cut selection'
|
|
27721
27734
|
};
|
|
27722
|
-
|
|
27735
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
27723
27736
|
command: 'copy',
|
|
27724
27737
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27725
27738
|
tooltip: 'Copy selection'
|
|
27726
27739
|
};
|
|
27727
|
-
|
|
27740
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
27728
27741
|
icon: 'select-all',
|
|
27729
27742
|
command: 'selectall',
|
|
27730
27743
|
tooltip: 'Select all'
|
|
27731
27744
|
};
|
|
27732
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
27733
|
-
.set('cut', (
|
|
27734
|
-
.set('paste', (
|
|
27735
|
-
.set('select-all', (
|
|
27745
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
27746
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
27747
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
27748
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27736
27749
|
|
|
27737
27750
|
|
|
27738
27751
|
/***/ }),
|
|
@@ -27804,10 +27817,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27804
27817
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
27805
27818
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
27806
27819
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
27807
|
-
/* harmony import */ var
|
|
27808
|
-
/* harmony import */ var
|
|
27809
|
-
/* harmony import */ var
|
|
27810
|
-
/* harmony import */ var
|
|
27820
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
27821
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16116);
|
|
27822
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(45674);
|
|
27823
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27811
27824
|
/*!
|
|
27812
27825
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27813
27826
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27819,8 +27832,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27819
27832
|
|
|
27820
27833
|
|
|
27821
27834
|
|
|
27822
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
27823
|
-
|
|
27835
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27836
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
27824
27837
|
isVisible: (editor) => {
|
|
27825
27838
|
return !editor.o.disablePlugins.includes('color');
|
|
27826
27839
|
},
|
|
@@ -27833,7 +27846,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27833
27846
|
if (!selected.length) {
|
|
27834
27847
|
return false;
|
|
27835
27848
|
}
|
|
27836
|
-
const makeColorPicker = (key) => (0,
|
|
27849
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27837
27850
|
selected.forEach(cell => {
|
|
27838
27851
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
27839
27852
|
});
|
|
@@ -27842,7 +27855,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27842
27855
|
close();
|
|
27843
27856
|
editor.unlock();
|
|
27844
27857
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
27845
|
-
return (0,
|
|
27858
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
27846
27859
|
{
|
|
27847
27860
|
name: 'Background',
|
|
27848
27861
|
content: makeColorPicker('background-color')
|
|
@@ -27853,7 +27866,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27853
27866
|
},
|
|
27854
27867
|
tooltip: 'Background'
|
|
27855
27868
|
};
|
|
27856
|
-
|
|
27869
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
27857
27870
|
isVisible: (editor) => {
|
|
27858
27871
|
return !editor.o.disablePlugins.includes('color');
|
|
27859
27872
|
},
|
|
@@ -27901,7 +27914,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27901
27914
|
}
|
|
27902
27915
|
}, editor.editor);
|
|
27903
27916
|
}
|
|
27904
|
-
const backgroundTag = (0,
|
|
27917
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27905
27918
|
if (!currentElement) {
|
|
27906
27919
|
editor.execCommand('background', false, value);
|
|
27907
27920
|
}
|
|
@@ -27912,7 +27925,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27912
27925
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
27913
27926
|
close();
|
|
27914
27927
|
}, bg_color);
|
|
27915
|
-
const colorTab = (0,
|
|
27928
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27916
27929
|
if (!currentElement) {
|
|
27917
27930
|
editor.execCommand('forecolor', false, value);
|
|
27918
27931
|
}
|
|
@@ -27936,7 +27949,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27936
27949
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
27937
27950
|
tabs = tabs.reverse();
|
|
27938
27951
|
}
|
|
27939
|
-
return (0,
|
|
27952
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
27940
27953
|
},
|
|
27941
27954
|
exec(jodit, current, { button }) {
|
|
27942
27955
|
const mode = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode'), color = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color');
|
|
@@ -27975,10 +27988,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27975
27988
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
27976
27989
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
27977
27990
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
27978
|
-
/* harmony import */ var
|
|
27979
|
-
/* harmony import */ var
|
|
27980
|
-
/* harmony import */ var
|
|
27981
|
-
/* harmony import */ var
|
|
27991
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
27992
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3843);
|
|
27993
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
27994
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94628);
|
|
27982
27995
|
/*!
|
|
27983
27996
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27984
27997
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28036,7 +28049,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28036
28049
|
}
|
|
28037
28050
|
return result;
|
|
28038
28051
|
};
|
|
28039
|
-
|
|
28052
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28040
28053
|
exec: (editor, current, { button }) => {
|
|
28041
28054
|
if (!current) {
|
|
28042
28055
|
return;
|
|
@@ -28086,10 +28099,10 @@ function copyFormat(editor) {
|
|
|
28086
28099
|
name: 'copyformat',
|
|
28087
28100
|
group: 'clipboard'
|
|
28088
28101
|
});
|
|
28089
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28102
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28090
28103
|
}
|
|
28091
28104
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28092
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28105
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28093
28106
|
|
|
28094
28107
|
|
|
28095
28108
|
/***/ }),
|
|
@@ -29897,8 +29910,8 @@ function wrapText(fake, jodit) {
|
|
|
29897
29910
|
/* unused harmony export file */
|
|
29898
29911
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
29899
29912
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
29900
|
-
/* harmony import */ var
|
|
29901
|
-
/* harmony import */ var
|
|
29913
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
29914
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16116);
|
|
29902
29915
|
/*!
|
|
29903
29916
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29904
29917
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29908,7 +29921,7 @@ function wrapText(fake, jodit) {
|
|
|
29908
29921
|
|
|
29909
29922
|
|
|
29910
29923
|
|
|
29911
|
-
|
|
29924
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
29912
29925
|
popup: (editor, current, close) => {
|
|
29913
29926
|
const insert = (url, title = '') => {
|
|
29914
29927
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -29921,7 +29934,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
29921
29934
|
? current
|
|
29922
29935
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
29923
29936
|
}
|
|
29924
|
-
return (0,
|
|
29937
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
29925
29938
|
filebrowser: (data) => {
|
|
29926
29939
|
data.files &&
|
|
29927
29940
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30044,11 +30057,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30044
30057
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59101);
|
|
30045
30058
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
30046
30059
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30047
|
-
/* harmony import */ var
|
|
30048
|
-
/* harmony import */ var
|
|
30049
|
-
/* harmony import */ var
|
|
30050
|
-
/* harmony import */ var
|
|
30051
|
-
/* harmony import */ var
|
|
30060
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30061
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48842);
|
|
30062
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30063
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25501);
|
|
30064
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30052
30065
|
/*!
|
|
30053
30066
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30054
30067
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30064,9 +30077,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30064
30077
|
/**
|
|
30065
30078
|
* Default font-size points
|
|
30066
30079
|
*/
|
|
30067
|
-
|
|
30068
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30069
|
-
|
|
30080
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30081
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (_icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default())).set('fontsize', (_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
30082
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30070
30083
|
command: 'fontsize',
|
|
30071
30084
|
data: {
|
|
30072
30085
|
cssRule: 'font-size',
|
|
@@ -30122,8 +30135,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
30122
30135
|
return keySet.has(normalize(value.toString()));
|
|
30123
30136
|
}
|
|
30124
30137
|
};
|
|
30125
|
-
|
|
30126
|
-
...
|
|
30138
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = {
|
|
30139
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize,
|
|
30127
30140
|
command: 'fontname',
|
|
30128
30141
|
textTemplate: (j, value) => {
|
|
30129
30142
|
const [first] = value.split(',');
|
|
@@ -30233,11 +30246,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30233
30246
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30234
30247
|
|
|
30235
30248
|
"use strict";
|
|
30236
|
-
/* harmony import */ var
|
|
30249
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
30250
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
30237
30251
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
30238
|
-
/* harmony import */ var
|
|
30239
|
-
/* harmony import */ var
|
|
30240
|
-
/* harmony import */ var
|
|
30252
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30253
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29348);
|
|
30254
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30241
30255
|
/*!
|
|
30242
30256
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30243
30257
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30247,12 +30261,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30247
30261
|
|
|
30248
30262
|
|
|
30249
30263
|
|
|
30250
|
-
|
|
30251
|
-
|
|
30264
|
+
|
|
30265
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
30266
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
30252
30267
|
command: 'formatBlock',
|
|
30253
30268
|
value(editor, button) {
|
|
30254
30269
|
const control = button.control, current = editor.s.current();
|
|
30255
|
-
const currentBox =
|
|
30270
|
+
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
30256
30271
|
return currentBox?.nodeName.toLowerCase() ?? control.data?.currentValue;
|
|
30257
30272
|
},
|
|
30258
30273
|
update(editor, button) {
|
|
@@ -30261,7 +30276,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30261
30276
|
return false;
|
|
30262
30277
|
}
|
|
30263
30278
|
const currentValue = button.state.value, list = control.list;
|
|
30264
|
-
if (list && list[currentValue.toString()]) {
|
|
30279
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
30265
30280
|
if (editor.o.textIcons) {
|
|
30266
30281
|
button.state.text = list[currentValue.toString()].toString();
|
|
30267
30282
|
}
|
|
@@ -30285,7 +30300,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30285
30300
|
},
|
|
30286
30301
|
isActive: (editor, button) => {
|
|
30287
30302
|
return (button.state.value !== editor.o.enter &&
|
|
30288
|
-
|
|
30303
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
30304
|
+
Boolean(button.control.list[button.state.value]));
|
|
30289
30305
|
},
|
|
30290
30306
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
30291
30307
|
tooltip: 'Insert format block'
|
|
@@ -30335,11 +30351,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30335
30351
|
"use strict";
|
|
30336
30352
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
30337
30353
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
30338
|
-
/* harmony import */ var
|
|
30339
|
-
/* harmony import */ var
|
|
30340
|
-
/* harmony import */ var
|
|
30341
|
-
/* harmony import */ var
|
|
30342
|
-
/* harmony import */ var
|
|
30354
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30355
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24772);
|
|
30356
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30357
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66547);
|
|
30358
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30343
30359
|
/*!
|
|
30344
30360
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30345
30361
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30351,10 +30367,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30351
30367
|
|
|
30352
30368
|
|
|
30353
30369
|
|
|
30354
|
-
|
|
30355
|
-
|
|
30356
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
30357
|
-
|
|
30370
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
30371
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
30372
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default())).set('shrink', (_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
30373
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
30358
30374
|
exec: (editor) => {
|
|
30359
30375
|
editor.toggleFullSize();
|
|
30360
30376
|
},
|
|
@@ -30680,9 +30696,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30680
30696
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
30681
30697
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
30682
30698
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30683
|
-
/* harmony import */ var
|
|
30684
|
-
/* harmony import */ var
|
|
30685
|
-
/* harmony import */ var
|
|
30699
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30700
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(89097);
|
|
30701
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30686
30702
|
/*!
|
|
30687
30703
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30688
30704
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30693,8 +30709,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30693
30709
|
|
|
30694
30710
|
|
|
30695
30711
|
|
|
30696
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
30697
|
-
|
|
30712
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
30713
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
30698
30714
|
command: 'insertHorizontalRule',
|
|
30699
30715
|
tags: ['hr'],
|
|
30700
30716
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -31171,6 +31187,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31171
31187
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31172
31188
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31173
31189
|
*/
|
|
31190
|
+
/**
|
|
31191
|
+
* @module plugins/image-properties
|
|
31192
|
+
*/
|
|
31174
31193
|
|
|
31175
31194
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31176
31195
|
dialogWidth: 600,
|
|
@@ -32671,10 +32690,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32671
32690
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
32672
32691
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
32673
32692
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
32674
|
-
/* harmony import */ var
|
|
32675
|
-
/* harmony import */ var
|
|
32676
|
-
/* harmony import */ var
|
|
32677
|
-
/* harmony import */ var
|
|
32693
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
32694
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
32695
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(64831);
|
|
32696
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
32678
32697
|
/*!
|
|
32679
32698
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32680
32699
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32687,8 +32706,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32687
32706
|
|
|
32688
32707
|
|
|
32689
32708
|
|
|
32690
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
32691
|
-
|
|
32709
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
32710
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
32692
32711
|
popup: (editor, current, close) => {
|
|
32693
32712
|
let sourceImage = null;
|
|
32694
32713
|
if (current &&
|
|
@@ -32700,7 +32719,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
32700
32719
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
32701
32720
|
}
|
|
32702
32721
|
editor.s.save();
|
|
32703
|
-
return (0,
|
|
32722
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
32704
32723
|
filebrowser: (data) => {
|
|
32705
32724
|
editor.s.restore();
|
|
32706
32725
|
data.files &&
|
|
@@ -32743,12 +32762,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32743
32762
|
"use strict";
|
|
32744
32763
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
32745
32764
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
32746
|
-
/* harmony import */ var
|
|
32747
|
-
/* harmony import */ var
|
|
32748
|
-
/* harmony import */ var
|
|
32749
|
-
/* harmony import */ var
|
|
32750
|
-
/* harmony import */ var
|
|
32751
|
-
/* harmony import */ var
|
|
32765
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32766
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67176);
|
|
32767
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32768
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14017);
|
|
32769
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32770
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3392);
|
|
32752
32771
|
/*!
|
|
32753
32772
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32754
32773
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32760,17 +32779,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32760
32779
|
|
|
32761
32780
|
|
|
32762
32781
|
|
|
32763
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
32764
|
-
|
|
32782
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default())).set('outdent', (_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
32783
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
32765
32784
|
tooltip: 'Increase Indent'
|
|
32766
32785
|
};
|
|
32767
|
-
|
|
32786
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
32768
32787
|
isDisabled: (editor) => {
|
|
32769
32788
|
const current = editor.s.current();
|
|
32770
32789
|
if (current) {
|
|
32771
32790
|
const currentBox = jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
32772
32791
|
if (currentBox) {
|
|
32773
|
-
const arrow = (0,
|
|
32792
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
32774
32793
|
return (!currentBox.style[arrow] ||
|
|
32775
32794
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
32776
32795
|
}
|
|
@@ -32779,7 +32798,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
32779
32798
|
},
|
|
32780
32799
|
tooltip: 'Decrease Indent'
|
|
32781
32800
|
};
|
|
32782
|
-
|
|
32801
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
32783
32802
|
|
|
32784
32803
|
|
|
32785
32804
|
/***/ }),
|
|
@@ -33040,12 +33059,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33040
33059
|
|
|
33041
33060
|
"use strict";
|
|
33042
33061
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
33043
|
-
/* harmony import */ var
|
|
33044
|
-
/* harmony import */ var
|
|
33045
|
-
/* harmony import */ var
|
|
33046
|
-
/* harmony import */ var
|
|
33062
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
33063
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97836);
|
|
33064
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82558);
|
|
33065
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6295);
|
|
33066
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(26396);
|
|
33047
33067
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(58540);
|
|
33048
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
33049
33068
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38681);
|
|
33050
33069
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33051
33070
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(64637);
|
|
@@ -33079,10 +33098,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33079
33098
|
|
|
33080
33099
|
|
|
33081
33100
|
|
|
33082
|
-
|
|
33083
|
-
|
|
33084
|
-
|
|
33085
|
-
|
|
33101
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33102
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33103
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33104
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33086
33105
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33087
33106
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33088
33107
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33090,14 +33109,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33090
33109
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33091
33110
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33092
33111
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33093
|
-
|
|
33094
|
-
a:
|
|
33095
|
-
img:
|
|
33096
|
-
cells:
|
|
33112
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
33113
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
33114
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
33115
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33097
33116
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
33098
|
-
jodit:
|
|
33099
|
-
iframe:
|
|
33100
|
-
'jodit-media':
|
|
33117
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33118
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33119
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33101
33120
|
selection: [
|
|
33102
33121
|
'bold',
|
|
33103
33122
|
'underline',
|
|
@@ -33709,12 +33728,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33709
33728
|
/* unused harmony export justify */
|
|
33710
33729
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
33711
33730
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
33712
|
-
/* harmony import */ var
|
|
33713
|
-
/* harmony import */ var
|
|
33714
|
-
/* harmony import */ var
|
|
33715
|
-
/* harmony import */ var
|
|
33716
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33731
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
33732
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40080);
|
|
33733
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38322);
|
|
33734
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
33717
33735
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
33736
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80515);
|
|
33737
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33718
33738
|
/*!
|
|
33719
33739
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33720
33740
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33727,7 +33747,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33727
33747
|
|
|
33728
33748
|
|
|
33729
33749
|
|
|
33730
|
-
|
|
33750
|
+
|
|
33751
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33731
33752
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
33732
33753
|
name: 'left',
|
|
33733
33754
|
tooltip: 'Align',
|
|
@@ -33736,22 +33757,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33736
33757
|
if (current) {
|
|
33737
33758
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
33738
33759
|
editor.editor;
|
|
33739
|
-
let currentValue = (0,
|
|
33760
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
33740
33761
|
if (control.defaultValue &&
|
|
33741
33762
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
33742
33763
|
currentValue = 'left';
|
|
33743
33764
|
}
|
|
33744
|
-
|
|
33745
|
-
|
|
33746
|
-
|
|
33747
|
-
|
|
33765
|
+
const { list, data } = control;
|
|
33766
|
+
if (data &&
|
|
33767
|
+
data.currentValue !== currentValue &&
|
|
33768
|
+
list &&
|
|
33769
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
33770
|
+
? list[currentValue]
|
|
33771
|
+
: list.includes(currentValue))) {
|
|
33748
33772
|
if (editor.o.textIcons || control.component === 'select') {
|
|
33749
33773
|
button.state.text = currentValue;
|
|
33750
33774
|
}
|
|
33751
33775
|
else {
|
|
33752
33776
|
button.state.icon.name = currentValue;
|
|
33753
33777
|
}
|
|
33754
|
-
|
|
33778
|
+
data.currentValue = currentValue;
|
|
33755
33779
|
}
|
|
33756
33780
|
}
|
|
33757
33781
|
},
|
|
@@ -33762,7 +33786,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33762
33786
|
}
|
|
33763
33787
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
33764
33788
|
editor.editor;
|
|
33765
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
33789
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
33766
33790
|
},
|
|
33767
33791
|
defaultValue: ['left', 'start', 'inherit'],
|
|
33768
33792
|
data: {
|
|
@@ -33816,7 +33840,7 @@ function justify(editor) {
|
|
|
33816
33840
|
if (!currentBox) {
|
|
33817
33841
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
33818
33842
|
}
|
|
33819
|
-
(0,
|
|
33843
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
33820
33844
|
});
|
|
33821
33845
|
return false;
|
|
33822
33846
|
};
|
|
@@ -34027,9 +34051,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34027
34051
|
"use strict";
|
|
34028
34052
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65147);
|
|
34029
34053
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
34030
|
-
/* harmony import */ var
|
|
34031
|
-
/* harmony import */ var
|
|
34032
|
-
/* harmony import */ var
|
|
34054
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34055
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(223);
|
|
34056
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34033
34057
|
/*!
|
|
34034
34058
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34035
34059
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34039,9 +34063,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34039
34063
|
|
|
34040
34064
|
|
|
34041
34065
|
|
|
34042
|
-
|
|
34043
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34044
|
-
|
|
34066
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34067
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34068
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34045
34069
|
command: 'applyLineHeight',
|
|
34046
34070
|
tags: ['ol'],
|
|
34047
34071
|
tooltip: 'Line height',
|
|
@@ -34606,12 +34630,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34606
34630
|
"use strict";
|
|
34607
34631
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
34608
34632
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
34609
|
-
/* harmony import */ var
|
|
34610
|
-
/* harmony import */ var
|
|
34611
|
-
/* harmony import */ var
|
|
34612
|
-
/* harmony import */ var
|
|
34613
|
-
/* harmony import */ var
|
|
34614
|
-
/* harmony import */ var
|
|
34633
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34634
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95032);
|
|
34635
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34636
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73533);
|
|
34637
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34638
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
|
|
34615
34639
|
/*!
|
|
34616
34640
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34617
34641
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34623,8 +34647,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34623
34647
|
|
|
34624
34648
|
|
|
34625
34649
|
|
|
34626
|
-
|
|
34627
|
-
formTemplate:
|
|
34650
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
34651
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
34628
34652
|
followOnDblClick: false,
|
|
34629
34653
|
processVideoLink: true,
|
|
34630
34654
|
processPastedLink: true,
|
|
@@ -34636,8 +34660,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
34636
34660
|
selectOptionsClassName: [],
|
|
34637
34661
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
34638
34662
|
};
|
|
34639
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
34640
|
-
|
|
34663
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (_icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default())).set('unlink', (_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
34664
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
34641
34665
|
exec: (editor, current) => {
|
|
34642
34666
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
34643
34667
|
if (anchor) {
|
|
@@ -34648,7 +34672,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
34648
34672
|
},
|
|
34649
34673
|
tooltip: 'Unlink'
|
|
34650
34674
|
};
|
|
34651
|
-
|
|
34675
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
34652
34676
|
isActive: (editor) => {
|
|
34653
34677
|
const current = editor.s.current();
|
|
34654
34678
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -35192,9 +35216,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35192
35216
|
"use strict";
|
|
35193
35217
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
35194
35218
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
35195
|
-
/* harmony import */ var
|
|
35196
|
-
/* harmony import */ var
|
|
35197
|
-
/* harmony import */ var
|
|
35219
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35220
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97394);
|
|
35221
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8809);
|
|
35198
35222
|
/*!
|
|
35199
35223
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35200
35224
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35205,9 +35229,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35205
35229
|
|
|
35206
35230
|
|
|
35207
35231
|
|
|
35208
|
-
|
|
35209
|
-
|
|
35210
|
-
|
|
35232
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
35233
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
35234
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
35211
35235
|
{
|
|
35212
35236
|
group: 'font-style',
|
|
35213
35237
|
buttons: []
|
|
@@ -35254,7 +35278,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
35254
35278
|
'|',
|
|
35255
35279
|
'dots'
|
|
35256
35280
|
];
|
|
35257
|
-
|
|
35281
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
35258
35282
|
{
|
|
35259
35283
|
group: 'font-style',
|
|
35260
35284
|
buttons: []
|
|
@@ -35289,7 +35313,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
35289
35313
|
'|',
|
|
35290
35314
|
'dots'
|
|
35291
35315
|
];
|
|
35292
|
-
|
|
35316
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
35293
35317
|
{
|
|
35294
35318
|
group: 'font-style',
|
|
35295
35319
|
buttons: []
|
|
@@ -35310,16 +35334,16 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
35310
35334
|
'---',
|
|
35311
35335
|
'dots'
|
|
35312
35336
|
];
|
|
35313
|
-
|
|
35337
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
35314
35338
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
35315
35339
|
popup: (editor, current, close, button) => {
|
|
35316
35340
|
let store = button.control.data;
|
|
35317
35341
|
if (store === undefined) {
|
|
35318
35342
|
store = {
|
|
35319
|
-
toolbar: (0,
|
|
35343
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
35320
35344
|
rebuild: () => {
|
|
35321
35345
|
if (button) {
|
|
35322
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
35346
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
35323
35347
|
if (buttons && store) {
|
|
35324
35348
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
35325
35349
|
const w = editor.toolbar?.firstButton?.container
|
|
@@ -35430,11 +35454,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
35430
35454
|
"use strict";
|
|
35431
35455
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(72197);
|
|
35432
35456
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
35433
|
-
/* harmony import */ var
|
|
35434
|
-
/* harmony import */ var
|
|
35435
|
-
/* harmony import */ var
|
|
35436
|
-
/* harmony import */ var
|
|
35437
|
-
/* harmony import */ var
|
|
35457
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35458
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40037);
|
|
35459
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35460
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(83207);
|
|
35461
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35438
35462
|
/*!
|
|
35439
35463
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35440
35464
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35451,8 +35475,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
35451
35475
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
35452
35476
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
35453
35477
|
};
|
|
35454
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
35455
|
-
|
|
35478
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default())).set('ul', (_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
35479
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
35456
35480
|
command: 'insertUnorderedList',
|
|
35457
35481
|
tags: ['ul'],
|
|
35458
35482
|
tooltip: 'Insert Unordered List',
|
|
@@ -35464,7 +35488,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
35464
35488
|
},
|
|
35465
35489
|
exec: memoExec
|
|
35466
35490
|
};
|
|
35467
|
-
|
|
35491
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
35468
35492
|
command: 'insertOrderedList',
|
|
35469
35493
|
tags: ['ol'],
|
|
35470
35494
|
tooltip: 'Insert Ordered List',
|
|
@@ -35838,8 +35862,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35838
35862
|
|
|
35839
35863
|
"use strict";
|
|
35840
35864
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
35841
|
-
/* harmony import */ var
|
|
35842
|
-
/* harmony import */ var
|
|
35865
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
35866
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90823);
|
|
35843
35867
|
/*!
|
|
35844
35868
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35845
35869
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35848,19 +35872,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35848
35872
|
|
|
35849
35873
|
|
|
35850
35874
|
|
|
35851
|
-
|
|
35852
|
-
|
|
35853
|
-
|
|
35854
|
-
|
|
35855
|
-
|
|
35875
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
35876
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
35877
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
35878
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
35879
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
35856
35880
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
35857
35881
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
35858
35882
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
35859
35883
|
];
|
|
35860
|
-
|
|
35861
|
-
|
|
35884
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
35885
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
35862
35886
|
const psKey = 'pasteStorage';
|
|
35863
|
-
|
|
35887
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
35864
35888
|
tooltip: 'Paste from clipboard',
|
|
35865
35889
|
async exec(editor, _, { control }) {
|
|
35866
35890
|
if (control.name === psKey) {
|
|
@@ -35908,7 +35932,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
35908
35932
|
!error && editor.e.fire('afterPaste');
|
|
35909
35933
|
}
|
|
35910
35934
|
else if (text.length) {
|
|
35911
|
-
(0,
|
|
35935
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
35912
35936
|
editor.e.fire('afterPaste');
|
|
35913
35937
|
}
|
|
35914
35938
|
else {
|
|
@@ -36632,10 +36656,10 @@ function generateCriticalCSS(jodit) {
|
|
|
36632
36656
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(17527);
|
|
36633
36657
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98434);
|
|
36634
36658
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
36635
|
-
/* harmony import */ var
|
|
36636
|
-
/* harmony import */ var
|
|
36637
|
-
/* harmony import */ var
|
|
36638
|
-
/* harmony import */ var
|
|
36659
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
36660
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11131);
|
|
36661
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(59827);
|
|
36662
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
36639
36663
|
/*!
|
|
36640
36664
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36641
36665
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36650,8 +36674,8 @@ function generateCriticalCSS(jodit) {
|
|
|
36650
36674
|
|
|
36651
36675
|
|
|
36652
36676
|
|
|
36653
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
36654
|
-
|
|
36677
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
36678
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
36655
36679
|
exec: (editor) => {
|
|
36656
36680
|
const iframe = editor.create.element('iframe');
|
|
36657
36681
|
Object.assign(iframe.style, {
|
|
@@ -36662,7 +36686,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36662
36686
|
height: 0,
|
|
36663
36687
|
border: 0
|
|
36664
36688
|
});
|
|
36665
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
36689
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
36666
36690
|
const afterFinishPrint = () => {
|
|
36667
36691
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
36668
36692
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -36680,7 +36704,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36680
36704
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
36681
36705
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
36682
36706
|
'"><head><title></title></head><style>' +
|
|
36683
|
-
(0,
|
|
36707
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
36684
36708
|
'</style><body></body></html>');
|
|
36685
36709
|
myWindow.document.close();
|
|
36686
36710
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -36718,11 +36742,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36718
36742
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
36719
36743
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29866);
|
|
36720
36744
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
36721
|
-
/* harmony import */ var
|
|
36722
|
-
/* harmony import */ var
|
|
36723
|
-
/* harmony import */ var
|
|
36724
|
-
/* harmony import */ var
|
|
36725
|
-
/* harmony import */ var
|
|
36745
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
36746
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34045);
|
|
36747
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
36748
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(39199);
|
|
36749
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
36726
36750
|
/*!
|
|
36727
36751
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36728
36752
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36735,13 +36759,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36735
36759
|
|
|
36736
36760
|
|
|
36737
36761
|
|
|
36738
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
36739
|
-
|
|
36762
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default())).set('undo', (_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
36763
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
36740
36764
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36741
36765
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
36742
36766
|
tooltip: 'Redo'
|
|
36743
36767
|
};
|
|
36744
|
-
|
|
36768
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
36745
36769
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36746
36770
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
36747
36771
|
tooltip: 'Undo'
|
|
@@ -37760,9 +37784,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37760
37784
|
|
|
37761
37785
|
"use strict";
|
|
37762
37786
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
37763
|
-
/* harmony import */ var
|
|
37764
|
-
/* harmony import */ var
|
|
37765
|
-
/* harmony import */ var
|
|
37787
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
37788
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21917);
|
|
37789
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
37766
37790
|
/*!
|
|
37767
37791
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37768
37792
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37772,14 +37796,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37772
37796
|
|
|
37773
37797
|
|
|
37774
37798
|
|
|
37775
|
-
|
|
37776
|
-
|
|
37799
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
37800
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
37777
37801
|
lazyIdleTimeout: 0,
|
|
37778
37802
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
37779
37803
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
37780
37804
|
};
|
|
37781
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
37782
|
-
|
|
37805
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
37806
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
37783
37807
|
tooltip: 'Find',
|
|
37784
37808
|
icon: 'search',
|
|
37785
37809
|
exec(jodit, _, { control }) {
|
|
@@ -39386,9 +39410,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39386
39410
|
"use strict";
|
|
39387
39411
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
39388
39412
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
39389
|
-
/* harmony import */ var
|
|
39390
|
-
/* harmony import */ var
|
|
39391
|
-
/* harmony import */ var
|
|
39413
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
39414
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9103);
|
|
39415
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
39392
39416
|
/*!
|
|
39393
39417
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39394
39418
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39398,9 +39422,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39398
39422
|
|
|
39399
39423
|
|
|
39400
39424
|
|
|
39401
|
-
|
|
39402
|
-
|
|
39403
|
-
|
|
39425
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
39426
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
39427
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
39404
39428
|
/**
|
|
39405
39429
|
* Show gutter
|
|
39406
39430
|
*/
|
|
@@ -39422,15 +39446,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
39422
39446
|
*/
|
|
39423
39447
|
highlightActiveLine: true
|
|
39424
39448
|
};
|
|
39425
|
-
|
|
39449
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
39426
39450
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
39427
39451
|
];
|
|
39428
|
-
|
|
39452
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
39429
39453
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
39430
39454
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
39431
39455
|
];
|
|
39432
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
39433
|
-
|
|
39456
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
39457
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
39434
39458
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
39435
39459
|
exec: (editor) => {
|
|
39436
39460
|
editor.toggleMode();
|
|
@@ -40225,9 +40249,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40225
40249
|
|
|
40226
40250
|
"use strict";
|
|
40227
40251
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
40228
|
-
/* harmony import */ var
|
|
40229
|
-
/* harmony import */ var
|
|
40230
|
-
/* harmony import */ var
|
|
40252
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
40253
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49989);
|
|
40254
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
40231
40255
|
/*!
|
|
40232
40256
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40233
40257
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40236,13 +40260,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40236
40260
|
|
|
40237
40261
|
|
|
40238
40262
|
|
|
40239
|
-
|
|
40240
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
40241
|
-
|
|
40263
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
40264
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
40265
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
40242
40266
|
isActive(e) {
|
|
40243
40267
|
return e.o.spellcheck;
|
|
40244
40268
|
},
|
|
40245
|
-
icon: (
|
|
40269
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
40246
40270
|
name: 'spellcheck',
|
|
40247
40271
|
command: 'toggleSpellcheck',
|
|
40248
40272
|
tooltip: 'Spellcheck'
|
|
@@ -41017,9 +41041,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41017
41041
|
|
|
41018
41042
|
"use strict";
|
|
41019
41043
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
41020
|
-
/* harmony import */ var
|
|
41021
|
-
/* harmony import */ var
|
|
41022
|
-
/* harmony import */ var
|
|
41044
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
41045
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81875);
|
|
41046
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41023
41047
|
/*!
|
|
41024
41048
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41025
41049
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41028,8 +41052,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41028
41052
|
|
|
41029
41053
|
|
|
41030
41054
|
|
|
41031
|
-
|
|
41032
|
-
|
|
41055
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
41056
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
41033
41057
|
'!',
|
|
41034
41058
|
'"',
|
|
41035
41059
|
'#',
|
|
@@ -41241,8 +41265,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
41241
41265
|
'♦',
|
|
41242
41266
|
'≈'
|
|
41243
41267
|
];
|
|
41244
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
41245
|
-
|
|
41268
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
41269
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
41246
41270
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
41247
41271
|
tooltip: 'Insert Special Character',
|
|
41248
41272
|
popup: (editor, current, close) => {
|
|
@@ -42231,9 +42255,9 @@ function findCell(editor, key) {
|
|
|
42231
42255
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
42232
42256
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97369);
|
|
42233
42257
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
42234
|
-
/* harmony import */ var
|
|
42235
|
-
/* harmony import */ var
|
|
42236
|
-
/* harmony import */ var
|
|
42258
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
42259
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67447);
|
|
42260
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
42237
42261
|
/*!
|
|
42238
42262
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42239
42263
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42245,12 +42269,12 @@ function findCell(editor, key) {
|
|
|
42245
42269
|
|
|
42246
42270
|
|
|
42247
42271
|
|
|
42248
|
-
|
|
42272
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
42249
42273
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
42250
42274
|
useExtraClassesOptions: false
|
|
42251
42275
|
};
|
|
42252
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
42253
|
-
|
|
42276
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
42277
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
42254
42278
|
data: {
|
|
42255
42279
|
cols: 10,
|
|
42256
42280
|
rows: 10,
|
|
@@ -42417,10 +42441,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
42417
42441
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35265);
|
|
42418
42442
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20703);
|
|
42419
42443
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
42420
|
-
/* harmony import */ var
|
|
42421
|
-
/* harmony import */ var
|
|
42422
|
-
/* harmony import */ var
|
|
42423
|
-
/* harmony import */ var
|
|
42444
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
42445
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
42446
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36339);
|
|
42447
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
42424
42448
|
/*!
|
|
42425
42449
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42426
42450
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42433,8 +42457,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
42433
42457
|
|
|
42434
42458
|
|
|
42435
42459
|
|
|
42436
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
42437
|
-
|
|
42460
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
42461
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
42438
42462
|
popup: (editor, current, close) => {
|
|
42439
42463
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
42440
42464
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -42481,7 +42505,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
42481
42505
|
formCode.onSubmit(data => {
|
|
42482
42506
|
insertCode(data.code);
|
|
42483
42507
|
});
|
|
42484
|
-
return (0,
|
|
42508
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
42485
42509
|
},
|
|
42486
42510
|
tags: ['iframe'],
|
|
42487
42511
|
tooltip: 'Insert youtube/vimeo video'
|